Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support new voice encryption modes #2651

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NeloBlivion
Copy link
Member

Summary

Discord, in all their wisdom, decided to deprecate old encryption modes and have them removed in the span of 3 months.
Untested, please help

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@Icebluewolf
Copy link
Contributor

What about aead_aes256_gcm_rtpsize?

@NeloBlivion
Copy link
Member Author

NeloBlivion commented Nov 17, 2024

unlikely target for this PR, aead_xchacha20_poly1305_rtpsize was chosen for it's similarity to the existing methods and ease in switching over (alongside being required, while aead_aes256_gcm_rtpsize is optional)

@JustaSqu1d
Copy link
Member

#2644 is potentially related? (I have no idea how voice works)

@Icebluewolf
Copy link
Contributor

#2644 is potentially related? (I have no idea how voice works)

Pretty sure no, it should error when it can't find an encryption type of it was related to this. It is able to successfully choose a voice type. Also, I think the problem is no one knows that much about voice XD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants