summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Back out changeset 53dc260cead7 -- restores argon2 to 16 byte hash output.Eli Collins2019-11-091-2/+0
| | | | | | | | | | | | | | | | per followup to original issue (https://bitbucket.org/ecollins/passlib/issues/88#comment-35296567) it was pointed out that citation for 32 byte hash output was out of date, and that argon2_cffi is correctly following the more up-to-date argon2 spec. this restores the stable branch to the 1.7.1 policy of following argon2_cffi's defaults.
| * fastpbk2 -> fastpbkdf2David Poggi2018-02-091-1/+1
| |
| * quickstart.rst: grammar fixesKenyon Ralph2019-01-121-9/+9
| |
| * docs: updated password generation section to endorse 'zxcvbn' over alternate ↵Thomas “graingert” Grainger2019-03-041-2/+2
| | | | | | | | forks
| * docs: updated password generation section to endorze 'zxcvbn-python' over ↵Eli Collins2017-06-061-15/+5
| | | | | | | | alternate forks
| * docs: updated rounds in bcrypt examples (fixes issue #91)Eli Collins2017-06-062-6/+6
| |
| * docs: pypi redirect msg replaced w/ cloud_sptheme's auto_redirect helper,Eli Collins2017-04-053-20/+27
| | | | | | | | building now uses $SPHINX_BUILD_TAGS env var.
| * argon2: set checksum size to 32, per issue 88.Eli Collins2017-03-041-0/+5
| | | | | | | | | | also setting salt length to fixed value, no longer relying on argon2_cffi's upstream settings for this.
* | Merged in drpoggi/passlib/drpoggi/fastpbk2-fastpbkdf2-1518202787739 (pull ↵Eli Collins2019-11-091-1/+1
|\ \ | | | | | | | | | | | | | | | request #6) fastpbk2 -> fastpbkdf2
| * | fastpbk2 -> fastpbkdf2David Poggi2018-02-091-1/+1
| | |
* | | quickstart.rst: grammar fixesKenyon Ralph2019-01-121-9/+9
|/ /
* | passlib.context: removed deprecated 'harden_verify' kwdEli Collins2017-01-302-14/+1
| |
* | Merge with stableEli Collins2017-01-3011-100/+203
|\ \ | |/
| * bumped to 1.7.1, related doc updates1.7.1Eli Collins2017-01-301-4/+4
| |
| * passlib.apache: updated internal commentsEli Collins2017-01-301-1/+1
| |
| * passlib.hash.bsdi_crypt.rst edited online with BitbucketJohn McLaughlin2017-01-291-1/+1
| | | | | | | | (grafted from 2a0ee135a56568ff8442cdbc2775adc1ae8f304f)
| * docs: requiring cloud_sptheme 1.8.2Eli Collins2017-01-302-2/+2
| |
| * minor update to docs & ignore fileEli Collins2017-01-301-5/+4
| |
| * bugfix: passlib.hash.cisco_pix & cisco_asa: major overhaul of internal ↵Eli Collins2017-01-305-59/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation, fixed a number of edge cases where we were generating the wrong thing. tests ----- * expanded test vectors, and ran them against an ASA 9.6 system. marked out all vectors that were verified on 9.6 system. found that user appending, and various size thresholds, weren't being performed correctly by cisco_pix & cisco_asa -- certain hashes generated prior to this will be "unverifiable" by a Cisco system. * consolidated shared pix & asa tests into common base class. * added test for "spoil_digest" codepath that's been added to cisco_pix _calc_digest() (see below). hashers ------- * cisco_pix & cisco_asa now reject too-large passwords, and silently return False when verifying them; to match Cisco behavior. updated truncate policy flags to match new behavior. * overhaul of _calc_checksum(), to fix identified issues, lay out guesses & reasoning, and added some citations. docs ---- * updated docs to list new algorithm, and conditions where the old code would generate a bad hash. * general cleanup of doc layout for these hashes * updated "Cisco Hashes" section to give better listing of known hash formats.
| * PasswordHash: hammered out more of password truncation policy.Eli Collins2017-01-301-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PasswordHash ------------- * .truncate_size now used to indicate general "max password size"; * .truncate_error now defined for all hashers, indicates .hash() policy * added .truncate_verify_reject as companion, indicates corresponding .verify() policy. HandlerTestCase --------------- * expanded test functions to check all combinations of truncation policy flags * fixed fuzzer so it doesn't generate passwords which would throw PasswordSizeError.
| * passlib.tests: silence some more scrypt backend warnings,Eli Collins2017-01-301-3/+3
| | | | | | | | fix max_time_t to catch yet another utcfromtimestamp() error.
| * Per issue 83, all "harden_verify" code is now deprecated & a noop.Eli Collins2017-01-293-39/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | will be removed completely in 1.8. Rationale: Aside from the arguments in issue 83, performed a timing analysis, and decided harden_verify framework wasn't going to be easily workable to prevent a timing attack anyways (see attached admin/plot_verify_timing.py script). Changes: * dummy_verify() has been kept around, but now uses .verify() against a dummy hash, which is guaranteed to have correct timing (though wastes cpu cycles). * Removed most harden_verify code, treating it as NOOP just like min_verify_time. Similarly, removed most documentation references to.
| * passlib.crypto.scrypt: reworked backend loader internalsEli Collins2017-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | * reworked backends so they're more pluggable. * added _has_backend() helper for UTs to use, instead of _load_backend() hack, which wasn't respecting dryrun flag. this is mainly in preparation for issue 86: adding backend to support stdlib's hashlib.scrypt().
* | passlib.hash.bsdi_crypt.rst edited online with BitbucketJohn McLaughlin2017-01-291-1/+1
| |
* | Merge with stableEli Collins2017-01-224-6/+14
|\ \ | |/
| * Fix typo in quickstartPavloKapyshin2017-01-101-1/+1
| | | | | | | | (grafted from 79e0a8831b10971a7aa47a2f919fd1fa045df6c8)
| * docs: make series naming uniformEli Collins2017-01-222-4/+4
| |
| * docs: update bcrypt docs to indicate correct default scheme (fixes issue 85)Eli Collins2017-01-222-2/+7
| | | | | | | | also corrects some other bits in bcrypt docs.
| * passlib.tests.test_totp: fixed max_time_t calculation to trap some errorsEli Collins2017-01-221-0/+3
| | | | | | | | it was errorneously letting through; also workaround for python 3.6 issue 29346.
* | Fix typo in quickstartPavloKapyshin2017-01-101-1/+1
| |
* | Merge from stableEli Collins2016-12-192-5/+7
|\ \ | |/
| * setup: removed unused 'docdist' helperEli Collins2016-12-191-2/+0
| |
| * docs: tweaked changelog content, pwd docstrings, added recent setup fix to ↵Eli Collins2016-12-051-3/+7
| | | | | | | | changelog
* | general: went ahead and removed a bunch of deprecated features that were ↵Eli Collins2016-11-287-34/+79
| | | | | | | | | | | | | | | | | | scheduled for removal in v1.8. this removes CryptPolicy, unix_fallback, some old HtpasswdFile methods, and more. tests were updated as well. see history/1.8 for a complete list.
* | docs: start 1.8 changelogEli Collins2016-11-284-4/+17
|/
* bugfix: utils: GenericHandler wasn't issuing deprecation warning if callerEli Collins2016-11-271-2/+11
| | | | | | | | | passed settings keywords to .encrypt() / .hash(). * Enabled warn() call, made it a DeprecationWarning * Audited test suite to - remove any (unintended) calls to .hash(**settings) - do assert check on warnings that *should* be there
* docs: wording tweaks, emphasized 1.7 changes in hash tutorial, added note ↵Eli Collins2016-11-272-37/+48
| | | | about saslprep()
* docs: minor wording corrections, replaced 'encrypt' with 'hash' in a bunch ↵Eli Collins2016-11-2536-74/+87
| | | | of places.
* docs: tweaks to layout, added warning for pythonhosted docsEli Collins2016-11-237-27/+50
|
* bugfix: docs: fix 'dev copy' detection in conf.pyEli Collins2016-11-221-2/+2
|
* docs: assorted cleanups, silence some doc build warningsEli Collins2016-11-221-0/+5
|
* docs: marked 1.7 release in changelog, various doc updatesEli Collins2016-11-224-68/+74
|
* passlib.utils: relocated a bunch of binary encoding helpers to .utils.binary ↵Eli Collins2016-11-2216-101/+121
| | | | submodule
* passlib.ext.django: large refactor to make things more isolated & testable.Eli Collins2016-11-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passlib.ext.django ------------------ * everything in .models relocated to the DjangoContextAdapter() class in .utils. all that's left in models is a couple of hooks. This consolidates all the model state into a single object, making it a lot easier to inspect and optimize. * consolidated a bunch of (undocumented) helper functions into DjangoTranslator() class, which now acts as based for DjangoContextAdapter. Translator instances handle converted passlib <-> django hashers, including caching speed-critical bits. * wrapper class now has guards against wrong type of hasher being passed in * wrapper class uses .using() instead of deprecated .hash(**kwds) format. * updated and confirmed passing tests w/ django 1.10.3 passlib.ext.django tests ------------------------ * split test wrapper for django's internal tests (HashersTest) into separate file, test_ext_django_source.py, to make it easier to run independantly. reworked to use patchAttr(wraps=True) rather than less flexible ContextHook() hack * tries to clean up HashersTest - adapts to django settings, fixed code syncing .iteration settings back to passlib hashers, * blocked out some django tests that we can't / won't pass, documented reasons why. other ----- * CryptContext: added temporary hack to access unpatched Hasher.needs_update() method. * PrefixWrapper: now proxies attr writes if it owns the wrapped hasher. * test utils: added wrap=True support to patchAttr(), for wrapping arbitrary functions.
* passlib.handlers.django: added support for django_argon2Eli Collins2016-11-223-13/+70
| | | | | | | * added django_argon2 wrapper & docs * added method for PrefixWrapper to generically preserve custom attrs when creating variants, so .django_name attr is persisted across .using() calls.
* bugfix: docs: added sphinx 'orphan' flag to silence errors about redirect pages.Eli Collins2016-11-205-0/+25
|
* docs: followup to prior commit -- adds stub pages so not to break inbound links.Eli Collins2016-11-205-0/+15
|
* docs: LARGE update to documentation, tutorials added, pages relocatedEli Collins2016-11-2049-625/+1841
| | | | | | | | | | | | | | | | * moved a bunch of pages into 'docs/narr' narrative subsection. added placeholder pages in old locations, to minimize inbound link breakage. * split history into separate pages, was getting way too long. removed toplevel CHANGES file, not feasible under new structure. * passlib.ifc split into reference & tutorial portions, tutorial allowed subsuming a bunch of other hash-usage examples. * added standard fragments for warning about insecure hashes, added them to top of a LOT of hash doc pages. * updated references, various layout tweaks
* setup: added extras for argon, bcrypt, totpEli Collins2016-11-191-0/+6
|
* docs: moving official doc urls to RTD, added https:// to a few urlsEli Collins2016-11-191-1/+1
|