Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | switch to py3 on docs job (#4230) | Paul Kehrer | 2018-05-12 | 1 | -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 Kehrer | 2018-05-12 | 1 | -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 Wolfe | 2017-10-19 | 1 | -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 Kehrer | 2017-07-06 | 1 | -0/+8 |
| | |||||
* | strongly encourage the use of fernet, document its limitation (#3623) | Paul Kehrer | 2017-05-27 | 1 | -0/+7 |
| | |||||
* | Removed dead link from docs (#3360) | Alex Gaynor | 2017-01-21 | 1 | -3/+2 |
| | |||||
* | fix a docs typo and convert it to a doctest to prevent future problems | Paul Kehrer | 2015-09-04 | 1 | -22/+24 |
| | |||||
* | Mention bcrypt and scrypt. | Terry Chia | 2015-08-30 | 1 | -1/+2 |
| | |||||
* | Fix imports and wordings. | Terry Chia | 2015-08-29 | 1 | -5/+6 |
| | |||||
* | Fixed PBKDF2 class target. | Terry Chia | 2015-08-29 | 1 | -1/+1 |
| | |||||
* | Fix link. | Terry Chia | 2015-08-29 | 1 | -1/+1 |
| | |||||
* | Add some text regarding using passwords with Fernet. | Terry Chia | 2015-08-29 | 1 | -0/+38 |
| | |||||
* | Update fernet.rst - removed a word! | Fran Fitzpatrick | 2015-08-25 | 1 | -1/+1 |
| | |||||
* | Remove extra space. | Terry Chia | 2015-03-28 | 1 | -1/+1 |
| | |||||
* | Attempt to explain MultiFernet better. | Terry Chia | 2015-03-26 | 1 | -2/+4 |
| | |||||
* | added docs stuff on when added | Alex Gaynor | 2014-10-20 | 1 | -0/+2 |
| | |||||
* | Added docs for multifernet | Alex Gaynor | 2014-10-20 | 1 | -3/+31 |
| | |||||
* | Fix a mistake in a docs link | Alex Gaynor | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Simplified exception message | Ayrx | 2014-05-17 | 1 | -6/+2 |
| | |||||
* | Fixed TypeError and added documentation | Ayrx | 2014-05-17 | 1 | -2/+8 |
| | |||||
* | Standardise on sentence case for titles | Alex Stapleton | 2014-03-18 | 1 | -1/+1 |
| | |||||
* | s/which/that/ | Alex Stapleton | 2014-02-08 | 1 | -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 Fernet | Alex Gaynor | 2014-01-23 | 1 | -0/+17 |
| | |||||
* | Spell a word correctly | Alex Gaynor | 2014-01-06 | 1 | -1/+1 |
| | |||||
* | Rearange sentence on recommendation of @jacobian | Alex Gaynor | 2013-12-31 | 1 | -3/+3 |
| | |||||
* | Linkify this | Alex Gaynor | 2013-12-20 | 1 | -6/+9 |
| | |||||
* | Make into a warning as suggested by @dstufft | Alex Gaynor | 2013-12-20 | 1 | -4/+7 |
| | |||||
* | Reword slightly | Alex Gaynor | 2013-12-20 | 1 | -4/+4 |
| | |||||
* | Mention that the timestamp is plaintext | Alex Gaynor | 2013-12-17 | 1 | -1/+4 |
| | |||||
* | Use the term fernet token | Alex Gaynor | 2013-12-17 | 1 | -11/+13 |
| | |||||
* | Include more info in the title | Alex Gaynor | 2013-12-17 | 1 | -2/+2 |
| | |||||
* | Document the other consequence of losing your key | Alex Gaynor | 2013-12-16 | 1 | -1/+3 |
| | |||||
* | An API for generating keys | Alex Gaynor | 2013-11-22 | 1 | -7/+6 |
| | |||||
* | More info in the docs | Alex Gaynor | 2013-11-22 | 1 | -4/+14 |
| | |||||
* | Fixed a typo | Alex Gaynor | 2013-11-21 | 1 | -4/+6 |
| | |||||
* | fix | Alex Gaynor | 2013-10-31 | 1 | -1/+0 |
| | |||||
* | Fixed keylength in example | Alex Gaynor | 2013-10-31 | 1 | -1/+1 |
| | |||||
* | Be explicit | Alex Gaynor | 2013-10-31 | 1 | -1/+3 |
| | |||||
* | Improve the docs | Alex Gaynor | 2013-10-31 | 1 | -1/+4 |
| | |||||
* | Docs | Alex Gaynor | 2013-10-31 | 1 | -0/+48 |