[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Request for review: keychain



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 dalloz de>
Key fingerprint = CD40 0A91 7814 C1E4 5940  8E0E 1FD5 C316 866E D681

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]