Try getting pub key fetch right

This commit is contained in:
Hans Muendelein 2024-11-02 21:43:38 +01:00
parent 023588aaf3
commit 1a615e80ab
1 changed files with 3 additions and 1 deletions

View File

@ -19,8 +19,10 @@ pkgs.mkShell {
gpg-connect-agent reloadagent /bye gpg-connect-agent reloadagent /bye
# Import public key # 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 gpg --card-status
touch dummy touch dummy