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

Replace ecdsa with PyCA/cryptography #86

Merged
merged 1 commit into from
Jul 16, 2021
Merged

Conversation

tiran
Copy link
Contributor

@tiran tiran commented Mar 15, 2021

Dependency on ecdsa is a problem for all applications and users that
have strict crypto requirements and do not permit custom implementations
of cryptographic algorithms. The package even warns that it is
potentially insecure and does not protect against side channel attacks.
It's less of an issue for pubkeys, but still a compliance issue.

Cryptography can handle ecdsa SSH keys without help of ecdsa Python
package. The PR replaces the key verification code. I have also included
a (mostly untested) re-implementation of ecdsa.key.VerifyingKey.

Signed-off-by: Christian Heimes christian@python.org

@ghost
Copy link

ghost commented Jul 15, 2021

This looks really nice. Is this ready for review?

Dependency on ecdsa is a problem for all applications and users that
have strict crypto requirements and do not permit custom implementations
of cryptographic algorithms. The package even warns that it is
potentially insecure and does not protect against side channel attacks.
It's less of an issue for pubkeys, but still a compliance issue.

Cryptography can handle ecdsa SSH keys without help of ecdsa Python
package. The PR replaces the key verification code. I have also included
a (mostly untested) re-implementation of ecdsa.key.VerifyingKey.

Signed-off-by: Christian Heimes <christian@python.org>
@tiran tiran marked this pull request as ready for review July 16, 2021 07:52
@tiran
Copy link
Contributor Author

tiran commented Jul 16, 2021

@sometato Yes, could you please approve CI run?

@ojarva ojarva merged commit fbf9c7a into ojarva:master Jul 16, 2021
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

2 participants