Merge pull request #136098 from Mic92/ssh-to-age
ssh-to-age: init at 1.0.1
This commit is contained in:
commit
1a6a4817e8
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/security/ssh-to-age/default.nix
Normal file
31
pkgs/tools/security/ssh-to-age/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ssh-to-age";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "ssh-to-age";
|
||||
rev = version;
|
||||
sha256 = "sha256-ccwCHu6RlWqMnt5nBy54bVEzfE9/3PEL4C5LnYTtnwU=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-jiFPcdWnAk54RJv4mHB3A+5tqKzqitfsiRXYZLa3Gu0=";
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
go test ./...
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convert ssh private keys in ed25519 format to age keys";
|
||||
homepage = "https://github.com/Mic92/ssh-to-age";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -9209,6 +9209,8 @@ with pkgs;
|
|||
|
||||
ssh-chat = callPackage ../applications/networking/instant-messengers/ssh-chat { };
|
||||
|
||||
ssh-to-age = callPackage ../tools/security/ssh-to-age { };
|
||||
|
||||
ssh-to-pgp = callPackage ../tools/security/ssh-to-pgp { };
|
||||
|
||||
suricata = callPackage ../applications/networking/ids/suricata {
|
||||
|
|
Loading…
Reference in a new issue