acme: standardize key_type 21079/head
authorGlen Huang <me@glenhuang.com>
Wed, 17 May 2023 09:53:51 +0000 (17:53 +0800)
committerGlen Huang <me@glenhuang.com>
Thu, 18 May 2023 04:48:47 +0000 (12:48 +0800)
commit6d61014e51266f1cb083d9f31491f9c5fb73eeb0
tree7501a623d9f293c4c313f9e76490ff298df4fe8a
parent38eeca5df92c6f8fedd153e7383904eb5b893beb
acme: standardize key_type

keylength, being an acme.sh value type, uses pure numbers for rsa keys.
This can be disorienting for other acme clients. This change introduces
a new option "key_type" that aims to remove this ambiguity, and makes
all key type names follow the same pattern, making acme-common more
client agnostic.

Signed-off-by: Glen Huang <me@glenhuang.com>
net/acme-acmesh/files/hook.sh
net/acme-common/files/acme.init