You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result (Error "Password was not given but private key is encrypted"):
/symbol_node2$ python3 symbol-node-configurator/certtool.py --ca ca.key.pem --working cert --package certificates
i | preparing configuration files
Traceback (most recent call last):
File "symbol-node-configurator/certtool.py", line 223, in <module>
main()
File "symbol-node-configurator/certtool.py", line 187, in main
main_private_key = PrivateKeyStorage(ca_path.parent).load(ca_path.stem)
File "/home/pmielcar/.local/lib/python3.8/site-packages/symbolchain/core/PrivateKeyStorage.py", line 33, in load
wrapped_private_key = serialization.load_pem_private_key(infile.read(), password=self.password)
File "/home/pmielcar/.local/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py", line 20, in load_pem_private_key
return backend.load_pem_private_key(data, password)
File "/home/pmielcar/.local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1217, in load_pem_private_key
return self._load_key(
File "/home/pmielcar/.local/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1438, in _load_key
raise TypeError(
TypeError: Password was not given but private key is encrypted
The text was updated successfully, but these errors were encountered:
How to Reproduce
Result (Error "Password was not given but private key is encrypted"):
The text was updated successfully, but these errors were encountered: