Skip to content

feat: Ensure valid bit length for block cipher and RSA keys

David Runge requested to merge fix/key-lengths into main

When importing RSA (OpenPGP or raw) keys or generating block cipher or RSA keys, ensure that a valid bit length is used.

For block cipher keys only 128, 192 and 256 bits are valid. For RSA the bit length must be equal to or greater than 2048.

Fixes #59 (closed)

Merge request reports

Loading