File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1010
1111# TODO: Use mailing list instead
1212authors_email = ", " .join (
13- f" { email } " for _ , email in authors
13+ str ( email ) for _ , email in authors
1414)
1515
1616__license__ = "MIT" ,
1717__author__ = ", " .join (
18- f" { name } <{ email } >" for name , email in authors
18+ "{0 } <{1 }>". format ( name , email ) for name , email in authors
1919)
2020
2121package_info = "RSA helpers for PyJWT"
Original file line number Diff line number Diff line change 55
66from cryptography .hazmat .primitives import hashes
77from cryptography .hazmat .primitives .asymmetric import padding
8-
98from jwt_rsa .rsa import load_private_key , load_public_key
109
1110
Original file line number Diff line number Diff line change 55from itertools import product
66
77import pytest
8+
89from cryptography .hazmat .primitives import hashes
910from cryptography .hazmat .primitives .asymmetric import padding
10-
1111from jwt .exceptions import InvalidAlgorithmError , InvalidSignatureError
1212from jwt_rsa import rsa
1313from jwt_rsa .token import JWT
Original file line number Diff line number Diff line change 55from unittest import mock
66
77import pytest
8+
89from cryptography .exceptions import InvalidSignature
910from cryptography .hazmat .backends import default_backend
1011from cryptography .hazmat .primitives import hashes , serialization
1112from cryptography .hazmat .primitives .asymmetric import padding
12-
1313from jwt_rsa .keygen import main as keygen
1414from jwt_rsa .rsa import generate_rsa , load_private_key , load_public_key
1515from jwt_rsa .verify import main as verify
You can’t perform that action at this time.
0 commit comments