PyOTP 2.1.1__py2.py3-none-any.whl → 2.2.4__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyotp/__init__.py +7 -5
- pyotp/compat.py +10 -0
- pyotp/hotp.py +6 -4
- pyotp/otp.py +7 -11
- pyotp/totp.py +12 -9
- pyotp/utils.py +54 -35
- {pyotp-2.1.1.dist-info → pyotp-2.2.4.dist-info}/DESCRIPTION.rst +8 -6
- {pyotp-2.1.1.dist-info → pyotp-2.2.4.dist-info}/METADATA +9 -8
- pyotp-2.2.4.dist-info/RECORD +12 -0
- {pyotp-2.1.1.dist-info → pyotp-2.2.4.dist-info}/metadata.json +1 -1
- pyotp-2.1.1.dist-info/RECORD +0 -11
- {pyotp-2.1.1.dist-info → pyotp-2.2.4.dist-info}/WHEEL +0 -0
- {pyotp-2.1.1.dist-info → pyotp-2.2.4.dist-info}/top_level.txt +0 -0
pyotp/__init__.py
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
from __future__ import
|
|
1
|
+
from __future__ import (absolute_import, division,
|
|
2
|
+
print_function, unicode_literals)
|
|
2
3
|
|
|
3
4
|
import random as _random
|
|
4
5
|
|
|
5
|
-
from pyotp.hotp import HOTP
|
|
6
|
-
from pyotp.otp import OTP
|
|
7
|
-
from pyotp.totp import TOTP
|
|
8
|
-
from . import utils
|
|
6
|
+
from pyotp.hotp import HOTP # noqa
|
|
7
|
+
from pyotp.otp import OTP # noqa
|
|
8
|
+
from pyotp.totp import TOTP # noqa
|
|
9
|
+
from . import utils # noqa
|
|
10
|
+
|
|
9
11
|
|
|
10
12
|
def random_base32(length=16, random=_random.SystemRandom(),
|
|
11
13
|
chars=list('ABCDEFGHIJKLMNOPQRSTUVWXYZ234567')):
|
pyotp/compat.py
ADDED
pyotp/hotp.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from __future__ import
|
|
1
|
+
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
2
2
|
|
|
3
|
-
from
|
|
4
|
-
from
|
|
5
|
-
from
|
|
3
|
+
from . import utils
|
|
4
|
+
from .otp import OTP
|
|
5
|
+
from .compat import str
|
|
6
6
|
|
|
7
7
|
class HOTP(OTP):
|
|
8
8
|
def at(self, count):
|
|
@@ -37,4 +37,6 @@ class HOTP(OTP):
|
|
|
37
37
|
name,
|
|
38
38
|
initial_count=initial_count,
|
|
39
39
|
issuer_name=issuer_name,
|
|
40
|
+
algorithm=self.digest().name,
|
|
41
|
+
digits=self.digits
|
|
40
42
|
)
|
pyotp/otp.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
from __future__ import
|
|
1
|
+
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
2
2
|
|
|
3
3
|
import base64
|
|
4
4
|
import hashlib
|
|
5
5
|
import hmac
|
|
6
|
-
from
|
|
6
|
+
from .compat import str
|
|
7
7
|
|
|
8
8
|
class OTP(object):
|
|
9
9
|
def __init__(self, s, digits=6, digest=hashlib.sha1):
|
|
@@ -27,13 +27,8 @@ class OTP(object):
|
|
|
27
27
|
Usually either the counter, or the computed integer
|
|
28
28
|
based on the Unix timestamp
|
|
29
29
|
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
self.int_to_bytestring(input),
|
|
33
|
-
self.digest,
|
|
34
|
-
).digest()
|
|
35
|
-
|
|
36
|
-
hmac_hash = bytearray(hmac_hash)
|
|
30
|
+
hasher = hmac.new(self.byte_secret(), self.int_to_bytestring(input), self.digest)
|
|
31
|
+
hmac_hash = bytearray(hasher.digest())
|
|
37
32
|
offset = hmac_hash[-1] & 0xf
|
|
38
33
|
code = ((hmac_hash[offset] & 0x7f) << 24 |
|
|
39
34
|
(hmac_hash[offset + 1] & 0xff) << 16 |
|
|
@@ -62,6 +57,7 @@ class OTP(object):
|
|
|
62
57
|
while i != 0:
|
|
63
58
|
result.append(i & 0xFF)
|
|
64
59
|
i >>= 8
|
|
65
|
-
# It's necessary to convert the final result from bytearray to bytes
|
|
66
|
-
# the hmac functions in python 2.6 and 3.3 don't work with
|
|
60
|
+
# It's necessary to convert the final result from bytearray to bytes
|
|
61
|
+
# because the hmac functions in python 2.6 and 3.3 don't work with
|
|
62
|
+
# bytearray
|
|
67
63
|
return bytes(bytearray(reversed(result)).rjust(padding, b'\0'))
|
pyotp/totp.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
from __future__ import
|
|
1
|
+
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import time
|
|
5
5
|
|
|
6
|
-
from
|
|
7
|
-
from
|
|
8
|
-
from
|
|
6
|
+
from . import utils
|
|
7
|
+
from .otp import OTP
|
|
8
|
+
from .compat import str
|
|
9
9
|
|
|
10
10
|
class TOTP(OTP):
|
|
11
11
|
def __init__(self, *args, **kwargs):
|
|
@@ -19,9 +19,9 @@ class TOTP(OTP):
|
|
|
19
19
|
def at(self, for_time, counter_offset=0):
|
|
20
20
|
"""
|
|
21
21
|
Accepts either a Unix timestamp integer or a Time object.
|
|
22
|
-
Time objects will be adjusted to UTC automatically
|
|
23
22
|
@param [Time/Integer] time the time to generate an OTP for
|
|
24
|
-
@param [Integer] counter_offset an amount of ticks to add to the time
|
|
23
|
+
@param [Integer] counter_offset an amount of ticks to add to the time
|
|
24
|
+
counter
|
|
25
25
|
"""
|
|
26
26
|
if not isinstance(for_time, datetime.datetime):
|
|
27
27
|
for_time = datetime.datetime.fromtimestamp(int(for_time))
|
|
@@ -38,11 +38,12 @@ class TOTP(OTP):
|
|
|
38
38
|
"""
|
|
39
39
|
Verifies the OTP passed in against the current time OTP
|
|
40
40
|
@param [String/Integer] otp the OTP to check against
|
|
41
|
-
@param [Integer] valid_window extends the validity to this many counter
|
|
41
|
+
@param [Integer] valid_window extends the validity to this many counter
|
|
42
|
+
ticks before and after the current one
|
|
42
43
|
"""
|
|
43
44
|
if for_time is None:
|
|
44
45
|
for_time = datetime.datetime.now()
|
|
45
|
-
|
|
46
|
+
|
|
46
47
|
if valid_window:
|
|
47
48
|
for i in range(-valid_window, valid_window + 1):
|
|
48
49
|
if utils.strings_equal(str(otp), str(self.at(for_time, i))):
|
|
@@ -59,7 +60,9 @@ class TOTP(OTP):
|
|
|
59
60
|
@param [String] name of the account
|
|
60
61
|
@return [String] provisioning uri
|
|
61
62
|
"""
|
|
62
|
-
return utils.build_uri(self.secret, name, issuer_name=issuer_name
|
|
63
|
+
return utils.build_uri(self.secret, name, issuer_name=issuer_name,
|
|
64
|
+
algorithm=self.digest().name,
|
|
65
|
+
digits=self.digits, period=self.interval)
|
|
63
66
|
|
|
64
67
|
def timecode(self, for_time):
|
|
65
68
|
i = time.mktime(for_time.timetuple())
|
pyotp/utils.py
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
from __future__ import
|
|
1
|
+
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
2
2
|
|
|
3
3
|
import unicodedata
|
|
4
|
+
try:
|
|
5
|
+
from itertools import izip_longest
|
|
6
|
+
except ImportError:
|
|
7
|
+
from itertools import zip_longest as izip_longest
|
|
4
8
|
|
|
5
9
|
try:
|
|
6
|
-
from urllib.parse import quote
|
|
10
|
+
from urllib.parse import quote, urlencode
|
|
7
11
|
except ImportError:
|
|
8
|
-
from urllib import quote
|
|
12
|
+
from urllib import quote, urlencode
|
|
13
|
+
|
|
9
14
|
|
|
10
|
-
def build_uri(secret, name, initial_count=None, issuer_name=None
|
|
15
|
+
def build_uri(secret, name, initial_count=None, issuer_name=None,
|
|
16
|
+
algorithm=None, digits=None, period=None):
|
|
11
17
|
"""
|
|
12
18
|
Returns the provisioning URI for the OTP; works for either TOTP or HOTP.
|
|
13
19
|
|
|
@@ -17,7 +23,7 @@ def build_uri(secret, name, initial_count=None, issuer_name=None):
|
|
|
17
23
|
For module-internal use.
|
|
18
24
|
|
|
19
25
|
See also:
|
|
20
|
-
|
|
26
|
+
https://github.com/google/google-authenticator/wiki/Key-Uri-Format
|
|
21
27
|
|
|
22
28
|
@param [String] the hotp/totp secret used to generate the URI
|
|
23
29
|
@param [String] name of the account
|
|
@@ -25,31 +31,60 @@ def build_uri(secret, name, initial_count=None, issuer_name=None):
|
|
|
25
31
|
If none, the OTP type will be assumed as TOTP.
|
|
26
32
|
@param [String] the name of the OTP issuer; this will be the
|
|
27
33
|
organization title of the OTP entry in Authenticator
|
|
34
|
+
@param [String] the algorithm used in the OTP generation.
|
|
35
|
+
@param [Integer] the length of the OTP generated code.
|
|
36
|
+
@param [Integer] the number of seconds the OTP generator is set to
|
|
37
|
+
expire every code.
|
|
28
38
|
@return [String] provisioning uri
|
|
29
39
|
"""
|
|
30
40
|
# initial_count may be 0 as a valid param
|
|
31
41
|
is_initial_count_present = (initial_count is not None)
|
|
32
42
|
|
|
43
|
+
# Handling values different from defaults
|
|
44
|
+
is_algorithm_set = (algorithm is not None and algorithm != 'sha1')
|
|
45
|
+
is_digits_set = (digits is not None and digits != 6)
|
|
46
|
+
is_period_set = (period is not None and period != 30)
|
|
47
|
+
|
|
33
48
|
otp_type = 'hotp' if is_initial_count_present else 'totp'
|
|
34
|
-
|
|
49
|
+
base_uri = 'otpauth://{0}/{1}?{2}'
|
|
35
50
|
|
|
36
|
-
|
|
37
|
-
issuer_name = quote(issuer_name)
|
|
38
|
-
base += '%s:' % issuer_name
|
|
51
|
+
url_args = {'secret': secret}
|
|
39
52
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
}
|
|
53
|
+
label = quote(name)
|
|
54
|
+
if issuer_name is not None:
|
|
55
|
+
label = quote(issuer_name) + ':' + label
|
|
56
|
+
url_args['issuer'] = issuer_name
|
|
45
57
|
|
|
46
58
|
if is_initial_count_present:
|
|
47
|
-
|
|
59
|
+
url_args['counter'] = initial_count
|
|
60
|
+
if is_algorithm_set:
|
|
61
|
+
url_args['algorithm'] = algorithm.upper()
|
|
62
|
+
if is_digits_set:
|
|
63
|
+
url_args['digits'] = digits
|
|
64
|
+
if is_period_set:
|
|
65
|
+
url_args['period'] = period
|
|
66
|
+
|
|
67
|
+
uri = base_uri.format(otp_type, label, urlencode(url_args))
|
|
68
|
+
return uri
|
|
48
69
|
|
|
49
|
-
if issuer_name:
|
|
50
|
-
uri += '&issuer=%s' % issuer_name
|
|
51
70
|
|
|
52
|
-
|
|
71
|
+
def _compare_digest(s1, s2):
|
|
72
|
+
differences = 0
|
|
73
|
+
for c1, c2 in izip_longest(s1, s2):
|
|
74
|
+
if c1 is None or c2 is None:
|
|
75
|
+
differences = 1
|
|
76
|
+
continue
|
|
77
|
+
differences |= ord(c1) ^ ord(c2)
|
|
78
|
+
return differences == 0
|
|
79
|
+
|
|
80
|
+
try:
|
|
81
|
+
# Python 3.3+ and 2.7.7+ include a timing-attack-resistant
|
|
82
|
+
# comparison function, which is probably more reliable than ours.
|
|
83
|
+
# Use it if available.
|
|
84
|
+
from hmac import compare_digest
|
|
85
|
+
|
|
86
|
+
except ImportError:
|
|
87
|
+
compare_digest = _compare_digest
|
|
53
88
|
|
|
54
89
|
|
|
55
90
|
def strings_equal(s1, s2):
|
|
@@ -63,20 +98,4 @@ def strings_equal(s1, s2):
|
|
|
63
98
|
"""
|
|
64
99
|
s1 = unicodedata.normalize('NFKC', s1)
|
|
65
100
|
s2 = unicodedata.normalize('NFKC', s2)
|
|
66
|
-
|
|
67
|
-
# Python 3.3+ and 2.7.7+ include a timing-attack-resistant
|
|
68
|
-
# comparison function, which is probably more reliable than ours.
|
|
69
|
-
# Use it if available.
|
|
70
|
-
from hmac import compare_digest
|
|
71
|
-
|
|
72
|
-
return compare_digest(s1, s2)
|
|
73
|
-
except ImportError:
|
|
74
|
-
pass
|
|
75
|
-
|
|
76
|
-
if len(s1) != len(s2):
|
|
77
|
-
return False
|
|
78
|
-
|
|
79
|
-
differences = 0
|
|
80
|
-
for c1, c2 in zip(s1, s2):
|
|
81
|
-
differences |= ord(c1) ^ ord(c2)
|
|
82
|
-
return differences == 0
|
|
101
|
+
return compare_digest(s1, s2)
|
|
@@ -12,6 +12,8 @@ Authenticator <https://en.wikipedia.org/wiki/Google_Authenticator>`_, `Authy <ht
|
|
|
12
12
|
compatible app. Users can set up auth tokens in their apps easily by using their phone camera to scan `otpauth://
|
|
13
13
|
<https://github.com/google/google-authenticator/wiki/Key-Uri-Format>`_ QR codes provided by PyOTP.
|
|
14
14
|
|
|
15
|
+
We recommend that implementers read the `OWASP Authentication Cheat Sheet <https://www.owasp.org/index.php/Authentication_Cheat_Sheet>`_ and `NIST SP 800-63-3: Digital Authentication Guideline <https://pages.nist.gov/800-63-3/>`_ for a high level overview of authentication best practices.
|
|
16
|
+
|
|
15
17
|
Quick overview of using One Time Passwords on your phone
|
|
16
18
|
--------------------------------------------------------
|
|
17
19
|
|
|
@@ -76,13 +78,13 @@ Working example
|
|
|
76
78
|
|
|
77
79
|
Scan the following barcode with your phone, using Google Authenticator
|
|
78
80
|
|
|
79
|
-
|
|
81
|
+
.. image:: http://chart.apis.google.com/chart?cht=qr&chs=250x250&chl=otpauth%3A%2F%2Ftotp%2Falice%40google.com%3Fsecret%3DJBSWY3DPEHPK3PXP
|
|
80
82
|
|
|
81
83
|
Now run the following and compare the output::
|
|
82
84
|
|
|
83
85
|
import pyotp
|
|
84
86
|
totp = pyotp.TOTP("JBSWY3DPEHPK3PXP")
|
|
85
|
-
print
|
|
87
|
+
print("Current OTP:", totp.now())
|
|
86
88
|
|
|
87
89
|
Links
|
|
88
90
|
~~~~~
|
|
@@ -95,15 +97,15 @@ Links
|
|
|
95
97
|
* `RFC 6238: TOTP: Time-Based One-Time Password Algorithm <https://tools.ietf.org/html/rfc6238>`_
|
|
96
98
|
* `ROTP <https://github.com/mdp/rotp>`_ - Original Ruby OTP library by `Mark Percival <https://github.com/mdp>`_
|
|
97
99
|
* `OTPHP <https://github.com/lelag/otphp>`_ - PHP port of ROTP by `Le Lag <https://github.com/lelag>`_
|
|
100
|
+
* `OWASP Authentication Cheat Sheet <https://www.owasp.org/index.php/Authentication_Cheat_Sheet>`_
|
|
101
|
+
* `NIST SP 800-63-3: Digital Authentication Guideline <https://pages.nist.gov/800-63-3/>`_
|
|
98
102
|
|
|
99
103
|
.. image:: https://img.shields.io/travis/pyotp/pyotp.svg
|
|
100
104
|
:target: https://travis-ci.org/pyotp/pyotp
|
|
101
|
-
.. image:: https://img.shields.io/
|
|
102
|
-
:target: https://
|
|
105
|
+
.. image:: https://img.shields.io/codecov/c/github/pyotp/pyotp/master.svg
|
|
106
|
+
:target: https://codecov.io/github/pyotp/pyotp?branch=master
|
|
103
107
|
.. image:: https://img.shields.io/pypi/v/pyotp.svg
|
|
104
108
|
:target: https://pypi.python.org/pypi/pyotp
|
|
105
|
-
.. image:: https://img.shields.io/pypi/dm/pyotp.svg
|
|
106
|
-
:target: https://pypi.python.org/pypi/pyotp
|
|
107
109
|
.. image:: https://img.shields.io/pypi/l/pyotp.svg
|
|
108
110
|
:target: https://pypi.python.org/pypi/pyotp
|
|
109
111
|
.. image:: https://readthedocs.org/projects/pyotp/badge/?version=latest
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.0
|
|
2
2
|
Name: pyotp
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.4
|
|
4
4
|
Summary: Python One Time Password Library
|
|
5
5
|
Home-page: https://github.com/pyotp/pyotp
|
|
6
6
|
Author: PyOTP contributors
|
|
@@ -17,7 +17,6 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.3
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.4
|
|
19
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
-
Requires-Dist: future (==0.15.2)
|
|
21
20
|
|
|
22
21
|
PyOTP - The Python One-Time Password Library
|
|
23
22
|
============================================
|
|
@@ -33,6 +32,8 @@ Authenticator <https://en.wikipedia.org/wiki/Google_Authenticator>`_, `Authy <ht
|
|
|
33
32
|
compatible app. Users can set up auth tokens in their apps easily by using their phone camera to scan `otpauth://
|
|
34
33
|
<https://github.com/google/google-authenticator/wiki/Key-Uri-Format>`_ QR codes provided by PyOTP.
|
|
35
34
|
|
|
35
|
+
We recommend that implementers read the `OWASP Authentication Cheat Sheet <https://www.owasp.org/index.php/Authentication_Cheat_Sheet>`_ and `NIST SP 800-63-3: Digital Authentication Guideline <https://pages.nist.gov/800-63-3/>`_ for a high level overview of authentication best practices.
|
|
36
|
+
|
|
36
37
|
Quick overview of using One Time Passwords on your phone
|
|
37
38
|
--------------------------------------------------------
|
|
38
39
|
|
|
@@ -97,13 +98,13 @@ Working example
|
|
|
97
98
|
|
|
98
99
|
Scan the following barcode with your phone, using Google Authenticator
|
|
99
100
|
|
|
100
|
-
|
|
101
|
+
.. image:: http://chart.apis.google.com/chart?cht=qr&chs=250x250&chl=otpauth%3A%2F%2Ftotp%2Falice%40google.com%3Fsecret%3DJBSWY3DPEHPK3PXP
|
|
101
102
|
|
|
102
103
|
Now run the following and compare the output::
|
|
103
104
|
|
|
104
105
|
import pyotp
|
|
105
106
|
totp = pyotp.TOTP("JBSWY3DPEHPK3PXP")
|
|
106
|
-
print
|
|
107
|
+
print("Current OTP:", totp.now())
|
|
107
108
|
|
|
108
109
|
Links
|
|
109
110
|
~~~~~
|
|
@@ -116,15 +117,15 @@ Links
|
|
|
116
117
|
* `RFC 6238: TOTP: Time-Based One-Time Password Algorithm <https://tools.ietf.org/html/rfc6238>`_
|
|
117
118
|
* `ROTP <https://github.com/mdp/rotp>`_ - Original Ruby OTP library by `Mark Percival <https://github.com/mdp>`_
|
|
118
119
|
* `OTPHP <https://github.com/lelag/otphp>`_ - PHP port of ROTP by `Le Lag <https://github.com/lelag>`_
|
|
120
|
+
* `OWASP Authentication Cheat Sheet <https://www.owasp.org/index.php/Authentication_Cheat_Sheet>`_
|
|
121
|
+
* `NIST SP 800-63-3: Digital Authentication Guideline <https://pages.nist.gov/800-63-3/>`_
|
|
119
122
|
|
|
120
123
|
.. image:: https://img.shields.io/travis/pyotp/pyotp.svg
|
|
121
124
|
:target: https://travis-ci.org/pyotp/pyotp
|
|
122
|
-
.. image:: https://img.shields.io/
|
|
123
|
-
:target: https://
|
|
125
|
+
.. image:: https://img.shields.io/codecov/c/github/pyotp/pyotp/master.svg
|
|
126
|
+
:target: https://codecov.io/github/pyotp/pyotp?branch=master
|
|
124
127
|
.. image:: https://img.shields.io/pypi/v/pyotp.svg
|
|
125
128
|
:target: https://pypi.python.org/pypi/pyotp
|
|
126
|
-
.. image:: https://img.shields.io/pypi/dm/pyotp.svg
|
|
127
|
-
:target: https://pypi.python.org/pypi/pyotp
|
|
128
129
|
.. image:: https://img.shields.io/pypi/l/pyotp.svg
|
|
129
130
|
:target: https://pypi.python.org/pypi/pyotp
|
|
130
131
|
.. image:: https://readthedocs.org/projects/pyotp/badge/?version=latest
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
pyotp/__init__.py,sha256=3I4NkdbXw4iHBbtfL7-dbNv8XZn0EUzS0Fc1riI1CJ8,485
|
|
2
|
+
pyotp/compat.py,sha256=QVb4buImn4PyP0qe5uLiXsO2-p4ItTGl01Vbt2dILNE,222
|
|
3
|
+
pyotp/hotp.py,sha256=npnuKlg4NWg5XLv2p3cMrDbtjZB24hpeQVNquFpMZdM,1467
|
|
4
|
+
pyotp/otp.py,sha256=pyX-Rdo6AyyRAotMv-rAOQh82JtXp5tfCreIKmIq93E,2262
|
|
5
|
+
pyotp/totp.py,sha256=2gk1cr-F3G8QBbkdSLggmKmWhEB3NqcQbhJTs6sAlvs,2561
|
|
6
|
+
pyotp/utils.py,sha256=VTt1Dy_zR7YuhiNngYrrCmNBwroEYPpnl33rB1RO9p0,3310
|
|
7
|
+
pyotp-2.2.4.dist-info/DESCRIPTION.rst,sha256=_DHPmEMWwU2DG7zN4cfuQp2THY2GqJnMD4SJwwx1uk4,5138
|
|
8
|
+
pyotp-2.2.4.dist-info/METADATA,sha256=S-HdzGqhANkglB7IcKN5EYdk1Fu12bGF7xjBMxNsrgM,5834
|
|
9
|
+
pyotp-2.2.4.dist-info/RECORD,,
|
|
10
|
+
pyotp-2.2.4.dist-info/WHEEL,sha256=o2k-Qa-RMNIJmUdIc7KU6VWR_ErNRbWNlxDIpl7lm34,110
|
|
11
|
+
pyotp-2.2.4.dist-info/metadata.json,sha256=0mlcDG4g6Q5r5KRX2wwT2_L7vEhqnTtg_Rh36hZld2w,825
|
|
12
|
+
pyotp-2.2.4.dist-info/top_level.txt,sha256=rFDgz6Sm4nbkYk6tlSRiMcJPyYdnY6LcZiAaYTxVc5k,6
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules"], "extensions": {"python.details": {"contacts": [{"email": "kislyuk@gmail.com", "name": "PyOTP contributors", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "https://github.com/pyotp/pyotp"}}}, "
|
|
1
|
+
{"classifiers": ["Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules"], "extensions": {"python.details": {"contacts": [{"email": "kislyuk@gmail.com", "name": "PyOTP contributors", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "https://github.com/pyotp/pyotp"}}}, "generator": "bdist_wheel (0.29.0)", "license": "BSD License", "metadata_version": "2.0", "name": "pyotp", "platform": "MacOS X", "summary": "Python One Time Password Library", "version": "2.2.4"}
|
pyotp-2.1.1.dist-info/RECORD
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
pyotp/__init__.py,sha256=HCOojFdfZ88AopalrkxUzVNNDypuGP6mA1LAEZ1xvP8,426
|
|
2
|
-
pyotp/hotp.py,sha256=Qzfh7EFakDjoUtWdgA27QskyHfbIiBh9qonW_OJuqGY,1411
|
|
3
|
-
pyotp/otp.py,sha256=gCOWNXaAy6kIC7PgG4BP6ziZMur_xdQ0ja0Ig0kFzt4,2314
|
|
4
|
-
pyotp/totp.py,sha256=yyXMzEv9EREdN6uRnV18uPWgRHvj4Ne8rRIMPTsC_Cs,2488
|
|
5
|
-
pyotp/utils.py,sha256=9KCeOhwFQLvvR0ZCmICFta_KJ4P6It5OXu_MbKKxpZw,2454
|
|
6
|
-
pyotp-2.1.1.dist-info/DESCRIPTION.rst,sha256=5zAiiWMILqZD0S3kDsNUlYoNdl2aC6yaquMM2cCRAE0,4756
|
|
7
|
-
pyotp-2.1.1.dist-info/METADATA,sha256=yTfStPYLt0lEi-0zg8r9eCmXT5EUyKpRtAYttNQWtlA,5485
|
|
8
|
-
pyotp-2.1.1.dist-info/RECORD,,
|
|
9
|
-
pyotp-2.1.1.dist-info/WHEEL,sha256=o2k-Qa-RMNIJmUdIc7KU6VWR_ErNRbWNlxDIpl7lm34,110
|
|
10
|
-
pyotp-2.1.1.dist-info/metadata.json,sha256=UJgA93oVX64ATRm0avzkRnjMwXaEjgqe9AE-IIDAgvg,894
|
|
11
|
-
pyotp-2.1.1.dist-info/top_level.txt,sha256=rFDgz6Sm4nbkYk6tlSRiMcJPyYdnY6LcZiAaYTxVc5k,6
|
|
File without changes
|
|
File without changes
|