Issue1021

Title documentation of Dirmngr misses "OPTION audit-events" and "LDAPSERVER".
Priority bug Status chatting
Category dirmngr Due Date
Version svn310 ExtLink  (go)
Superseder Nosy List bernhard, werner
Assigned To werner Topics  (help)

Created on 2009-04-02.13:05:05 by bernhard, last changed 2010-01-13.13:47:39 by bernhard.

Messages
msg3536 (view) Author: bernhard Date: 2010-01-13.13:47:39
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/trunk/doc/dirmngr.texi?rev=334&root=Dirmngr&view=markup
@node Dirmngr Protocol
still misses LOADCRL and others as far as I can see.

If you add LOADCRL, please also document that it only takes .der encoded
crl files. (Just had a user that tried to important an .pem here. I know this 
is documented in the --load-crl command, but having this in the Protocol also 
would be nice as I've first saw the protocol in the watchgnupg.)
msg2897 (view) Author: bernhard Date: 2009-04-03.08:52:35
Werner, thanks for the quick response.
Yes I know that OPTION is generic, the question is what OPTIONs are supported
for a server and this is not mentioned for dirmngr and there is also no mention
of "audit-events" at all. Maybe audit-events is also generic?
msg2894 (view) Author: werner Date: 2009-04-03.07:35:52
OPTION is a generic Asssuan command and as such not Dirmngr specific.
Listed two times becuase it is two times in the table.  I removed the second one
from libassuan.  To go into the next libassuan release.

I'll check dirmngr docs later.
msg2892 (view) Author: bernhard Date: 2009-04-02.13:33:23
Okay, systematically, sending HELP to dirmngr 1.0.2 gives me the following 
list:'# NOP\n# CANCEL\n# OPTION\n# BYE\n# AUTH\n# RESET\n# END\n# HELP\n# 
OPTION\n# LDAPSERVER\n# ISVALID\n# CHECKCRL\n# CHECKOCSP\n# LOOKUP\n# 
LOADCRL\n# LISTCRLS\n# CACHECERT\n# VALIDATE\n# INPUT\n# OUTPUT\nOK\n'

(why is "OPTION" in there twice, btw?)
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/trunk/doc/assuan.texi?rev=294&root=Libassuan&view=markup
@node Client Requests 
lists the following commands: BYE RESET END HELP QUIT OPTION CANCEL AUTH
(I guess NOP should be listed there as well.)

dirmngr lists
LOOKUP ISVALID CHECKCRL CHECKOCSP CACHECERT VALIDATE

makes missing
LDAPSERVER LOADCRL LISTCRLS INPUT OUTPUT


For "OPTION" it should be listed which options are okay and "audit-events"
is not listed as a command line option in dirmngr.info.
msg2891 (view) Author: bernhard Date: 2009-04-02.13:07:15
Hmmm the "LDAPSERVER" command is also not mentioned.
msg2890 (view) Author: bernhard Date: 2009-04-02.13:05:05
http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/trunk/doc/dirmngr.texi?rev=310&root=Dirmngr&view=markup
the section about dirmngr's protocol misses to mention the "OPTION" command
and "OPTION audit-evens".

Here is a log file showing that OPTION actually is accepted as command:
2009-04-02 12:05:18 dirmngr[272] handler for fd 564 started
dirmngr[272.564] DBG: -> # Home: C:\Dokumente und Einstellungen\All 
Users\Anwendungsdaten\GNU\etc\dirmngr
dirmngr[272.564] DBG: -> # Config: C:\Dokumente und Einstellungen\All 
Users\Anwendungsdaten\GNU\etc\dirmngr/dirmngr.conf
dirmngr[272.564] DBG: -> OK Dirmngr 1.0.3-svn310 at your service
dirmngr[272.564] DBG: <- OPTION audit-events=1
dirmngr[272.564] DBG: -> OK
History
Date User Action Args
2010-01-13 13:47:39bernhardsetmessages: + msg3536
2009-04-03 08:52:35bernhardsetmessages: + msg2897
2009-04-03 07:35:52wernersetmessages: + msg2894
2009-04-02 13:33:23bernhardsetassignedto: werner
messages: + msg2892
nosy: + werner
2009-04-02 13:07:15bernhardsetstatus: unread -> chatting
messages: + msg2891
title: documentation of Dirmngr misses "OPTION audit-events" -> documentation of Dirmngr misses "OPTION audit-events" and "LDAPSERVER".
2009-04-02 13:05:05bernhardcreate