On Fri, Aug 2, 2013 at 9:17 PM, Nicholas Helke <
nhe...@gmail.com> wrote:
> @AGL The patch fixes it, or rather gets openpgp to return a helpful error in
> lieu of just panicking with that most unhelpful message.
>
> Before your patch I worked out that it was trying to use RIPEMD160 by using
> GDB and a breakpoint at
http://godoc.org/crypto?file=crypto.go#Hash.New. The
> documentation then helpfully indicates:
>
> RIPEMD160 // import
>
code.google.com/p/go.crypto/ripemd160
>
> I still wonder whether I should not submit a patch to the standard library
> to give more details when panicking. Since the RIPEMD160 const is defined in
> crypto, why not make the panic message more helpful by specifying what hash
> is missing? I'm guessing it is declared there from when ripemd160 and
> openpgp were still part of the standard library back before Go 1.
I've submitted something similar to this patch to go.crypto. The error