Skip to content

Commit

Permalink
rsautl was deprecated in version 3.0, use 'pkeyutl' instead
Browse files Browse the repository at this point in the history
  • Loading branch information
alanzirek committed Mar 4, 2025
1 parent 9332393 commit ef38f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/agricoll.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def decrypt_symmetric_key(self):
subprocess.run(
[
"openssl",
"rsautl",
"pkeyutl",
"-decrypt",
"-inkey",
temp_private_key_file.name,
Expand Down
2 changes: 1 addition & 1 deletion core/tests/test_fetch_export_agricoll_contacts_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _generate_encrypted_symmetric_key():
subprocess.run(
[
"openssl",
"rsautl",
"pkeyutl",
"-encrypt",
"-inkey",
"public.key",
Expand Down

0 comments on commit ef38f9f

Please sign in to comment.