-
Notifications
You must be signed in to change notification settings - Fork 134
Integrated Security Cipher module with Hostcfgd for passkey decryption #274
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
base: master
Are you sure you want to change the base?
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@anders-nexthop please help in adding the reviewers. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
anders-nexthop
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment.
I am not very familiar with this code, but I'm wondering if this is the right place to decrypt the passkey? isn't this just going to generate more config files? would it be better to patch the actual TACACS server code to decrypt the passkey, so we aren't ever storing it in plaintext in config files?
| server['ip'] = addr | ||
| server.update(self.tacplus_servers[addr]) | ||
| if 'key_encrypt' in server and server['key_encrypt'] == 'True': | ||
| output = secure_cipher.decrypt_passkey("TACPLUS", server['passkey']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldnt this be TACPLUS_SERVER?
|
@qiluo-msft please take a look at this review |
What I did
Made use of Security Cipher module to decrypt the encrypted TACPLUS passkey
How I did it
Implemented the feature by following HLD
How to verify it
Note:: This PR is created by closing the old PR