This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

5pkgs.age-plugin-gpg: package and wire into pass

age-plugin-gpg lets a gpg key (via gpg-agent + keygrip) act as an age
recipient/identity, so adding the corresponding age1gpg1... line to
.age-recipients makes every passage secret encryptable to gpg as well.
Caveat: gpg keygrips end up as plaintext in the encrypted file.

+39
+38
5pkgs/age-plugin-gpg/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + pkg-config, 6 + nettle, 7 + }: 8 + rustPlatform.buildRustPackage (finalAttrs: { 9 + pname = "age-plugin-gpg"; 10 + version = "0.1.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "CertainLach"; 14 + repo = "age-plugin-gpg"; 15 + rev = "v${finalAttrs.version}"; 16 + hash = "sha256-HfCl+YAjKPNFtLAHjNyjlHhRxD85qZLWsfKzqORtj5U="; 17 + }; 18 + 19 + cargoLock = { 20 + lockFile = "${finalAttrs.src}/Cargo.lock"; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + pkg-config 25 + rustPlatform.bindgenHook 26 + ]; 27 + 28 + buildInputs = [ nettle ]; 29 + 30 + meta = { 31 + description = "Age plugin utilizing gpg-agent & keygrips as recipients/identities"; 32 + homepage = "https://github.com/CertainLach/age-plugin-gpg"; 33 + license = lib.licenses.mit; 34 + mainProgram = "age-plugin-gpg"; 35 + platforms = lib.platforms.unix; 36 + maintainers = [ ]; 37 + }; 38 + })
+1
tools/pass/flake-module.nix
··· 14 14 pkgs.age-plugin-fido2-hmac 15 15 pkgs.age-plugin-yubikey 16 16 pkgs.age-plugin-tpm 17 + self.packages.${system}.age-plugin-gpg 17 18 self.packages.${system}.pass-otp 18 19 self.packages.${system}.age-detect 19 20 ]