Opened 5 years ago

Closed 2 years ago

#30360 closed New feature (fixed)

Support rotation of secret keys.

Reported by: Andreas Pelme Owned by: tim-schilling
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Ryan Hiebert Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Andreas Pelme)

Having the possibility to rotate the secret key would be nice.

See the discussion in django-developers for a longer explanation and discussion.

Change History (11)

comment:1 by Andreas Pelme, 5 years ago

I have started working on this and will work on it during the Djangocon 2019 sprints tomorrow.

comment:2 by Andreas Pelme, 5 years ago

Has patch: set
Needs documentation: set
Needs tests: set
Patch needs improvement: set

comment:3 by Andreas Pelme, 5 years ago

Description: modified (diff)
Summary: Pluggable secret key backendSupport rotation of secret keys

comment:4 by Mariusz Felisiak, 5 years ago

Summary: Support rotation of secret keysSupport rotation of secret keys.
Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature
Version: 2.2master

comment:5 by Ryan Hiebert, 5 years ago

Cc: Ryan Hiebert added

comment:6 by Carlton Gibson, 2 years ago

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:7 by Carlton Gibson, 2 years ago

Owner: changed from Andreas Pelme to tim-schilling

New PR adding SECRET_KEY_FALLBACKS based on discussion/reviews of previous approaches.

comment:8 by Mariusz Felisiak, 2 years ago

Needs documentation: set
Needs tests: set
Patch needs improvement: set

comment:9 by Mariusz Felisiak, 2 years ago

Needs tests: unset
Patch needs improvement: unset

comment:10 by Mariusz Felisiak, 2 years ago

Needs documentation: unset
Triage Stage: AcceptedReady for checkin

comment:11 by Mariusz Felisiak <felisiak.mariusz@…>, 2 years ago

Resolution: fixed
Status: assignedclosed

In 0dcd549b:

Fixed #30360 -- Added support for secret key rotation.

Thanks Florian Apolloner for the implementation idea.

Co-authored-by: Andreas Pelme <andreas@…>
Co-authored-by: Carlton Gibson <carlton.gibson@…>
Co-authored-by: Vuyisile Ndlovu <terrameijar@…>

Note: See TracTickets for help on using tickets.
Back to Top