home contents changes options help subscribe edit

Depending on your GNU/Linux distribution, you can find precompiled packages:

You also need a pinentry program:

 aptitude install pinentry-gtk2
 echo "pinentry-program /usr/bin/pinentry" >> ~/.gnupg/gpg-agent.conf

Here is how to use gpg-agent in a simple way:

 gpg-agent --daemon > ~/.gpg-agent-info # start the daemon
 . ~/.gpg-agent-info # load settings (can be done from another terminal)
 gpg --sign -b --use-agent file.tar.gz # asked passphrase
 gpg --sign -b --use-agent file2.tar.gz # did not ask passphrase
 # ...
 killall gpg-agent # stop the daemon

See also UsingGnuArch for using gpg-agent when signing commits.




subject:
  ( 12 subscribers )