Skip to content
This repository was archived by the owner on Jul 15, 2018. It is now read-only.

update ed25519 address scheme#112

Merged
liamsi merged 1 commit intodevelopfrom
bucky/ed25519-addr
Jun 11, 2018
Merged

update ed25519 address scheme#112
liamsi merged 1 commit intodevelopfrom
bucky/ed25519-addr

Conversation

@ebuchman
Copy link
Contributor

@ebuchman ebuchman commented May 30, 2018

Ref #103

@ebuchman ebuchman requested a review from jaekwon as a code owner May 30, 2018 22:46
hasher := ripemd160.New()
hasher.Write(pubKey.Bytes()) // does not error
return Address(hasher.Sum(nil))
return Address(tmhash.Sum(pubKey[:]))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sure, as we dropped ed25519 support for wallets, we still need the Address() of a PubKeyEd25519 for other purposes, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh? Just saw this tidbit here...
Is that true? Using only secp? It would be good to add that to BreakingChanges...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will still be supported in go-crypto, we're just not going to have tooling for it for user keys at launch

Copy link
Contributor

@liamsi liamsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left one question in the comments.

@xla xla added this to the 0.8.0 milestone Jun 11, 2018
@liamsi liamsi merged commit e694c30 into develop Jun 11, 2018
liamsi added a commit to liamsi/go-crypto that referenced this pull request Jun 12, 2018
� This is the 1st commit message:

Release/0.8.0 (tendermint#127)

https://github.com/Liamsi/go-crypto/blob/8e31aebe2bc23037b9cc11892f3ec4515bbf5991/CHANGELOG.md#080

fix tests, move encoding to encode_test.go, include an example

Ledger integration, WIP

Fix testcases, all looks OK

Prevent unnecessary signatures, improve error messages

Bugfix

Update to new Ledger API in progress

Update to latest upstream, debugging information

� This is the commit message tendermint#2:

Clarify function names

� This is the commit message tendermint#3:

Add ed25519, tests will fail until ed25519 verification fix

Implement PubKeyLedgerEd25519

Pin to an upstream revision

Remove Ledger ed25519 support, for now

Move TODOs to tendermint#114

Move from tmlibs #213 (tendermint#115)

* move from tmlibs 213
* expose KVPair, simpleproofsfrommap returns keys

update ed25519 address scheme (tendermint#112)

make PubKeyEd25519.Address() returns the first 20 bytes of the hash of the raw 32-byte pubkey, no amino required

forgot PrivKeyLedgerSecp256k1

version bump (tendermint#128)

version bump
@ebuchman ebuchman deleted the bucky/ed25519-addr branch July 1, 2018 04:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants