Open heikkivihersalo opened 1 month ago
WordPress already has LOGGED_IN_KEY
and LOGGED_IN_SALT
defined by default. This isn't loaded by default but if GOOGLESITEKIT_...
isn't defined, they will be loaded.
Solution could be just to improve documentation to mention to make sure that WordPress salts are setup correctly
Encrypt and decrypt doesn't currently use unique hashing. This can lead to security issues in production.
Setting following constants to wp-config can be set to address the problem but isn't the best user experience.
GOOGLESITEKIT_ENCRYPTION_KEY
GOOGLESITEKIT_ENCRYPTION_SALT
Using WordPress default salts and hashes should be investigated.