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

Merge ed25519 dependencies to an optional server feature flag #986

Merged
merged 15 commits into from
Feb 3, 2022

Conversation

FasterSpeeding
Copy link
Collaborator

@FasterSpeeding FasterSpeeding commented Jan 29, 2022

Summary

This removes the old pure ed25519 and ed25519 dependencies and replaces them with one optional pynacl dependency which is installed with the "server" feature flag.

The goal being to stream-line ed25519 handling, remove dependency on less-well maintained projects (as ed25519 is currently blocking py 3.11 support) and remove dependency on pure ed25519 which from a technical cryptographic perspective hasn't been "validated" like libsodium

Checklist

  • I have run nox and all the pipelines have passed.
  • I have made unittests according to the code I have added/modified/deleted.

Related issues

@FasterSpeeding FasterSpeeding added the breaking This change hurts backwards compatibility label Jan 29, 2022
hikari/impl/interaction_server.py Outdated Show resolved Hide resolved
hikari/impl/interaction_server.py Outdated Show resolved Hide resolved
hikari/impl/interaction_server.py Outdated Show resolved Hide resolved
tests/hikari/impl/test_interaction_server.py Outdated Show resolved Hide resolved
tests/hikari/impl/test_interaction_server.py Outdated Show resolved Hide resolved
@davfsa davfsa mentioned this pull request Jan 29, 2022
2 tasks
@FasterSpeeding FasterSpeeding marked this pull request as ready for review February 2, 2022 19:21
hikari/impl/interaction_server.py Outdated Show resolved Hide resolved
hikari/impl/interaction_server.py Show resolved Hide resolved
hikari/impl/interaction_server.py Show resolved Hide resolved
Copy link
Member

@davfsa davfsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just moving over comments from Discord so I dont forget. Everything else looks alright, just the small comment

hikari/impl/interaction_server.py Show resolved Hide resolved
Copy link
Member

@davfsa davfsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since automerge is disabled, left 2 little comments that I dont mind having, just small things.

Ty for the pr tho 👍

tests/hikari/impl/test_interaction_server.py Show resolved Hide resolved
tests/hikari/impl/test_interaction_server.py Show resolved Hide resolved
@davfsa davfsa merged commit 31b7b13 into hikari-py:master Feb 3, 2022
@FasterSpeeding FasterSpeeding deleted the task/pynacl branch February 3, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This change hurts backwards compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants