Savannah Administration - Savannah
Download Area - How to install and use gpg-agent?
Depending on your GNU/Linux distribution, you can find precompiled packages.
- Debian GNU/Linux and derivates (Ubuntu, Knoppix...): gnupg-agent (install with Synaptic,
apt-get
ordkpg
) - Gentoo GNU/Linux: gpg-agent (install with
emerge
) - RPM-based (RedHat, Fedora...): gnupg2 (install with
yum
,apt-get
for RPM orrpm
)
Here is how to use gpg-agent in a simple way:
eval `gpg-agent --daemon` # start the daemon 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
And here are some details on how I (Sylvain) manually compiled it on my old laptop running Red Hat GNU/Linux 7.3:
- First, I installed some dependencies. I installed them from source.
- gettext v0.14.1 (ftp://ftp.gnu.org/gnu/gettext/gettext-0.14.1.tar.gz)
Here is how I installed it. I will use a terser description in the rest of this document ('$' is the prompt):$ wget ftp://ftp.gnu.org/gnu/gettext/gettext-0.14.1.tar.gz $ tar zxf gettext-0.14.1.tar.gz $ cd gettext-0.14.1 $ ./configure --prefix=/usr && make $ make install # as root
I had to manually overwrite /bin/gettext:$ ln -fs /usr/bin/gettext /bin
Also, note that I used the /usr prefix, so as to overwrite the previous version. That way, ./configure will not detect the old version instead of the old one.
- libgpg-error-0.7 (ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-0.7.tar.gz)
- libgcrypt-1.1.94 (ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/libgcrypt-1.1.94.tar.gz)
- libassuan-0.6.6 (ftp://ftp.gnupg.org/gcrypt/alpha/libassuan/libassuan-0.6.6.tar.gz)
- libksba-0.9.7 (ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.7.tar.gz)
./configure && make && make install
- pth-1.4.0 (ftp://ftp.gnu.org/gnu/pth/pth-1.4.0.tar.gz)
./configure --prefix=/usr && make && make install
- gettext v0.14.1 (ftp://ftp.gnu.org/gnu/gettext/gettext-0.14.1.tar.gz)
- Then I compiled gpg-agent:
cvs -d:pserver:anoncvs@cvs.gnupg.org:/cvs/gnupg login # pass == anoncvs cvs -d:pserver:anoncvs@cvs.gnupg.org:/cvs/gnupg co -r V1-9-9 gnupg sh autogen.sh # maybe you will have to update your autotools ./configure make cd agent make install
- Then I compiled pinentry:
cvs -d:pserver:anoncvs@cvs.gnupg.org:/cvs/aegypten login # pass == anoncvs cvs -d:pserver:anoncvs@cvs.gnupg.org:/cvs/aegypten co pinentry sh autogen.sh ./configure && make && make install
- Last, I configured gpg-agent:
echo "default-cache-ttl 600" > ~/.gnupg/gpg-agent.conf # remembers the passphrase for 10mn (optional) echo "pinentry-program /usr/local/bin/pinentry-gtk" >> ~/.gnupg/gpg-agent.conf # uses the GTK mode, the ncurses mode did not work for me
Updated $Date: 2005/05/04 19:10:19 $
Other questions:
- CVS - How can I access a repository from behind a firewall or proxy?
- CVS - How can I import an existing repository?
- CVS - How can I import my project?
- CVS - How do I start using the repository?
- CVS - How to do anonymous access?
- CVS - Is it possible to receive an email for each commit?
- CVS - What is savannah.gni.org?
- Download Area - How do I add files?
- Download Area - ftp.gnu.org?
- Homepage - Are PHP and MySQL available?
- Homepage - How do I upload my homepage?
- Mail - How to reset list admin password?
- Mail - Is there a searchable list of mailing lists?
- Mail - Lost Mailman password?
- Mail - Where can I retreive mailing lists mboxes?
- Mail - Why do I not receive email from Savannah?
- Project - How do I add searchterms?
- Project - How do I set up a FAQ?
- Project - How to get it approved quickly?
- Project - Is there a way to clean it all?
- Project - What does it mean to become a GNU package?
- Project - What is the registration process?
- Project - What is the status of my project registration?
- Savannah - Are there some URL shortcuts?
- Savannah - Are there some delays on update?
- Savannah - Are there some places on internet to get more information?
- Savannah - Hey this is not valid HTML?
- Savannah - How do I get help?
- Savannah - Is there any restriction on cryptographic software?
- Savannah - Where can I find information regarding the TLS certificates?
- Savannah - Why chosing Savannah?
- User Account - How do I configure my SSH access?
- User Account - How do I use GPG?
- User Account - Lost password?
- User Account - Why log in?