Skip to content

Commit

Permalink
backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 30, 2024
1 parent f186f51 commit 11498db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions poorman_handshake/asymmetric/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def export_private_key(path, key=None):
logging.warning(
"export_private_key is deprecated and will be removed in a future version. Use export_RSA_key instead."
)
key = key or RSA.generate(2048)
export_RSA_key(key, path)


Expand Down

0 comments on commit 11498db

Please sign in to comment.