-
Notifications
You must be signed in to change notification settings - Fork 139
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
Address Test Port final TMS fixes for rhel7 to master branch, phase 2… #4894
Conversation
|
||
if (tempKey == null) { | ||
return createNoContentResponse(); | ||
} | ||
|
||
logger.debug("TPSConnectorService.createSharedSecret. about to export shared secret : " + nickname + " certs.length " + certs.length); | ||
logger.debug("TPSConnectorService.createSharedSecert cert: " + certs[certs.length -1]); | ||
List<byte[]> listWrappedKeys = CryptoUtil.exportSharedSecret(nickname, certs[certs.length -1], tempKey, getUseOAEPKeyWrap()); | ||
List<byte[]> listWrappedKeys = CryptoUtil.exportSharedSecretWithAES(nickname, certs[certs.length -1], tempKey,getUseOAEPKeyWrap()); | ||
logger.debug("TPSConnectorService.createSharedSecret. done exporting shared secret : " + nickname); |
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.
I think the same fix should be applied to TPSConnectorProcessor.java because in the future we should move to rest v2.
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.
OK, thanks!
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.
Concern has been addressed in recent push.
040980b
to
7eb6cb9
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
7eb6cb9
to
24978ad
Compare
…, RHCS-5403 This checkin coincides with the final sub task of porting the rhel7 tms to the master branch. Once this code makes it to the testing phase, every feature present in the lastest version of the rhel7 tms system should be present in any releases taken from the master branch. Add some more TPS CS.cfg comments for newer features. Fix tps docker test to include the cfg variable needed to allow tpsclient enrollments to complete. Update call to CryptoUtil.exportSharedSecretWithAES in TPSConnectorProcessor.java to reflect change to TPSConnectorService.java. Addresss github code security concerns. Change-Id: I7c98ddeffafd912debb908c9efc7a6bb591807ee
24978ad
to
4796ced
Compare
Addressed the main test failures that I could control. About to merge. |
Fixed TPS test issue and determined that all the other test failures are known issues. Merging. |
…, RHCS-5403
This checkin coincides with the final sub task of porting the rhel7 tms to the master branch.
Once this code makes it to the testing phase, every feature present in the lastest version of the rhel7 tms system should be present in any releases taken from the master branch.
Add some more TPS CS.cfg comments for newer features.
Change-Id: I7c98ddeffafd912debb908c9efc7a6bb591807ee