Automated importing of keys

Anthony E. Greene agreene at
Thu Jan 29 07:10:39 CET 2004

On 28-Jan-2004/17:48 -0500, "Derek S. Graham" <GRAHAMDS at> wrote:
>I am working on a project where we are using GPG in an automated
>environment to pull encrypted files from a DMZ server and automatically
>decrypt them and move them to a specified location.  All this is working
>fine.  The problem I have is I need a script (Perl) that an administator
>can run to add new public keys to the key ring the application uses.  The
>application runs on a linux server under a user ID, mover, and we do not
>want to have administrators logining in as this ID.  My question is: is
>there a way that another user can access mover's GPG key ring to add and
>sign public keys?  I have created an Admin group of which mover is a part
>of.  Also I do not want to open up the permissions too much on the .gnupg
>directory, the secret key does not use a passphrase to allow for
>automation.  Any insight will be greatly appreciated.

Move the Public keyring to a place where both "mover" and the primary app
can get to it. It does no have to be in the .gnupg directory.

Anthony E. Greene <mailto:Anthony%20E.%20Greene%20%3Cagreene at>
AOL/Yahoo Messenger: TonyG05    HomePage: <>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Linux. The choice of a GNU generation <>

More information about the Gnupg-users mailing list