mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Privkey size is very small #635
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HerMajestyDrMona on GitHub (Mar 6, 2025).
The
KEY_ALGOvariable is for public keys, correct? But why generated privkey.pem size is only 288 bytes? Is there any need / possibility to tweak something to increase this key's length? For some reasons settingKEYSIZE="4096"doesn't change anything, and it should be default value anyway.@lukas2511 commented on GitHub (Mar 8, 2025):
Keysize is only relevant for RSA keys, but dehydrated uses elliptic-curve crytography (secp384r1) by default, which uses fixed key sizes. Since they work completely differently to RSA they just happen to have smaller keys while still being more secure.