Dmytro Lapko
Dmytro Lapko
Are you sure that you need this change in the core statistics of Oxalis? You could just create your own module class PluginStatisticsModule with this provider method and activate it...
I've made a bunch of such modules during testing, you can take a look at the setup: https://github.com/OxalisCommunity/Oxalis-AS4/discussions/228
Do you suggest that EACH Oxalis component has such "-plugin" provider? Searching for "-plugin" in the source code I found nothing. Isn't it too specific for your use case? For...
Did you succeed with clarifying the reason of the issue? It could be a wrong certificate of receiver used during sending (e.g. cached SMP lookup results or updated certificate at...
No, we do not experience it - just curious and try to help. AEADBadTagException happens at Cipher, so relates to encryption/decryption. As I understand, you posted the response from Oxalis...
By stacktrace I see that the error happens during decryption of payload in attachment to calculate its digest to compare it with the one included in signature: ``` at org.apache.wss4j.dom.transform.AttachmentContentSignatureTransform.processAttachment(AttachmentContentSignatureTransform.java:216)...
Then the size is not the case, I agree :) The only thing we can conclude - decryption fails after reading the full payload.
There can be multiple reasons, why `Security.setProperty("jdk.security.provider.preferred", "AES/GCM/NoPadding:BC");` does not help to switch to BC provider in https://github.com/OxalisCommunity/Oxalis-AS4/blob/ff21c65da527fbb8e30a3d375c38fcf329b8a0b0/src/main/java/network/oxalis/as4/common/As4CommonModule.java?plain=1#L65 1) this security property was introduced only in Java 9 and is...
It looks like Java 21 SunJCE significantly improved performance of decryption by AES/GCM/NoPadding algorithm, so it works almost as fast as BouncyCastle (for 100 MB payload it is 1,8 second...
Did you try to omit context name from the locator hostname? This looks weird for me - this configuration is used for DNS resolution, not for making calls... `lookup.locator.hostname="acc.edelivery.tech.ec.europa.eu/edelivery-sml/"` Try...