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

use x/crypto #15

Closed
wants to merge 5 commits into from
Closed

use x/crypto #15

wants to merge 5 commits into from

Conversation

cryptix
Copy link
Member

@cryptix cryptix commented Mar 3, 2020

this uses a fork of x/crypto where edwards25519 is not internal. This seemed like the easiest change to port agl's extra25519 to x/crypto.

We carry it as our internal package for now. We just took PrivateKeyToCurve25519 and PublicKeyToCurve25519 since that is all that we need.

this uses a fork of x/crypto where edwards25519 is not internal.

This seemed like the easiest change to port agl's extra25519 to
x/crypto.

We carry it as our internal package for now. We just took
PrivateKeyToCurve25519 and PublicKeyToCurve25519 since that is all that
we need.
@cryptix
Copy link
Member Author

cryptix commented Mar 3, 2020

Background: agl/ed25519#27 (comment)

@cryptix
Copy link
Member Author

cryptix commented Mar 3, 2020

The main annoyance here is that go.mod's replace isn't transitive so every user needs to apply this:

replace golang.org/x/crypto => github.com/cryptix/golang_x_crypto v0.0.0-20200303113948-2939d6771b24

The branch is here: https://github.com/cryptix/golang_x_crypto/tree/non-internal-edwards

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