| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | finished up UTs for scram hash | Eli Collins | 2012-01-10 | 2 | -8/+34 |
| | | |||||
| * | added example hashes to scram documentation, other doc tweaks | Eli Collins | 2012-01-10 | 1 | -9/+10 |
| | | |||||
| * | documented some dev code used to test against SCRAM examples | Eli Collins | 2012-01-09 | 1 | -147/+154 |
| | | |||||
| * | lots of work on scram hash | Eli Collins | 2012-01-09 | 9 | -123/+724 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | handler ------- * added 'scram' to default registry list * handler 'algs' keyword now parsed & validated correctly * digest names normalized -> IANA spec * saslprep() integrated into code * added config string format related ------- * added documentation (still needs cleaning up though) * added majority of UTs, still need to add a few edge cases other ----- * redid context->handler deprecation link - code now looks for handler._deprecated_detector(settings) to generate a callable, should be more efficient, and allow errors to be throw at bind-time instead of call-time. * pbkdf2() function now treats keylen = -1 as request for keylen = PRF digest size. | ||||
| * | updated scram for py3 compat | Eli Collins | 2012-01-09 | 1 | -9/+10 |
| | | |||||
| * | Merge default | Eli Collins | 2012-01-09 | 1 | -0/+289 |
| |\ | |||||
| | * | initial draft of SCRAM-specific hash storage format (issue 23) -- | Eli Collins | 2011-12-05 | 1 | -0/+289 |
| | | | | | | | | | this is not yet functional, just a quick draft of an interface, along with some notes | ||||
| * | | clarified border case where verify() accepted configuration strings instead ↵ | Eli Collins | 2012-01-09 | 12 | -22/+76 |
| | | | | | | | | | of throwing ValueError for some handlers | ||||
| * | | minor fixes | Eli Collins | 2012-01-09 | 2 | -3/+4 |
| | | | |||||
| * | | builtin implementations of md5_crypt and sha256/512_crypt sped up by about 25% | Eli Collins | 2012-01-05 | 3 | -137/+151 |
| | | | |||||
| * | | renamed utils.timer -> utils.tick | Eli Collins | 2012-01-05 | 3 | -12/+12 |
| | | | |||||
| * | | context tweaks: | Eli Collins | 2012-01-02 | 2 | -8/+16 |
| | | | | | | | | | | | | | * _generate_rounds disables if 'rounds' specified in policy settings for hash. * KeyError will now be thrown if policy specifies setting not supported by handler. * set stacklevel for rounds bound warning so it matches where encrypt() was called. | ||||
| * | | minor doc changes | Eli Collins | 2012-01-02 | 1 | -0/+4 |
| | | | |||||
| * | | tests use assertRegex instead of assertRegexpMatches | Eli Collins | 2012-01-02 | 1 | -13/+18 |
| | | | |||||
| * | | CryptContext can now run passwords through SASLPrep via "passprep" options ↵ | Eli Collins | 2012-01-02 | 3 | -3/+122 |
| | | | | | | | | | [issue 24] | ||||
| * | | renamed test_drivers.py -> test_handlers.py to match name of module its testing | Eli Collins | 2011-12-28 | 3 | -9/+9 |
| | | | |||||
| * | | move vm constants to compat module | Eli Collins | 2011-12-28 | 4 | -10/+9 |
| | | | |||||
| * | | mvt code now uses time.clock() under win32 | Eli Collins | 2011-12-28 | 2 | -12/+41 |
| | | | |||||
| * | | removed Undef singleton, private _NOTSET singletons are cleaner. | Eli Collins | 2011-12-28 | 5 | -42/+14 |
| | | | |||||
| * | | deprecated to_hash_str, replaced all instances with to_native_str | Eli Collins | 2011-12-28 | 26 | -111/+115 |
| | | | | | | | | | | | | | decided that to_hash_str will always return native string, feature of hashes being returned as unicode under python 2 is better done through a CryptContext option. | ||||
| * | | misc fixes for py3 compat | Eli Collins | 2011-12-28 | 5 | -51/+54 |
| | | | |||||
| * | | updated some comments | Eli Collins | 2011-12-28 | 2 | -16/+9 |
| | | | |||||
| * | | Merge from default | Eli Collins | 2011-12-28 | 9 | -622/+1457 |
| |\ \ | |||||
| | * | | CryptPolicy rewrite part 2 | Eli Collins | 2011-12-27 | 4 | -605/+695 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactoring policy kwd parsing & separation with crypt context * internal record objects now part of context instead of policy. * min_verify_time now handled by record objects, now optimized away entirely if not used. * new interface to policy is currently private, will probably delay deprecated / revising public interface until next release. * creating policy & context objects is now 30% faster. * shortened code path when calling context objects now 14% faster. | ||||
| | * | | typo | Eli Collins | 2011-12-22 | 1 | -1/+1 |
| | | | | |||||
| | * | | PrefixWrapper: added .ident and .ident_values proxies; dir() now reports ↵ | Eli Collins | 2011-12-22 | 2 | -7/+91 |
| | | | | | | | | | | | | | proxies attrs | ||||
| | * | | large rewrite of how CryptPolicy is parsed and compiled; should result in ↵ | Eli Collins | 2011-12-22 | 4 | -437/+880 |
| | | | | | | | | | | | | | *much* shorter codepath when calling CryptContext.encrypt(), etc | ||||
| | * | | issue 24: added saslprep() function to support SASL stringprep profile; ↵ | Eli Collins | 2011-12-13 | 2 | -1/+197 |
| | | | | | | | | | | | | | still have to work it into Context object | ||||
| | * | | was browsing Python's source, and noticed crypt() might sometimes return None -- | Eli Collins | 2011-12-09 | 2 | -2/+17 |
| | |/ | |||||
| * | | typofix | Eli Collins | 2011-12-09 | 1 | -1/+1 |
| | | | |||||
| * | | removed 2to3 translation step from setup | Eli Collins | 2011-12-06 | 2 | -157/+1 |
| | | | |||||
| * | | couple of minor tweaks - basic unittests pass 2.7 & 3.2 | Eli Collins | 2011-12-06 | 6 | -15/+29 |
| | | | |||||
| * | | renamed belem_join to bjoin_elems (to be consistent with bjoin_ints); ↵ | Eli Collins | 2011-12-06 | 2 | -20/+10 |
| | | | | | | | | | removed bchrs (code uses bjoin_ints) | ||||
| * | | replaced all #Py3k# conditional includes | Eli Collins | 2011-12-06 | 5 | -245/+198 |
| | | | |||||
| * | | fixed conversion typo | Eli Collins | 2011-12-06 | 8 | -8/+8 |
| | | | |||||
| * | | ran a custom 2to3 fixer to replace all u"" with u() and add an import from ↵ | Eli Collins | 2011-12-06 | 27 | -288/+302 |
| | | | | | | | | | compat.u | ||||
| * | | added compat.unicode imports in a number of places | Eli Collins | 2011-12-06 | 27 | -16/+33 |
| | | | | | | | | | | | | | | | | | this distinguishes the types, so that for isinstance() tests... * 'unicode' always means the unicode type * 'bytes' always means the bytes type * 'str' always means the native string type | ||||
| * | | added compat.aliased lazy-loading module, aliases for BytesIO/StringIO | Eli Collins | 2011-12-06 | 5 | -50/+84 |
| | | | |||||
| * | | added print() alias | Eli Collins | 2011-12-06 | 2 | -3/+52 |
| | | | |||||
| * | | moved sys_bits to compat, added exc_err, removed utils.py32_lang | Eli Collins | 2011-12-06 | 6 | -21/+29 |
| | | | |||||
| * | | added compat.sb_types for testing isinstance(obj,(bytes,unicode)) | Eli Collins | 2011-12-06 | 2 | -2/+4 |
| | | | |||||
| * | | added get_method_function() to alias meth.im_func / meth.__func__ | Eli Collins | 2011-12-06 | 4 | -8/+26 |
| | | | |||||
| * | | replaced (int,long) instance checks with compat.int_types | Eli Collins | 2011-12-06 | 4 | -8/+13 |
| | | | |||||
| * | | added callable shim for 3.0-3.1 | Eli Collins | 2011-12-06 | 3 | -15/+14 |
| | | | |||||
| * | | replaced xrange() instances with compat.irange() alias | Eli Collins | 2011-12-06 | 13 | -41/+40 |
| | | | |||||
| * | | added compatibility module (passlib.utils.compat) | Eli Collins | 2011-12-06 | 11 | -36/+136 |
| | | | | | | | | | | | | | | | | | | | exports specialized range & map aliases, and some dict helpers * all dict.iteritems() calls replaced with compat.iteritems(dict) * all xrange() calls replaced with compat.irange() * all range() calls replaced with compat.trange() and compat.lrange() as appropriate * all map() calls replaced with compat.lmap() | ||||
| * | | branch exploring feasibility of removing need for 2to3 | Eli Collins | 2011-12-06 | 4 | -6/+7 |
| |/ | | | | this commit just fixes some error raises | ||||
| * | tweaked consteq so it should now take precisely the same time regardless of ↵ | Eli Collins | 2011-12-05 | 1 | -4/+6 |
| | | | | | length differences | ||||
| * | updated documentation to use some cloud_sptheme 1.3 features | Eli Collins | 2011-12-02 | 1 | -1/+3 |
| | | | | | | * escaped {} literals in *samp* roles - used on some doc pages * google analytics integration for pypi docs | ||||
| * | all verify() methods now use "constant time" comparison function (see ↵ | Eli Collins | 2011-12-01 | 4 | -10/+161 |
| | | | | | CHANGELOG for details) | ||||
