-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
python-paseto/paseto/protocol/version2.py
Line 16 in 9638220
| def encrypt(message: bytes, key: bytes, footer: bytes = b"") -> bytes: |
python-paseto/paseto/protocol/version2.py
Line 91 in 9638220
| def sign(message: bytes, secret_key: bytes, footer: bytes = b"") -> bytes: |
Right now, byte arrays are accepted by this API. There's no mechanism to prevent a user from using a v2 public key as a v2 local key.
purificant
Metadata
Metadata
Assignees
Labels
No labels