Skip to content

MIKEY: use proper SP parameter for authentication tag length #827

@sirzooro

Description

@sirzooro

I have seen that you implemented support for SRTP and MIKEY, thanks. Looks that you copied this bug from GStreamer which does it wrong. For SHA-1 Authentication Key Length is always 20 bytes, and Authentication Tag Length is length of truncated Auth Key appended to SRTP packet (either 10 or 4). Length of Authentication Tag in MIKEY should be sent using PayloadSPPolicyParamTypeAuthTagLen parameter instead of PayloadSPPolicyParamTypeSessionAuthKeyLen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions