summaryrefslogtreecommitdiff
path: root/tests/signing
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33199 -- Deprecated passing positional arguments to ↵SirAbhi132022-12-091-22/+42
| | | | | | Signer/TimestampSigner. Thanks Jacob Walls for the implementation idea.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-78/+83
|
* Fixed #30360 -- Added support for secret key rotation.tschilling2022-02-011-1/+34
| | | | | | | | Thanks Florian Apolloner for the implementation idea. Co-authored-by: Andreas Pelme <andreas@pelme.se> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Vuyisile Ndlovu <terrameijar@gmail.com>
* Fixed #32712 -- Deprecated django.utils.baseconv module.Hasan Ramezani2021-05-071-0/+7
|
* Refs #31842 -- Removed DEFAULT_HASHING_ALGORITHM transitional setting.Mariusz Felisiak2021-01-141-17/+1
| | | | Per deprecation timeline.
* Refs #27468 -- Removed support for the pre-Django 3.1 signatures in Signer ↵Mariusz Felisiak2021-01-141-17/+1
| | | | | | and signing.dumps()/loads(). Per deprecation timeline.
* Refs #32191 -- Added Signer.sign_object()/unsign_object().Florian Apolloner2021-01-061-0/+16
| | | | Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
* Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting.Mariusz Felisiak2020-08-041-1/+17
| | | | | | | | | It's a transitional setting helpful in migrating multiple instance of the same project to Django 3.1+. Thanks Markus Holtermann for the report and review, Florian Apolloner for the implementation idea and review, and Carlton Gibson for the review.
* Refs #27468 -- Fixed TestSigner.test_dumps_loads_legacy_signature.Mariusz Felisiak2020-08-011-1/+2
| | | Added in 1d6fdca557e674b9a789b51caadca8985e588492.
* Refs #27468 -- Added tests and release notes for signing.dumps()/loads() ↵Mariusz Felisiak2020-07-311-0/+7
| | | | | | changes. Follow up to 71c4fb7beb8e3293243140e4bd74e53989196440.
* Refs #27468 -- Changed default Signer algorithm to SHA-256.Claude Paroz2020-04-151-4/+43
|
* Added tests for signing non-string values and updated docs.Claude Paroz2020-01-301-0/+15
|
* Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham2017-02-091-1/+1
|
* Refs #27795 -- Removed force_text from the template layerClaude Paroz2017-02-071-2/+2
| | | | Thanks Tim Graham for the review.
* Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis2017-01-261-1/+1
|
* Refs #23919 -- Removed unneeded force_str callsClaude Paroz2017-01-201-2/+1
|
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-5/+0
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-6/+3
|
* Fixed #26331 -- Fixed test function names with typosGeorge Marshall2016-03-071-1/+1
|
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-5/+6
|
* Refs #22804 -- Made an unsafe value of 'sep' in Signer an exception.Tim Graham2015-09-231-6/+2
| | | | Per deprecation timeline.
* Fixed #22804 -- Added warning for unsafe value of 'sep' in SignerDavid Wolever2015-07-071-0/+18
| | | | Thanks Jaap Roes for completing the patch.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+3
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Fixed #23792 -- Added test.utils.freeze_time() context manager.Thomas Chaumeny2014-12-221-13/+5
|
* Fixed #21363 -- Added datetime.timedelta support to TimestampSigner.unsign().Berker Peksag2014-11-151-1/+6
|
* Replaced deprecated assertEqualsClaude Paroz2014-02-281-1/+1
|
* Fixed #19980: Signer broken for binary keys (with non-ASCII chars).MattBlack852014-02-161-0/+6
| | | | | | With this pull request, request #878 should considered closed. Thanks to nvie for the patch.
* Removed superfluous models.py files.Aymeric Augustin2013-12-171-1/+0
| | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module.
* Fixing E302 ErrorsJason Myers2013-11-021-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-2/+2
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Replaced "not PY3" by "PY2", new in six 1.4.0.Aymeric Augustin2013-09-021-2/+2
|
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+128