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

Switch from pycryptodomex to cryptography.io #278

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

geofft
Copy link

@geofft geofft commented Jan 8, 2024

cryptography.io wraps an existing well-known cryptography library (OpenSSL) instead of implementing routines itself, and it's already a dependency of Twisted, so this reduces the overall number of cryptography libraries needed.

@geofft
Copy link
Author

geofft commented Jan 8, 2024

I've done a little bit of unit testing by hand but let me try to make some real connections with this too, since I don't think there's much test coverage for this code. Also I'm open to feedback on whether this is a desirable thing at all.

@geofft geofft marked this pull request as ready for review January 8, 2024 23:09
@geofft
Copy link
Author

geofft commented Jan 8, 2024

OK, I've confirmed that this works in both of the cases that are affected, i.e., password auth (with Xtightvnc) and Apple Remote Desktop (with macOS 13.6), so I think I got the code right :)

cryptography.io wraps an existing well-known cryptography library
(OpenSSL) instead of implementing routines itself, and it's already a
dependency of Twisted, so this reduces the overall number of
cryptography libraries needed.
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.

None yet

1 participant