Problem/Motivation
The README currently describes how to configure the module but it does not explain the process for generating a key. Providing a sample command for generating the key or a link to documentation from a third-party source would be very helpful for newcomers who are interested in checking this module out.
Issue fork real_aes-3273429
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mrweiner commentedhttps://www.drupal.org/project/sodium includes this in their documentation:
This is essentially the same as mentioned on https://www.daggerhartlab.com/how-to-setup-encrypt-module-for-drupal-8/
So I think this is the answer, although I haven't tested yet.
Comment #4
mrweiner commentedConfirmed that the command from #2 works as expected. MR updates the README to include these instructions.
Comment #5
ptmkenny commentedThanks for this! I made a few more changes:
Comment #6
mrweiner commentedThe Configuration provider can be used during development, but do not use it on a production website.Not sure this is gramatically correct. We can keep the first half if desired, but the second half should likely still read "but should not be used on a production website."
Comment #7
ptmkenny commentedThanks for the correction. I rewrote the message to be more clear.
Comment #8
kopeboyI confirm that #2 works
Comment #11
rlhawkThanks!
Comment #13
chrisla commentedIt would be nice to specify in the instructions that the command is for a 256-bit key, especially since 128-bit is the default setting when creating a key
Comment #14
gregglesI created #3455949: Create new stable release for 8.x-2.6 which would get these instructions in a stable release.