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

Adding support for ECDSA NIST curve SSH keys #522

Closed
wants to merge 5 commits into from

Conversation

fakegermano
Copy link

@fakegermano fakegermano commented Sep 1, 2023

As they are becoming more common in the field, This PR adds support for the use of that type of key for encryption/decryption.

This PR also makes use of the new go 1.21 ecdh package that natively implements the key exchange for elliptic curves (supports all X25519 and P256, P384 and P521).

I can also add similar PRs for the rust and typescript implementations when I have time, but let me know if I have missed something or messed something up, or If I need to add more tests :)

@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:42 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:44 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano fakegermano temporarily deployed to Build, sign, release binaries September 1, 2023 12:48 — with GitHub Actions Inactive
@fakegermano
Copy link
Author

as per this: #142 (which I discovered very late I know) I will close this MR, as it seems we do not intend to add the feature for security reasons.

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.

1 participant