ssh-to-age: init at 1.0.1

This commit is contained in:
Jörg Thalheim 2021-08-29 14:07:24 +02:00
parent 89a906346d
commit 345fdc44b2
2 changed files with 33 additions and 0 deletions

View 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;
};
}

View file

@ -9059,6 +9059,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 {