-
Notifications
You must be signed in to change notification settings - Fork 933
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
EOS: Hides MACsec Key #2014
EOS: Hides MACsec Key #2014
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2014 +/- ##
=======================================
Coverage 63.32% 63.32%
=======================================
Files 30 30
Lines 1497 1497
=======================================
Hits 948 948
Misses 549 549 Continue to review full report at Codecov.
|
The change looks fine to me, I'm not too interested in secret hiding, I think it's antiapattern but people expect it because rancid did it, so we have it. So looks OK to me. But we do not want to tie this with release of new version so please just change the change log for master and keep version as is. We will build docker container nontheless for every commit and those docker container version strings will include the commit hash. |
* Hides macsec secret key: the CKN and CAK. * Original Syntax Example mac security fips restrictions ! profile default cipher aes256-gcm-xpn key 1ffab311 7 00C655A8E47F0E4756B32767F7C9A34854716C7F33F2E948A39CA9C00D0D0A0330 mka session rekey-period 3600 l2-protocol lldp bypass * Replacement Syntax Example mac security fips restrictions ! profile default cipher aes256-gcm-xpn key <secret hidden> mka session rekey-period 3600 l2-protocol lldp bypass
I've reverted the @krisamundson is there any reason why the key is matched as |
* Modified regex to match on HEX (\h) instead of strings for the CKN and CAK.
This looks good to me now, let me know if you are happy with this change set and I'll merge it in! |
+1 from me. Thanks for the quick turnaround and improving my regex-fu. |
Pre-Request Checklist
rubocop --auto-correct
)rake test
)Description
Hides macsec secret key: the CKN and CAK.