Re: specifying cpan's gpg user?

[email protected] ((Andreas J. Koenig))
Newsgroups perl.cpan.discuss
Message-ID <[email protected]>
>>>>> On Thu, 02 Mar 2006 09:49:36 -0800, OpenMacNews <[email protected]> said:

  > hi all,
  > if i run cpan as, say, userA, how/where do i specify that gpg  within
  > cpan (for signature checks etc) run as userB -- i.e. a *different* user
  > -- so as to use a specific user's keyrings, permissions and such?

I think the answer would be to add options to the gpg binary, something like

  cpan> o conf gpg '/usr/bin/gpg --homedir /Users/userB'

This is untested. So please let us know what works for you. Certainly
it will also require that access permissions are set so that gpg
accepts the --homedir option.

-- 
andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.