Skip to content

Commit

Permalink
Fixed import order
Browse files Browse the repository at this point in the history
  • Loading branch information
msetina committed Apr 2, 2024
1 parent 5bcaa62 commit 163f8b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion pkcs11_cryptography_keys/keys/ec.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

from pkcs11_cryptography_keys.card_token.PKCS11_token import PKCS11Token


# Translation from mechanism read from the card to parameters needed for cryptography API
# At init time this is used to for operations list for later use in function calls as card limitations
_digest_algorithm_implementations: Dict[str, Dict] = {
Expand Down
6 changes: 2 additions & 4 deletions pkcs11_cryptography_keys/keys/rsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@
from cryptography.hazmat.backends import default_backend
from cryptography.hazmat.primitives import _serialization, hashes
from cryptography.hazmat.primitives._asymmetric import AsymmetricPadding
from cryptography.hazmat.primitives.asymmetric import (
utils as asym_utils,
)
from cryptography.hazmat.primitives.asymmetric import utils as asym_utils
from cryptography.hazmat.primitives.asymmetric.padding import (
PKCS1v15,
OAEP,
PSS,
PKCS1v15,
)
from cryptography.hazmat.primitives.asymmetric.rsa import (
RSAPrivateKey,
Expand Down

0 comments on commit 163f8b6

Please sign in to comment.