CertDump: init at 2023-07-12
This commit is contained in:
parent
fb7115c76e
commit
6abb925f63
3 changed files with 75 additions and 0 deletions
45
pkgs/tools/security/CertDump/default.nix
Normal file
45
pkgs/tools/security/CertDump/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{ lib
|
||||||
|
, buildDotnetModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, dotnetCorePackages
|
||||||
|
, callPackage
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDotnetModule rec {
|
||||||
|
pname = "CertDump";
|
||||||
|
|
||||||
|
version = "unstable-2023-07-12";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "secana";
|
||||||
|
repo = "CertDump";
|
||||||
|
rev = "1300005115786b3c214d73fa506de2de06a62cbb";
|
||||||
|
sha256 = "sha256-VqKOoW4fAXr0MtY5rgWvRqay1dazF+ZpzJUHkDeXpPs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
projectFile = [ "CertDump.sln" ];
|
||||||
|
nugetDeps = ./deps.nix;
|
||||||
|
|
||||||
|
selfContainedBuild = true;
|
||||||
|
executables = [ "CertDump" ];
|
||||||
|
xBuildFiles = [ "CertDump/CertDump.csproj" ];
|
||||||
|
|
||||||
|
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
|
||||||
|
dotnet-sdk = dotnetCorePackages.sdk_7_0;
|
||||||
|
|
||||||
|
dotnetFlags = [
|
||||||
|
"-property:ImportByWildcardBeforeSolution=false"
|
||||||
|
"-property:GenerateAssemblyInfo=false"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Dump certificates from PE files in different formats";
|
||||||
|
homepage = "https://github.com/secana/CertDump";
|
||||||
|
longDescription = ''
|
||||||
|
Cross-Platform tool to dump the signing certificate from a Portable Executable (PE) file.
|
||||||
|
'';
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.baloo ];
|
||||||
|
platforms = with platforms; (linux ++ darwin);
|
||||||
|
};
|
||||||
|
}
|
28
pkgs/tools/security/CertDump/deps.nix
generated
Normal file
28
pkgs/tools/security/CertDump/deps.nix
generated
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# This file was automatically generated by passthru.fetch-deps.
|
||||||
|
# Please dont edit it manually, your changes might get overwritten!
|
||||||
|
|
||||||
|
{ fetchNuGet }: [
|
||||||
|
(fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; sha256 = "1sldkj8lakggn4hnyabjj1fppqh50fkdrr1k99d4gswpbk5kv582"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref"; version = "5.0.0"; sha256 = "0d7sjr89zwq0wxirf8la05hfalv9nhvlczg1c7a508k8aw79jvfg"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "5.0.17"; sha256 = "183xgqzlwd5lhacxdwcjl8vcq7r7xypv0hddps9k32mmmwf83d8h"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "5.0.17"; sha256 = "066fwdlssbv556zd9w1x87x1j8j4kafj9rxyy0692bssdb4gcyc8"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-x64"; version = "5.0.17"; sha256 = "1qvvqf8mmzzc7a7fhx324dprnbxhknr3qxspb2xhsn3yyg44xn2d"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "06hg5q1nbbqcz2s2pl8g941jmjzfl3x06hcpi8km4ikzvp25l5bd"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "5.0.17"; sha256 = "07v7vyqm556xr1ypkazfp6gh6drgf20zkwbhkpja8bwdcr6lphbb"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "5.0.17"; sha256 = "1lc2jhr4ikffi5ylyf8f6ya6k0hdj0wp1l0017grrwd4m5ajj4vv"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "5.0.17"; sha256 = "02g5w41ivrw3n6cy3l3ixhcl8bw1fsv4bzs2m34k9h5fqmliaf3c"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "5.0.0"; sha256 = "1p62khf9zk23lh91lvz7plv3g1nzmm3b5szqrcm6mb8w3sjk03wi"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "5.0.17"; sha256 = "16whaq82pj6fqa0vam3a0va9ly843aa1z12hza040vn6252kk9fq"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "5.0.17"; sha256 = "0jgcfs3jc98jfyaaamssznckbpnaygplk8pjsp6dswpansz5bnnq"; })
|
||||||
|
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "5.0.17"; sha256 = "1ph5kx18syinp8bpzw80bgq3njl65gwzws727xcmxnysgm7snmjp"; })
|
||||||
|
(fetchNuGet { pname = "PeNet"; version = "3.0.0"; sha256 = "1qbb970b4f6ymic1l7cy3kdkgy0605wpm0nyqa50mkzdq03c192j"; })
|
||||||
|
(fetchNuGet { pname = "PeNet.Asn1"; version = "2.0.1"; sha256 = "14nzz1w69bcxnc2yhfca4g5ahl53czfpbmbv32w0cf2mpssjk4na"; })
|
||||||
|
(fetchNuGet { pname = "runtime.linux-arm64.Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "0hpbb13459izw1c5qw7lh1sy5fbnmg7n8977jci5far584zbf3im"; })
|
||||||
|
(fetchNuGet { pname = "runtime.linux-x64.Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "0crf80nb3pw4wr83bvsx7f48i63f2l1b2zc18sny4xhqlvbcfick"; })
|
||||||
|
(fetchNuGet { pname = "runtime.osx-x64.Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "1370mahfnshdy63vlxbyqpbhmv5rby5azfbnyc72xb7zglf9aqcb"; })
|
||||||
|
(fetchNuGet { pname = "System.Buffers"; version = "4.5.1"; sha256 = "04kb1mdrlcixj9zh1xdi5as0k0qi8byr5mi3p3jcxx72qz93s2y3"; })
|
||||||
|
(fetchNuGet { pname = "System.Formats.Asn1"; version = "7.0.0"; sha256 = "1a14kgpqz4k7jhi7bs2gpgf67ym5wpj99203zxgwjypj7x47xhbq"; })
|
||||||
|
(fetchNuGet { pname = "System.Memory"; version = "4.5.5"; sha256 = "08jsfwimcarfzrhlyvjjid61j02irx6xsklf32rv57x2aaikvx0h"; })
|
||||||
|
(fetchNuGet { pname = "System.Security.Cryptography.Cng"; version = "5.0.0"; sha256 = "06hkx2za8jifpslkh491dfwzm5dxrsyxzj5lsc0achb6yzg4zqlw"; })
|
||||||
|
(fetchNuGet { pname = "System.Security.Cryptography.Pkcs"; version = "7.0.0"; sha256 = "0834gh4k84xbv73mk6s9djkksq3bd6m2k1ixincjnaawv0pyz7fw"; })
|
||||||
|
]
|
|
@ -6776,6 +6776,8 @@ with pkgs;
|
||||||
code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; };
|
code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; };
|
||||||
code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; };
|
code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; };
|
||||||
|
|
||||||
|
CertDump = callPackage ../tools/security/CertDump { };
|
||||||
|
|
||||||
certstrap = callPackage ../tools/security/certstrap { };
|
certstrap = callPackage ../tools/security/certstrap { };
|
||||||
|
|
||||||
cfssl = callPackage ../tools/security/cfssl { };
|
cfssl = callPackage ../tools/security/cfssl { };
|
||||||
|
|
Loading…
Reference in a new issue