Merge pull request #136098 from Mic92/ssh-to-age

ssh-to-age: init at 1.0.1
This commit is contained in:
Jörg Thalheim 2021-09-24 13:15:15 +01:00 committed by GitHub
commit 1a6a4817e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -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 {