siemens / cmp-ra-component

A CMP Registration Authority (RA)
Apache License 2.0
2 stars 5 forks source link

Recipient handling for NESTED messages is partly broken #111

Open Akretsch opened 2 weeks ago

Akretsch commented 2 weeks ago

Issue Report

setting and processing of recipient field in NESTED messages is partly broken.

Expected Behavior

Should behave as documented in https://github.com/siemens/cmp-ra-component/blob/9f197b47e8163e159ea6036db855c4a8a0ddbe69/src/main/java/com/siemens/pki/cmpracomponent/configuration/NestedEndpointContext.java#L47 and https://github.com/siemens/cmp-ra-component/blob/9f197b47e8163e159ea6036db855c4a8a0ddbe69/src/main/java/com/siemens/pki/cmpracomponent/configuration/NestedEndpointContext.java#L60

Current Behavior

Sometimes the recipient is not set as configured, sometimes a NESTED message is not unwrapped as expected by configuration.

Possible Solution

Akretsch commented 2 weeks ago

shall be fixed in 476b7ae

Akretsch commented 1 week ago

for protection of downstream NESTED messages sometimes the wrong credentials are used