On 2/23/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > 2007/2/23, Lucas C. Villa Real <[EMAIL PROTECTED]>: > > CVSROOT: /sources/goboscripts > > Module name: tools > > Changes by: Lucas C. Villa Real <lucasvr> 07/02/23 16:57:30 > > > > Modified files: > > Scripts/Functions: File > > > > Log message: > > Added support for reading the passphrase from a file. Not that > > secure, but handy when signing packages in batch mode. > > > Please no! Use gpg-agent instead. I've even made a recipe and package > for it, for those that still use GnuPG 1.4.x > For running one copy of gpg-agent and make it reachable from all shell > put this in your .zshrc: > > --->%--------------------------- > if [ ! "$(ps aux | sed '/grep/d' | grep $(whoami) | grep "gpg-agent")" ] > then > gpg-agent --daemon -s --write-env-file ~/.gnupg/gpg-agent.env > fi > > export $(cat ~/.gnupg/gpg-agent.env)
Ah, thanks. I wasn't aware of gpg-agent. I took a look at the man page for gpg and there was no references to gpg-agent near the explanation of --passphrase-file. I'm reverting this now. -- Lucas powered by /dev/dsp _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel