Bump minimal RSA key size to 1024

Fixes: #326

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2025-11-06 10:18:28 +01:00
parent cefc4f8c97
commit ee6e2c69e1
3 changed files with 6 additions and 6 deletions

View File

@@ -46,7 +46,7 @@
#define MAX_PUBKEY_SIZE 0x100000 /* 1M */
#define MAX_PRIVKEY_SIZE 0x400000 /* 4M */
#define RSA_MIN_KEY_SIZE 768
#define RSA_MIN_KEY_SIZE 1024
#define RSA_DEFAULT_KEY_SIZE 3072
#define SSH_KEY_FLAG_EMPTY 0x0