Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Fixed Cryptography python module version
Browse files Browse the repository at this point in the history
  • Loading branch information
lalithkota committed Feb 27, 2024
1 parent f84aaeb commit cdf6970
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion g2p_encryption_keymanager/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"depends": [
"g2p_encryption",
],
"external_dependencies": {"python": ["cryptography", "jwcrypto", "python-jose"]},
"external_dependencies": {"python": ["cryptography<37", "jwcrypto", "python-jose"]},
"data": [
"views/encryption_provider.xml",
"data/default_provider.xml",
Expand Down
4 changes: 3 additions & 1 deletion g2p_encryption_keymanager/models/encryption_provider.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# pylint: disable=[W7936]

import base64
import json
import logging
Expand All @@ -9,7 +11,7 @@
from cryptography import x509
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.serialization import Encoding
from jose import jwt # pylint: disable=[W7936]
from jose import jwt
from jwcrypto import jwk

from odoo import api, fields, models
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# generated from manifests external_dependencies
cryptography
cryptography<37
jwcrypto
python-jose

0 comments on commit cdf6970

Please sign in to comment.