Skip to content

fix: Read real value of the RSA modulus instead of using a hardcoded one

Wiktor Kwapisiewicz requested to merge wiktor/72-fix-rsa-import into main

Previous implementation assumed the moduli of 65537 instead of reading the real value from the public key.

Adjust the code and test it against a key using 257 for the modulus.

Fixes: #72 (closed)

See: https://github.com/wiktor-k/gen-rsa-exp-pgp

Merge request reports