Skip to content

Commit 99de7b1

Browse files
authored
Merge pull request #87 from hugovk/rm-eol
Update classifiers
2 parents d568676 + 6d458ef commit 99de7b1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

jose/constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ class Algorithms(object):
1313
ES384 = 'ES384'
1414
ES512 = 'ES512'
1515

16-
HMAC = set([HS256, HS384, HS512])
17-
RSA = set([RS256, RS384, RS512])
18-
EC = set([ES256, ES384, ES512])
16+
HMAC = {HS256, HS384, HS512}
17+
RSA = {RS256, RS384, RS512}
18+
EC = {ES256, ES384, ES512}
1919

2020
SUPPORTED = HMAC.union(RSA).union(EC)
2121

jose/jwk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(self, key, algorithm):
110110
b'ssh-rsa'
111111
]
112112

113-
if any([string_value in key for string_value in invalid_strings]):
113+
if any(string_value in key for string_value in invalid_strings):
114114
raise JWKError(
115115
'The specified key is an asymmetric key or x509 certificate and'
116116
' should not be used as an HMAC secret.')

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ def get_packages(package):
4545
'Natural Language :: English',
4646
'License :: OSI Approved :: MIT License',
4747
'Programming Language :: Python',
48-
'Programming Language :: Python :: 2.6',
48+
'Programming Language :: Python :: 2',
4949
'Programming Language :: Python :: 2.7',
50-
'Programming Language :: Python :: 3.3',
50+
'Programming Language :: Python :: 3',
5151
'Programming Language :: Python :: 3.4',
5252
'Programming Language :: Python :: 3.5',
5353
'Programming Language :: Python :: 3.6',

0 commit comments

Comments
 (0)