Try getting pub key fetch right
This commit is contained in:
parent
023588aaf3
commit
1a615e80ab
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue