2.1.0~beta864: gpg2 --list-secret-keys fails if gniibe's key is in pubring.kbx

Werner Koch wk at gnupg.org
Wed Oct 8 21:45:28 CEST 2014


On Wed,  8 Oct 2014 20:47, dkg at fifthhorseman.net said:

> i'm trying to use 2.1.0 beta864.  gpg2 --list-secret-keys fails (returns
> a non-zero return code) if any of the *public* keys it knows about fail
> to have a proper keygrip.

Okay, changed to use log_info to avoid a process exit with failure.

> Its also worth noting that the output of --with-keygrip appears to
> publish something that changes each time it's run -- this may be an
> information leak of memory that isn't properly initialized or cleared.

Also cleared the keygrip on error to not show a random value.



Shalom-Salam,

   Werner

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




More information about the Gnupg-devel mailing list