Bug#1019577: hokey lint: "Non-exhaustive patterns in function getSecretKey" when sending a secret key instead of certificate
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Sep 13 08:02:14 BST 2022
On Mon 2022-09-12 13:52:50 +0000, Clint Adams wrote:
> On Sun, Sep 11, 2022 at 01:02:33PM -0400, Daniel Kahn Gillmor wrote:
>> I think what it's trying to say is "hokey lint only works on OpenPGP
>> certificates, not secret keys". But this is a pretty awkward way to say
>> it.
>
> That is not what it is saying. If you have the hOpenPGP source code handy,
> you should receive reasonable output from something like
>
> hokey lint <tests/data/nist_p-256_secretkey.gpg
>
> What is the nature of the input you're providing?
Thanks for the quick response, Clint!
I was "hokey lint"ing the attached binary-formatted secret key, which
was provided by Justus Winter for use with the notmuch test suite:
https://nmbug.notmuchmail.org/nmweb/show/20220909161354.715326-1-justus%40sequoia-pgp.org
I'd be happy to try to get more info out of Justus if that would be
useful.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp4-secret-key.bin
Type: application/pgp-keys
Size: 514 bytes
Desc: test OpenPGP secret key
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20220913/b108297d/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20220913/b108297d/attachment.sig>
More information about the Pkg-haskell-maintainers
mailing list