Request for review: keychain
Alexander Dalloz
alex at dalloz.de
Tue Jul 12 03:38:33 UTC 2005
Am Di, den 12.07.2005 schrieb Ignacio Vazquez-Abrams um 4:49:
> > I promote keychain as a very handy tool which offers the nice
> > possibility to use passphrase protected keys through cronjobs, i.e. for
> > scheduled, unattended backup jobs.
> >
> > http://www.gentoo.org/proj/en/keychain/
>
> Would this warrant an entry in /etc/profile.d to load it on login?
You are right, keychain does not get active just by installation. "man 1
keychain" contains examples on how to use it in profile or rc files with
different shells. To give an example, this is what I use with bash:
$ cat ~/.bash_profile
# .bash_profile
# start keychain and point it to the private keys
# that we'd like to cache
KEY="`ls ${HOME}/.ssh/*dsa`"
/usr/bin/keychain ${KEY}
if [ -f ${HOME}/.keychain/${HOSTNAME}-sh ]; then
. ${HOME}/.keychain/${HOSTNAME}-sh > /dev/null
else
echo "there is a problem with keychain"
fi
Logging in as the user I am asked for the passphrase of each DSA key. I
don't think such an activation should be done for all users by rpm
package installation (if that is the question behind your comment).
Alexander
--
1024D/866ED681 2005-07-11 Alexander Dalloz (Fedora Project) <alex at dalloz.de>
Key fingerprint = CD40 0A91 7814 C1E4 5940 8E0E 1FD5 C316 866E D681
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050712/74eea1b6/attachment.sig>
More information about the fedora-extras-list
mailing list