Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

switch to the go-crypto ed25519 implementation #38

Merged
merged 1 commit into from
Aug 11, 2018
Merged

switch to the go-crypto ed25519 implementation #38

merged 1 commit into from
Aug 11, 2018

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Aug 11, 2018

Also correctly parse private keys that don't have a redundant public key appended. This commit doesn't change the serialization format for backwards compatibility but we can now do that in the future (once most users are using this version).

This does remove the ToCurve25519 function as it's not in the standard Library. However:

  1. Nobody's using it.
  2. Users can always extract the serialized key and do this themselves (by calling Raw()).
  3. It's not included in go-crypto.

@ghost ghost assigned Stebalien Aug 11, 2018
@ghost ghost added the in progress label Aug 11, 2018
@Stebalien Stebalien changed the title switch to the built-in ed25519 library switch to the go-crypto ed25519 implementation Aug 11, 2018
Also correctly parse private keys that don't have a redundant public key
appended. This commit doesn't change the *serialization* format for backwards
compatibility but we can now do that in the future (once most users are using
this version).

This *does* remove the `ToCurve25519` function as it's not in the standard
library. However:

1. Nobody's using it.
2. Users can always extract the serialized key and do this themselves (by
calling `Raw()`).
@ghost ghost added the in progress label Aug 11, 2018
@Stebalien Stebalien requested review from a user and removed request for dignifiedquire August 11, 2018 00:42
@Stebalien Stebalien merged commit 137c71c into master Aug 11, 2018
@Stebalien Stebalien deleted the fix/17 branch August 11, 2018 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants