From 6351f8a231f3eed044280ee3b2f1fe259c9a1678 Mon Sep 17 00:00:00 2001 From: Marvin Martinson Date: Tue, 15 Jun 2021 08:18:42 +0000 Subject: [PATCH] Change RSA to default keytype --- pinecrypt/server/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinecrypt/server/const.py b/pinecrypt/server/const.py index 4979606..4a7000d 100644 --- a/pinecrypt/server/const.py +++ b/pinecrypt/server/const.py @@ -102,7 +102,7 @@ AUTHORITY_CRL_ENABLED = os.getenv("AUTHORITY_CRL_ENABLED", False) AUTHORITY_CRL_URL = "http://%s/api/revoked/" % AUTHORITY_NAMESPACE AUTHORITY_OCSP_URL = "http://%s/api/ocsp/" % AUTHORITY_NAMESPACE AUTHORITY_OCSP_DISABLED = os.getenv("AUTHORITY_OCSP_DISABLED", False) -AUTHORITY_KEYTYPE = getenv_in("AUTHORITY_KEYTYPE", "ec", "rsa") +AUTHORITY_KEYTYPE = getenv_in("AUTHORITY_KEYTYPE", "rsa", "ec") # Tokens TOKEN_URL = "https://%(authority_name)s/#action=enroll&title=dev.lan&token=%(token)s&subject=%(subject_username)s&protocols=%(protocols)s"