-
- Downloads
fix: Read real value of the RSA modulus instead of using a hardcoded one
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 See: https://github.com/wiktor-k/gen-rsa-exp-pgp Signed-off-by:Wiktor Kwapisiewicz <wiktor@metacode.biz>
parent
38be71bf
No related branches found
No related tags found
Showing
- .codespellrc 1 addition, 1 deletion.codespellrc
- REUSE.toml 1 addition, 1 deletionREUSE.toml
- nethsm/src/openpgp.rs 46 additions, 17 deletionsnethsm/src/openpgp.rs
- nethsm/tests/fixtures/ed25519-key-with-31-byte-private-key-scalar.asc 0 additions, 0 deletions.../fixtures/ed25519-key-with-31-byte-private-key-scalar.asc
- nethsm/tests/fixtures/rsa-key-with-modulus-e-257.asc 31 additions, 0 deletionsnethsm/tests/fixtures/rsa-key-with-modulus-e-257.asc
File moved
Please register or sign in to comment