![]() I'm not sure if: default-cache-ttl 31536000Īre the options I'm looking for to store between reboots There's sadly no man entry for gpg-agent. I understand that this might decrease security if my laptop was comprised, but this inconvenience would probably deter me from using gpg all together. ![]() I would like gpg to behave like ssh-agent wherein the passphrase is stored securely and remembered forever (even between sessions). The trouble is, when decrypting subsequent files, gpg-agent again prompts me for this passphrase.Ĭurrently, my passphrase is a really long string which is near impossible to type each time. This how-to explains a clear and step-by-step, 1-minute process to verify that a file in your possession was digitally signed by a particular GPG Secret Key and has been unmodified since the time of signing. Which prompted me to enter my private key passphrase. I successfully decrypted a file using: gpg -use-agent -output example.txt -decrypt example.gpg The -r (recipient) option must be followed by the email address of the person you’re sending the file to. The -armor option tells gpg to create an ASCII file. I added use-agent to my ~/.gnupg/gpg.conf and allow-preset-passphrase to ~/.gnupg/nf The -encrypt option tells gpg to encrypt the file, and the -sign option tells it to sign the file with your details. I recently got GPG setup on my Mac: brew install gpg Īnd generated a key pair with a passphrase.
0 Comments
Leave a Reply. |