I'm using the middleware 3.0.6 and implemented the Patform SCP key rotation example for a SE050C2. This works as desired but when I later try to connect again with the (no longer valid) default keys without selecting the applet "sss_session_open()" returns success and only later commands fail.
"nxScp03_HostLocal_VerifyCardCryptogram()" and "AuthenticateChannel()" both return fail but "sss_session_open()" does not propagate this failure and only a log message "Could not set SCP03 Secure Channel" is output.
Shouldn't "sss_session_open()" fail if the Platform SCP keys provided are wrong?