Add a converter from private ssh keys to age

This commit is contained in:
Janne Heß 2021-08-28 16:24:05 +02:00
parent 4568162629
commit 6c916c1f57
No known key found for this signature in database
GPG key ID: 69165158F05265DF
6 changed files with 62 additions and 8 deletions

View file

@ -11,7 +11,8 @@ in rec {
Also see https://github.com/Mic92/sops-nix/issues/98
'' pkgs.callPackage ./pkgs/sops-pgp-hook { };
sops-import-keys-hook = pkgs.callPackage ./pkgs/sops-import-keys-hook { };
sops-ssh-to-age = pkgs.callPackage ./pkgs/sops-ssh-to-age { inherit vendorSha256; };
ssh-pubkey-to-age = pkgs.callPackage ./pkgs/ssh-pubkey-to-age { inherit vendorSha256; };
ssh-privkey-to-age = pkgs.callPackage ./pkgs/ssh-privkey-to-age { inherit vendorSha256; };
inherit sops-install-secrets;
# backwards compatibility