Open lubomirw opened 1 year ago
What if the password used to derive the encryption key will be changed in the future? What will happen? The system will be unable to decrypt the secrets and will stop working. Can you change the password? Can you recover somehow? Is there any seamless migration from one encryption to another?
Content of attribute with
secret
content type is now stored in DB as plain text. Even we rely on encryption of DB itself, we cannot enforce encrypting of DB itself. Therefore it is suitable to store sensitive data encrypted.Implement encryption and decryption of sensitive attribute content based on implementation used in Software-Cryptography-Provider (SecretsUtil).