aboutsummaryrefslogtreecommitdiffstats
path: root/docs/fernet.rst
Commit message (Collapse)AuthorAgeFilesLines
* switch to py3 on docs job (#4230)Paul Kehrer2018-05-121-9/+9
| | | | | | * switch to py3 on docs job * somehow unicode isn't a word
* Add support for extracting timestamp from a Fernet token (#4229)Paul Kehrer2018-05-121-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add API for retrieving the seconds-to-expiry for the token, given a TTL. * Process PR feedback: * Do compute the TTL, but just the age of the token. The caller can decided what to do next. * Factored out the HMAC signature verification to a separate function. * Fixed a copy&paste mistake in the test cases * Tests cleanup. * `struct` no longer needed * Document `def age()` * typo in `age()` documentation * token, not data * remove test for TTL expiry that is already covered by the parameterized `test_invalid()`. * let's call this extract_timestamp and just return timestamp * review comments * it's UNIX I know this
* Add Multifernet.rotate method (#3979)Chris Wolfe2017-10-191-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add rotate method * add some more tests for the failure modes * start adding some documentation for the rotate method * operate on a single token at a time, leave lists to the caller * add versionadded add versionadded, drop rotate from class doctest * give rotate a doctest * single level, not aligned * add changelog for mf.rotate * show that, once rotated, the old fernet instance can no longer decrypt the token * add the instead of just the how * update docs to reflect removal of ttl from rotate * update tests * refactor internal methods so that we can extract the timestamp * implement rotate * update wordlist (case sensitive?) * lints * consistent naming * get_token_data/get_unverified_token_data -> better name * doc changes * use the static method, do not treat as imethod * move up to MultiFernet docs * add to authors * alter wording * monkeypatch time to make it less possible for the test to pass simply due to calls occuring in less than one second * set the time after encryption to make sure that the time is preserved as part of re-encryption
* write some words about encrypt/decrypt in fernet (#3756)Paul Kehrer2017-07-061-0/+8
|
* strongly encourage the use of fernet, document its limitation (#3623)Paul Kehrer2017-05-271-0/+7
|
* Removed dead link from docs (#3360)Alex Gaynor2017-01-211-3/+2
|
* fix a docs typo and convert it to a doctest to prevent future problemsPaul Kehrer2015-09-041-22/+24
|
* Mention bcrypt and scrypt.Terry Chia2015-08-301-1/+2
|
* Fix imports and wordings.Terry Chia2015-08-291-5/+6
|
* Fixed PBKDF2 class target.Terry Chia2015-08-291-1/+1
|
* Fix link.Terry Chia2015-08-291-1/+1
|
* Add some text regarding using passwords with Fernet.Terry Chia2015-08-291-0/+38
|
* Update fernet.rst - removed a word!Fran Fitzpatrick2015-08-251-1/+1
|
* Remove extra space.Terry Chia2015-03-281-1/+1
|
* Attempt to explain MultiFernet better.Terry Chia2015-03-261-2/+4
|
* added docs stuff on when addedAlex Gaynor2014-10-201-0/+2
|
* Added docs for multifernetAlex Gaynor2014-10-201-3/+31
|
* Fix a mistake in a docs linkAlex Gaynor2014-06-301-1/+1
|
* Simplified exception messageAyrx2014-05-171-6/+2
|
* Fixed TypeError and added documentationAyrx2014-05-171-2/+8
|
* Standardise on sentence case for titlesAlex Stapleton2014-03-181-1/+1
|
* s/which/that/Alex Stapleton2014-02-081-2/+2
| | | | | Which is usually for descriptive clauses in technical writing, while that is restrictive. Most of the time we are being being restrictive.
* DOcument the primitives used in FernetAlex Gaynor2014-01-231-0/+17
|
* Spell a word correctlyAlex Gaynor2014-01-061-1/+1
|
* Rearange sentence on recommendation of @jacobianAlex Gaynor2013-12-311-3/+3
|
* Linkify thisAlex Gaynor2013-12-201-6/+9
|
* Make into a warning as suggested by @dstufftAlex Gaynor2013-12-201-4/+7
|
* Reword slightlyAlex Gaynor2013-12-201-4/+4
|
* Mention that the timestamp is plaintextAlex Gaynor2013-12-171-1/+4
|
* Use the term fernet tokenAlex Gaynor2013-12-171-11/+13
|
* Include more info in the titleAlex Gaynor2013-12-171-2/+2
|
* Document the other consequence of losing your keyAlex Gaynor2013-12-161-1/+3
|
* An API for generating keysAlex Gaynor2013-11-221-7/+6
|
* More info in the docsAlex Gaynor2013-11-221-4/+14
|
* Fixed a typoAlex Gaynor2013-11-211-4/+6
|
* fixAlex Gaynor2013-10-311-1/+0
|
* Fixed keylength in exampleAlex Gaynor2013-10-311-1/+1
|
* Be explicitAlex Gaynor2013-10-311-1/+3
|
* Improve the docsAlex Gaynor2013-10-311-1/+4
|
* DocsAlex Gaynor2013-10-311-0/+48