Expand my Community achievements bar.

SOLVED

CQ5 Crypto Support Feature

Avatar

Level 2

Hi All,

I have a requirement to encrypt the passwords that are currently set as free text.
I found that there is an option in CQ5 to encrypt passwords using '
Crypto Support'.

Could you please provide any documentation(if available) or instructions to make use of this feature.

As per few online comments, I navigated to localhost:4502/system/console/crypto and entered password in plain text and clicked protect. It generated a protected text however I'm not sure sure how to make use of it and also, it didnt generate hmac and master properties under /etc/key.

Thanks
MSR

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

Have you already checked the API docs[1]? If this isn't sufficient, I would recommend to raise a Daycare ticket for better documentation or more samples. I found some more aspects of it covered in these posts [2] and [3].

kind regards,
Jörg

 

[1] http://docs.adobe.com/docs/en/cq/current/javadoc/com/adobe/granite/crypto/CryptoSupport.html
[2] http://www.wemblog.com/2012/03/how-to-use-crypto-support-in-cq55.html
[3] http://stackoverflow.com/questions/20333577/what-does-adobe-cryptosupport-use-for-hashing

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

Have you already checked the API docs[1]? If this isn't sufficient, I would recommend to raise a Daycare ticket for better documentation or more samples. I found some more aspects of it covered in these posts [2] and [3].

kind regards,
Jörg

 

[1] http://docs.adobe.com/docs/en/cq/current/javadoc/com/adobe/granite/crypto/CryptoSupport.html
[2] http://www.wemblog.com/2012/03/how-to-use-crypto-support-in-cq55.html
[3] http://stackoverflow.com/questions/20333577/what-does-adobe-cryptosupport-use-for-hashing

Avatar

Level 2

Hi Jorg,

I have tried the documentation provided in http://www.wemblog.com/2012_03_01_archive.html.

However after I click protect and restart the bundle, /etc/key generates only master property and the hmac property is missing.

Could you please provide inputs on generating this parameter.

Also, once we have both the parameters and the package ready, how do we make use of them.

For ex:- I have 4 password properties in my crxde to be encrypted. How can i implement crypto to encrypt all these 4.

 

Thanks,

MSR