make it harder to steal the bakery shared secret by splitting it into part database and part settings.php

Created on 15 August 2012, almost 13 years ago
Updated 15 May 2025, 28 days ago

Currently the entire shared secret is stored in the database. This can lead to inappropriate sharing of that information if a database backup is shared without being sanitized or a sql injection vulnerability. Drupal 7's password hashing uses a system of putting some information into the database and some in settings.php

So:
1. We need to start combining the key from the database and the $conf[''] in settings.php
2. We need to stop letting people enter the whole key in the admin interface and give documentation on how to set part of it in settings.php

This issue was discussed in private on s.d.o first and is now public after agreement on a new policy.

✨ Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States greggles Denver, Colorado, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024