From abc0c4a9c2ade3fdb477864575fb1042a8454663 Mon Sep 17 00:00:00 2001 From: Kishi85 Date: Mon, 13 May 2019 21:47:00 +0200 Subject: [PATCH] authority: use correct account_key_length --- acertmgr/authority/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acertmgr/authority/__init__.py b/acertmgr/authority/__init__.py index 46c0324..ef0fd4c 100644 --- a/acertmgr/authority/__init__.py +++ b/acertmgr/authority/__init__.py @@ -28,7 +28,7 @@ def authority(settings): acc_key = tools.read_pem_file(acc_file, key=True) else: log("Account key not found at '{0}'. Creating key.".format(acc_file)) - acc_key = tools.new_account_key(acc_file, settings['account_key_algorithm'], settings['account_key_size']) + acc_key = tools.new_account_key(acc_file, settings['account_key_algorithm'], settings['account_key_length']) authority_module = importlib.import_module("acertmgr.authority.{0}".format(settings["api"])) authority_class = getattr(authority_module, "ACMEAuthority")