Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NGFW-14795 : password encryption feature #872

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

AristaKB
Copy link
Contributor

Added Utility method to encrypt and decrypt password using binary.

*************************** NOTE ***************************
* Currently binary is generating warn related to TPM including the password in second line
* so handled the code accordingly in getEncryptPassword() and getDecryptPassword()
* Also while executing the command password is shown in log, I handled this by overriding rhe execOutput()
* and sending the value as false so you will not see any cmd log for password encryption and decryption
* To get it in log for debug purpose you can set the value as true

uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
uvm/api/com/untangle/uvm/PasswordUtil.java Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants