On Oct 23, 2017, at 12:27 PM, Peter Palfrader <wea...@debian.org> wrote: > > On Mon, 23 Oct 2017, David Shaw wrote: > >> Hi Peter, >> >> I've added support for EdDSA to paperkey (it's a one-line fix - EdDSA and >> ECDSA have the same representation), so that's simple enough. >> >> The segfault is more troubling though - not supporting an algorithm >> (yet) is one thing, but paperkey should never segfault. >> Unfortunately, I can't reproduce the segfault with various ed25519 >> keys, both as themselves and in combinations like RSA primary and >> ed25519 subkey. Can you send me a test key that reproduces the issue >> for you? > > Sure, attached.
Aha, thanks. That gave me what I needed. It didn't show up on my older build box, but does on the new one. Here is a version that adds EdDSA support as well as fixes the segfault that happens when the primary key is of a known type, but the subkey is not. http://www.jabberwocky.com/software/paperkey/paperkey-1.5.tar.gz http://www.jabberwocky.com/software/paperkey/paperkey-1.5.tar.gz.sig David