mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-29 10:31:49 +01:00
authority: use correct account_key_length
This commit is contained in:
parent
258855c5b4
commit
abc0c4a9c2
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user