We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25023d2 commit 5c2926eCopy full SHA for 5c2926e
truenas_crypto_utils/key.py
@@ -41,7 +41,7 @@ def generate_private_key(options: dict) -> (
41
key = Ed25519PrivateKey.generate()
42
else:
43
key = ec.generate_private_key(
44
- getattr(ec, options.get('curve')),
+ getattr(ec, options.get('curve'))(),
45
default_backend()
46
)
47
0 commit comments