crypto/rsa: support for 64-bit E values #17970
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
We at keybase have seen PGP keys in the wild that use exponents greater than signed 32-bits: keybase/go-crypto#8
Unfortunately, we've had to fork
crypto/rsa
and use that in our fork ofgolang.org/x/crypto/openpgp
.Ideally, we wouldn't have to do that. However, @agl, it looks like you deliberately limited it to 32 bits.
Would you accept a patch to change
rsa.PublicKey.E
toint64
? If not, is there another solution you can think of?The text was updated successfully, but these errors were encountered: