Hi,
I am giving encrypted keys in OSGI configuration, but keys are getting unprotected(decrypted) without using crypto. Unprotect () in backend. Can anyone please help me why this issue is happening.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @HariniVR
Please refer to this blogs: https://www.nextrow.com/blog/adobe-experience-manager/crypto-support-in-aem-to-encrypt-decrypt-data
The encrypted value generated for the same plain-text string will differ from one AEM instance to another instance because keys are unique to each instance. Thus, its the AEM only who can encrypt and decrypt.
Hello @HariniVR
Please refer to this blogs: https://www.nextrow.com/blog/adobe-experience-manager/crypto-support-in-aem-to-encrypt-decrypt-data
The encrypted value generated for the same plain-text string will differ from one AEM instance to another instance because keys are unique to each instance. Thus, its the AEM only who can encrypt and decrypt.
Thanks for the reply, now got it.
Views
Replies
Total Likes
Hi @HariniVR
AEM provides a Configuration Plugin to decrypt configuration properties. This AEM Plugin will automatically decrypt and retrieve the clear text from osgi properties.