Open hbs opened 4 months ago
I might have a patch for this issue :)
This is now fixed, though you should note that X448
+ PublicKeyAlgorithmTags.ECDH
is not a valid combination according to the OpenPGP specification. GnuPG might be able to deal with such keys, but other implementations following the official spec might not.
Consider using X448
+ PublicKeyAlgorithmTags.X448
instead (though GnuPG migh not support this combination -.-).
Attempting to do the following fails with a
ClassCastException
when BcPGKeyConverter wrongly assumes its input parameter not beingECPrivateKeyParameters
means they are X25519.