[gobolinux-devel] [gobolinux-commits] tools/Scripts/Functions File
Jonas Karlsson
jonka750 at student.liu.se
Fri Feb 23 23:28:41 UTC 2007
2007/2/23, Lucas C. Villa Real <lucasvr at gobolinux.org>:
> 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)
---%<---------------------------
Please revert this.
--
/Jonas
More information about the gobolinux-devel
mailing list