gpg-agent from gnupg-2.0.17 crashes when trying to add ECDSA key

Werner Koch wk at
Mon Jun 27 09:35:09 CEST 2011

On Sat, 18 Jun 2011 11:40, n-roeser at said:

> The bug is triggered in gnupg-2.0.17/agent/command-ssh.c, line 1410,
> which says ‘xfree (comment);’.

Arghh, this function is indeed buggy.  We are freeing a constant.
I better review the whole file.

> A quick look at the ssh_key_types structure in command-ssh.c (lines 218
> ff.) suggests that gpg-agent does not yet support ECDSA keys; is that
> right? Nevertheless, it should not crash, but rather return some kind of

Right.  Agreed.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list