Skip to content

Conversation

ethouris
Copy link
Collaborator

Fixes #2620

The problem: the caller may reject the connection that was accepted by the listener because the listener is set relaxed encryption and the caller - enforced encryption. In this case the caller was reporting SRT_REJ_UNSECURE regardless of the real rejection reason, which is determined during the KMRSP processing on the caller side.

@ethouris ethouris added Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core labels Jan 18, 2023
@ethouris ethouris changed the title [BUG] Using general UNSECURE reject reason in case of caller rejection regardless of the real reason [BUG] Fixed usage of the right rejection reason depending on the encryption error also when rejected on the caller level. Jan 20, 2023
@maxsharabayko maxsharabayko added this to the v1.5.2 milestone Jan 23, 2023
@maxsharabayko maxsharabayko merged commit f533716 into Haivision:master Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] SRT return SRT_REJ_UNSECURED on BADSECRET
2 participants