Skip to content

Commit

Permalink
fix(lint): make use of decryption failure exception type [scidsg#268][s…
Browse files Browse the repository at this point in the history
  • Loading branch information
rmlibre committed Jul 16, 2024
1 parent b55c602 commit 920311b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hushline/crypto/secrets_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
from cryptography.fernet import Fernet, InvalidToken
from passlib.hash import argon2

__all__ = ["InvalidToken", "SecretsManager"]


def truncated_b64decode(value: bytearray) -> bytearray:
if bool(remainder := len(value) % 4):
Expand Down

0 comments on commit 920311b

Please sign in to comment.