2007/2/27, Jonatan Liljedahl <[EMAIL PROTECTED]>:
> 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'... ;)
>
thanks for the tip. I think I had something like that command
somewhere somehow, but I seem to have missplaced it, so instead I used
whatever I had that I knew were working.
Will 'ps -C gpg-agent' be enough or do one have to filter with the
username as well?

-- 
/Jonas
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to