OpenLDAP schema to store OpenPGP keys?

David Shaw dshaw at jabberwocky.com
Thu Feb 23 16:22:21 CET 2006


On Thu, Feb 23, 2006 at 04:13:51PM +0100, Walter Haidinger wrote:
> On Thu, February 23, 2006 14:03, David Shaw wrote:
> >  --keyserver-option "binddn=\"uid=user1,ou=PGP Users,dc=EXAMPLE,dc=COM\""
> 
> I've got yet another problem when I put keyserver-options into
> ~/.gnupg/gpg.conf, like:
> 
> > nl -b a ~/.gnupg/gpg.conf | tail -5
>    225  keyserver ldap://localhost
>    226  keyserver-option verbose
>    227  keyserver-option binddn="uid=user1,ou=PGP Users,dc=EXAMPLE,dc=COM"
>    228  keyserver-option bindpw=user1
>    229
> 
> > gpg --list-keys
> gpg: /home/walter/.gnupg/gpg.conf:226: invalid option
> gpg: /home/walter/.gnupg/gpg.conf:227: invalid option
> gpg: /home/walter/.gnupg/gpg.conf:228: invalid option
> 
> What is wrong here?

keyserver-options.  Not keyserver-option.  The 's' is part of the
option name.  It works on the command line for convenience, but the
config file must be strict.

David



More information about the Gnupg-users mailing list