authority: use correct account_key_length

This commit is contained in:
Kishi85 2019-05-13 21:47:00 +02:00
parent 258855c5b4
commit abc0c4a9c2
1 changed files with 1 additions and 1 deletions

View File

@ -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")