Jonas Karlsson 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")" ] ...
Just a note: one can use 'ps -C gpg-agent' instead of grepping it. which is better if the user runs a process called 'this-is-not-gpg-agent'... ;) -- /Jonatan -=( http://kymatica.com )=- _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel