-
Notifications
You must be signed in to change notification settings - Fork 61
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
Several tests from WS-Trust and Santuario XML Security are failing on FIPS machine #1359
Several tests from WS-Trust and Santuario XML Security are failing on FIPS machine #1359
Conversation
… santuario-xmlsec,ws-trust
this.getClass().getClassLoader().getResource("servicestore.jks").openStream(), | ||
"sspass".toCharArray()); | ||
this.getClass().getClassLoader().getResource("myservice-keystore.jks").openStream(), | ||
"myservice-keystore-password".toCharArray()); |
Check failure
Code scanning / CodeQL
Hard-coded credential in API call Critical
sensitive API call
@@ -86,8 +86,8 @@ | |||
@POST | |||
@Path("/{encryption}/decrypt") | |||
public byte[] decrypt(byte[] encrypted, @PathParam("encryption") Encryption encryption) throws Exception { | |||
Key privateKey = keyStore.getKey("myservicekey", "skpass".toCharArray()); | |||
return encryption.decrypt(encrypted, "http://www.w3.org/2001/04/xmlenc#aes128-cbc", privateKey); | |||
Key privateKey = keyStore.getKey("myservice", "myservice-keystore-password".toCharArray()); |
Check failure
Code scanning / CodeQL
Hard-coded credential in API call Critical
sensitive API call
X509Certificate cert = (X509Certificate) keyStore.getCertificate("myclientkey"); | ||
this.getClass().getClassLoader().getResource("myclient-keystore.jks").openStream(), | ||
"myclient-keystore-password".toCharArray()); | ||
Key key = keyStore.getKey("myclient", "myclient-keystore-password".toCharArray()); |
Check failure
Code scanning / CodeQL
Hard-coded credential in API call Critical
sensitive API call
Key key = keyStore.getKey("myclientkey", "ckpass".toCharArray()); | ||
X509Certificate cert = (X509Certificate) keyStore.getCertificate("myclientkey"); | ||
this.getClass().getClassLoader().getResource("myclient-keystore.jks").openStream(), | ||
"myclient-keystore-password".toCharArray()); |
Check failure
Code scanning / CodeQL
Hard-coded credential in API call Critical
sensitive API call
"cspass".toCharArray()); | ||
X509Certificate cert = (X509Certificate) keyStore.getCertificate("myclientkey"); | ||
this.getClass().getClassLoader().getResource("myclient-keystore.jks").openStream(), | ||
"myclient-keystore-password".toCharArray()); |
Check failure
Code scanning / CodeQL
Hard-coded credential in API call Critical
sensitive API call
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.
Thanks @JiriOndrusek
@ppalaga I added backport to 3.8 labe; as I think that this PR should be backorted. I'll prepare a PR. |
fixes #1358