Add Key module dependency to (optionally) store credentials outside the database

Created on 6 May 2020, about 4 years ago
Updated 5 June 2024, 24 days ago

Raised from here and comments below β†’ .

To really make sense of using different settings like recommended using the settings.php file, for example to change PW storage behaviour for SMTP from config to DB, like stated in the link above, we need to change the behaviour that passwords are stored as clear text since clear text passwords in databases are evil().

Or we need an option to change that in case we want to store the password in the database.

πŸ“Œ Task
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany diqidoq Berlin | Hamburg | New York | London | Paris

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom altcom_nh

    I have redone the patch for the latest version (8.x-1.2) as patch #24 wouldn't apply.
    I have tweaked the code to make the use of the Key module optional.

  • πŸ‡¬πŸ‡§United Kingdom altcom_nh

    I have been looking at how https://www.drupal.org/project/smtp/issues/3102055 ✨ Implement OAuth to support GMail/GSuite accounts Needs review have added support for a Gmail Oauth key authentication and think that utilising that code is a better way to go as it is also being actively developed. I have done a patch that is dependent on that code. If it gets merged in it makes it straight forward to add support for Key based authentication (and any other future authentication).

Production build 0.69.0 2024