[gobolinux-devel] [gobolinux-commits] tools/Scripts/Functions File

Jonatan Liljedahl lijon at kymatica.com
Tue Feb 27 17:56:51 UTC 2007


Jonas Karlsson wrote:
> 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")" ]
...

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 )=-


More information about the gobolinux-devel mailing list