mirror of https://github.com/pallets/flask.git
The `itsdangerous` serializer interface[1] expects keys to be provided with the oldest key at index zero and the active signing key at the end of the list. We document[2] that `SECRET_KEY_FALLBACKS` should be configured with the most recent first (at index zero), so to achieve the expected behaviour, those should be inserted in reverse-order at the head of the list. [1] - https://itsdangerous.palletsprojects.com/en/stable/serializer/#itsdangerous.serializer.Serializer [2] - https://flask.palletsprojects.com/en/stable/config/#SECRET_KEY_FALLBACKS |
||
---|---|---|
.. | ||
static | ||
templates | ||
test_apps | ||
type_check | ||
conftest.py | ||
test_appctx.py | ||
test_async.py | ||
test_basic.py | ||
test_blueprints.py | ||
test_cli.py | ||
test_config.py | ||
test_converters.py | ||
test_helpers.py | ||
test_instance_config.py | ||
test_json.py | ||
test_json_tag.py | ||
test_logging.py | ||
test_regression.py | ||
test_reqctx.py | ||
test_request.py | ||
test_session_interface.py | ||
test_signals.py | ||
test_subclassing.py | ||
test_templating.py | ||
test_testing.py | ||
test_user_error_handler.py | ||
test_views.py |