summaryrefslogtreecommitdiff
path: root/passlib/tests/test_totp.py
Commit message (Expand)AuthorAgeFilesLines
* python compat cleanup -- use magic super() callsEli Collins2020-10-061-1/+1
* cleanup old python compat -- replaced "unicode" alias in favor of "str"Eli Collins2020-10-061-2/+1
* cleanup old python compat -- removed some sys.version_info refsEli Collins2020-10-061-16/+6
* Merge from stableEli Collins2020-10-061-0/+2
|\
| * passlib.tests: silence some warnings, fix some MissingBackendError messagesEli Collins2020-10-031-0/+2
* | Merge from stableEli Collins2019-11-101-3/+3
|\ \ | |/
| * bugfix: passlib.totp: always prepend issuer to URIs (fixes issue 92)Eli Collins2019-11-091-3/+3
* | compat cleanup: replaced all u("") instances with u""Eli Collins2017-02-171-8/+8
|/
* passlib.tests: silence some more scrypt backend warnings,Eli Collins2017-01-301-3/+12
* passlib.tests.test_totp: fixed max_time_t calculation to trap some errorsEli Collins2017-01-221-9/+39
* passlib.tests: large refactor to make all tests that depend on RNG behaveEli Collins2016-11-211-18/+22
* totp: TOTP.normalize_token() turned into hybrid method, made public;Eli Collins2016-11-101-7/+26
* totp: added cache_seconds to TotpMatch repr, fixed py3 bug in UTsEli Collins2016-11-101-1/+1
* totp: removed 'reuse' keyword from match(), no valid use-caseEli Collins2016-11-101-10/+2
* totp: fixed edge case where default issuer was being inserted into json string.Eli Collins2016-11-091-0/+9
* totp: simplified AppWallet secret resolution codeEli Collins2016-11-091-4/+4
* totp: consolidated key parsing code, clarified AppWallet behavior,Eli Collins2016-11-091-2/+2
* totp tests: merged old _BaseOTPTest class into primary TotpTest class.Eli Collins2016-11-081-222/+151
* totp: renamed TOTP.verify() to TOTP.match(); added new TOTP.verify() in it's ...Eli Collins2016-11-081-37/+73
* totp: OTPContext no longer frontend, reduced down to merely holdingEli Collins2016-11-081-135/+106
* totp: added TOTP.using() for constructing TOTP factories with custom configur...Eli Collins2016-11-081-19/+42
* bugfix: totp: TOTP.from_source() should return new object if contexts are dif...Eli Collins2016-11-081-0/+10
* totp: added TOTP.from_source() frontend which detects serialization format,Eli Collins2016-11-081-10/+192
* totp: in place of stateful TOTP methods, expanded the TotpMatch() objectEli Collins2016-11-071-1/+10
* totp: stripped out the 'stateful' methods (TOTP.advance, TOTP.consume, and TO...Eli Collins2016-11-071-198/+18
* totp: no functional code changes, just combined the BaseOTP and TOTP classes,Eli Collins2016-11-071-0/+3
* totp: stripping out HOTP support -- not generally used/useful in the real worldEli Collins2016-11-071-684/+1
* totp: large cleanup of the API: removed skew prediction, tweaked structureEli Collins2016-10-031-263/+212
* bugfix: test_totp: py3 compat fixes (forgot to mark some byte strings)Eli Collins2016-07-171-4/+4
* bugfix: test_totp: skip encryption tests when AES support not presentEli Collins2016-07-151-8/+12
* passlib.totp: large refactoring of API, added support for migration applicati...Eli Collins2016-07-121-369/+513
* bugfix: test_totp: dynamically work out max value of host's time_t;Eli Collins2016-06-261-1/+11
* bugfix: passlib.totp: add missing import to UTs; add 'cryptography' package t...Eli Collins2016-06-101-0/+1
* passlib.tests.test_totp: use proper timing tool for runtime measurement,Eli Collins2016-06-101-9/+6
* passlib.totp: converted encrypt_key() helper to use AES-CTR via 'cryptography...Eli Collins2016-06-101-20/+46
* relocated many of the crypto routes inside passlib.utils,Eli Collins2016-02-101-15/+8
* misc test bugfixesEli Collins2015-07-261-3/+15
* passlib.totp: py26 compat fix: patch urlparse to recognize otpauth schemeEli Collins2015-07-231-1/+1
* test_totp: base64.b16decode() error type has different cross-version behaviorEli Collins2015-01-251-9/+12
* relaxed time limit on totp test for slow jenkins server :)Eli Collins2015-01-251-1/+1
* bugfix: test_totp: binascii.Error() new in py33, py32 still has py2x behaviorEli Collins2015-01-251-1/+1
* totp: changed DEFAULT_OFFSET to 0.Eli Collins2015-01-101-2/+4
* removed a LOT of compatibility shims -- dropped python 2.5, 3.0, and 3.1 supp...Eli Collins2015-01-101-1/+1
* TOTP implementation mostly finalizeEli Collins2015-01-091-10/+2075
* added passlib.totp -- TOTP (google authenticator) support.Eli Collins2013-05-071-0/+33