Upload the file

Created on 1 June 2023, almost 2 years ago

Problem/Motivation

Having the keys in directory, outside the web tree is nice. But there's a problem with this: What if the site builder doesn't have SSH or FTP access to upload the file?. Placing the file on the server with an hook_update_N() it's also a no-go, because the secret keys will end in code and that's bad as the code might be public.

If an upload option was available, the site builder could upload the key file in the private:// file system, which is not available to the public, and in the majority of Drupal installations is outside the web tree.

Steps to reproduce

N/A

Proposed resolution

  • Add the a feature that allows to upload the key file.
  • An existing file would be overridden.

Remaining tasks

None.

User interface changes

An upload button just under the "File location" form element will be exposed in the key form when the provider is "File".

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024