From 1a615e80ab6ce7879f2523f38fe3b335d52a7fad Mon Sep 17 00:00:00 2001 From: Hans Muendelein Date: Sat, 2 Nov 2024 21:43:38 +0100 Subject: [PATCH] Try getting pub key fetch right --- shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 4ae76d6..5c1fc73 100644 --- a/shell.nix +++ b/shell.nix @@ -19,8 +19,10 @@ pkgs.mkShell { gpg-connect-agent reloadagent /bye # Import public key + export KEY_URL="$(gpg --card-status | grep URL | cut -d' ' -f6)" + echo $KEY_URL - curl $(gpg --card-status | grep URL | cut -d' ' -f6) | gpg --import + curl $KEY_URL | gpg --import gpg --card-status touch dummy