Problem/Motivation
The key is visible on network tab
Steps to reproduce
When trying to login, do inspect in network tab and look for a js function $get_aes_key this will expose the key
Proposed resolution
Need to use hybrid encryption.
Issue fork encrypted_login-3508224
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 #3
kalash-j commentedComment #4
kalash-j commentedComment #5
rajdip_755I am assigning it myself for reviewing this.
Comment #6
rajdip_755Hi @kalash-j, now the random user can't decrypt the encrypted password as you implemented the hybrid encryption for the AES key itself, so it's looking secure from my side. There are some PHPCS issues, I fixed those also.
Thanks!
Comment #7
kalash-j commentedComment #9
kalash-j commented