acme: standardize key_type
authorGlen Huang <me@glenhuang.com>
Wed, 17 May 2023 09:53:51 +0000 (17:53 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 31 Mar 2024 13:27:05 +0000 (15:27 +0200)
commit66894032d482625a1a7e22ba4336c6fa5dd35d26
treeecf28f087ec8fd3c11901b0606db96f2a19c1e76
parent015e212add195f0c11d848dc1406fbc401d27725
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>
(cherry picked from commit 6d61014e51266f1cb083d9f31491f9c5fb73eeb0)
net/acme-acmesh/files/hook.sh
net/acme-common/files/acme.init