mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-06 04:11:11 +01:00
BCs PGPPublicKey.getBitStrenght() appears to fail to recognize some elliptic curves. In such cases, bitStrength is reported as -1. I added BCUtil.getBitStrength(publicKey) to manually determine the bit strenght by OID. See https://github.com/bcgit/bc-java/issues/972 for an upstream bug report. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||