Problem/Motivation

After 4193ed45 an exception is thrown when .easy_encryption does not exist on disk preventing all further code execution including preventing attempting to create the directory at https://git.drupalcode.org/project/easy_encryption/-/blob/4193ed4537161d...

This additionally stops the fallback to creating a non-disk based storage.

Cursory glance it also appears this might stop importing keys as well.

Steps to reproduce

Install the module fresh when .easy_encryption folder does not exist
Key generation fails during install
Uninstall easy_encryption,
Downgrade to RC5
Reinstall easy_encryption observe success

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

cmlara created an issue. See original summary.

mxr576’s picture

Status: Active » Fixed

Hi Conrad, thanks for catching this critical bug. Clearly the fix turned out not to be as straightforward as I initially assumed. I appreciate you digging into it and highlighting the issue so quickly.

Fixed in RC7 https://git.drupalcode.org/project/easy_encryption/-/compare/1.0.0-rc6.....

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • mxr576 committed 0c0e72e2 on 1.0.x
    Do not resolve private key directory
    
    because it could break module...

  • mxr576 committed d006812f on 1.0.x
    Do not pre-create private key directory in tests
    
    because that could...
mxr576’s picture

Status: Fixed » Closed (fixed)