Skip to content

Use aead_aes256_gcm_rtpsize transport encryption for voice #492

@apkatsikas

Description

@apkatsikas

Per discord docs, xsalsa20_poly1305 is deprecated for voice encryption, but it is still being used in Arikawa. This causes a failure with 4016 Unknown encryption mode in the session:spinGateway function.

aead_aes256_gcm_rtpsize is the preferred new encryption mode. Arikawa should update to use this.

Here is how one proposed migration looks for discordgo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions