Andrew Libby on 27 Jul 2005 19:17:41 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] GPG question/problem


Looks like you might try things like --keyring or setting --homedir. 
Permissions on your keyring may need to be modified, and I don't know
how pedantic gpg is about that.  One option might be to setup
a user for this purpose and permit execution of a very specific command
using sudo.  If done correctly this seems like it could guard the keys
yet give enough access to get what you're looking for.

Thoughts folks?

Andy

George Gallen wrote:

>OK. I'm using gpg/ftp to send an encrypted file.
>
>I imported the other sides key. signed it. works great.
>NOW. I wrote a script that encrypts a file, then ftps it to the site.
>Works great.
>
>but...only if I run the script.
>
>There can be many people who will need to run the script. How do I tell
>gpg to use my keyring? I don't want to setup a keyring for everyone that
>might need to run the script.
>
>I've tried a number of the switches, but I either get permission denied, or
>unable to find the keyring file.
>
>gpg -r ":EMAIL:" -armor --yes --out ":LOC:"/":BATCHID:" --encrypt ":LOC:"/":JOBNAME
>
>The above works fine, like I said for me only.
>
>Thanks
>George
>___________________________________________________________________________
>Philadelphia Linux Users Group         --        http://www.phillylinux.org
>Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
>General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
>  
>

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug