[pkg-gnupg-maint] Bug#846168: Bug#846168: gnupg2: --export-ssh-key is not working

NIIBE Yutaka gniibe at fsij.org
Tue Nov 29 06:01:31 UTC 2016


On 11/29/2016 06:46 AM, Hans Freitag wrote:
> Exporting ssh2 keys is not working with gnupg 2.1.16
> 
> $ gpg2 --export-ssh-key SOMEKEYID
> gpg: Ohhhh jeeee: Assertion "ret_found_key == NULL || ret_keyblock != NULL" in lookup failed (../../g10/getkey.c:3677)
> Abgebrochen

Thank you for bug report.  It is just fixed in upstream yesterday.

commit 4db9a425644dccaf81b51ebc97b32a9cc21941a4
Author: Justus Winter <justus at g10code.com>
Date:   Mon Nov 28 13:36:56 2016 +0100

    g10: Fix iteration over getkey results.

    * g10/getkey.c (getkey_next): Only ask 'lookup' for the exact match if
    our caller requested the key.  Fixes a crash in 'lookup'.

    GnuPG-bug-id: 2848
    Fixes-commit: 1d03cc77e1706f7da653153ad4b58c61e4fd2573
    Signed-off-by: Justus Winter <justus at g10code.com>

-- 



More information about the pkg-gnupg-maint mailing list