import key to spefic keyring

Henning Sittler Henning@inscriber.com
Fri Jun 20 15:29:02 2003


Hi all, bit of a newbie here with gpg.

I have imported a public key onto the root user keyring (because I was
logged in a root) using the basic:

gpg --import < samson.asc 

But I would like to specifically import the same keyring for user apache,
who of course, does not have a usera ccount that I can log in to.  Like I
said, I am a bit of a newbie here.  I'm guess I'm trying to do something
like:

gpg -u apache --import < samson.asc 

So that the public is added to apache's keyring, and not root's.  Then I
want to specify trust for that public key on apache's keyring, again from
root's login.

I am doing this so that a php script can call gpg through with user apache
permissions.  Thanks in adance for any help you an offer!


Henning Sittler
www.inscriber.com