Try do manage gpg dependencies

This commit is contained in:
Hans Muendelein 2024-11-02 21:36:03 +01:00
parent 06b78fbadf
commit 30069de16f
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,14 @@ pkgs.mkShell {
# Reload the gpg-agent to apply changes
gpg-connect-agent reloadagent /bye
# Import public key
curl $(gpg --card-status | grep URL | cut -d' ' -f6) | gpg --import
touch dummy
gpg -r hans --encrypt dummy
gpg --decrypt dummy.gpg
# Clone the repository
git clone ssh://git@git.cluster.gay:2222/hans/nix.git
'';