mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
ECDSA Support #567
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 @jeffsani on GitHub (Jan 29, 2022).
I did not see a parameter to support the request of ECDSA certs from ACMEv2. Am I missing something?
Thanks,
Jeff
@bllfr0g commented on GitHub (Jan 29, 2022):
It's KEY_ALGO.
On 1/29/22 14:13, Jeff Sani wrote:
@jeffsani commented on GitHub (Jan 30, 2022):
Ok thanks - I see that:
Which public key algorithm should be used? Supported: rsa, prime256v1 and secp384r1
#KEY_ALGO=secp384r1
But it is still not clear to me. RSA is obvious, I presume prime256v1 and secp384ri are EC+DSA? With Certbot, this is simply --key-type ecdsa or rsa.
@bllfr0g commented on GitHub (Jan 30, 2022):
prime256v1 is a 256 bit curve used with ecdsa. Secp3841 is a 384 bit curve.
Looks like certbot uses prime256v1 if you choose ecdsa and do not specify a curve.
Choosing the curve for ecdsa is kind of analogous to choosing key length for rsa.
@jeffsani commented on GitHub (Jan 30, 2022):
Got it thanks!
@jeffsani commented on GitHub (Jan 31, 2022):
So in domains_txt.md:
https://github.com/dehydrated-io/dehydrated/blob/master/docs/domains_txt.md
It has:
then add a config file certs/star_service_example_org_rsa/config with the value
KEY_ALGO="rsa"
or respectively
KEY_ALGO="ecdsa"
but in the config example, it is:
Which public key algorithm should be used? Supported: rsa, prime256v1 and secp384r1
#KEY_ALGO=secp384r1
is ecdca as an option deprecated?
@bllfr0g commented on GitHub (Jan 31, 2022):
That may be a doc bug. I’m not sure if ecdsa was ever a valid option there, but it definitely isn’t now.
@danrodrig commented on GitHub (Mar 18, 2022):
The reference to
ecdsain https://github.com/dehydrated-io/dehydrated/blob/master/docs/domains_txt.md?plain=1#L58 is a bug indeed, https://github.com/dehydrated-io/dehydrated/pull/861.The allowed values for
KEY_ALGOare listed in https://github.com/dehydrated-io/dehydrated/blob/master/dehydrated#L320.