Problems with gpgsm/dirmngr in gnupg-2.1.0-beta751

Werner Koch wk at gnupg.org
Wed Sep 10 09:30:55 CEST 2014


On Tue,  2 Sep 2014 16:40, lechten at wi.uni-muenster.de said:

> However, http_open calls http_session_ref, dereferencing the NULL
> session.  A quick fix is to add a NULL check to http_session_ref.

This seems to be the correct fix given that the rest of the code does
not assume that a session object exists.

> connections.  (Actually, no HTTP open should work right now, unless
> it is passed a bogus session.)

Indeed:

  $ gpg-connect-agent --dirmngr 'ks_fetch http://werner.eifzilla.de/mykey.asc' /bye
  gpg-connect-agent: no running Dirmngr - starting '/usr/local/bin/dirmngr'
  gpg-connect-agent: waiting for the dirmngr to come up ... (5s)
  gpg-connect-agent: connection to the dirmngr established
  gpg-connect-agent: receiving line failed: End of file

The dirmngr crashed.  With the fix it works:  

  $ gpg-connect-agent --dirmngr 'ks_fetch http://werner.eifzilla.de/mykey.asc' /bye
  gpg-connect-agent: no running Dirmngr - starting '/usr/local/bin/dirmngr'
  gpg-connect-agent: waiting for the dirmngr to come up ... (5s)
  gpg-connect-agent: connection to the dirmngr established
  D   pub   2048D/1E42B367 2007-12-31 [expires: 2018-12-31]%0A
  D   uid                  Werner Koch <wk at gnupg.org>%0A
  [...]


Thanks,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list