Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Fix some encoding/decoding incompatibilities with tendermint:#91

Merged
liamsi merged 1 commit intomasterfrom
fix_encoding_issues
Nov 13, 2018
Merged

Fix some encoding/decoding incompatibilities with tendermint:#91
liamsi merged 1 commit intomasterfrom
fix_encoding_issues

Conversation

@liamsi
Copy link
Contributor

@liamsi liamsi commented Nov 12, 2018

  • use length delimited version of encode / decode (i.e. encode_length_delimited, decode_length_delimited
  • AuthSigMessage contains prefixed / registered crypto.PubKey type
    which, in the KMS, is assumed to be the concrete typeed25519.PubKeyEd2551 (corresponds to the "amino route": tendermint/PubKeyEd25519)

fix #90

 - everything is encoded / decoded length prefixed ...
 - AuthSigMessage contains prefixed / registered `crypto.PubKey` type
 which, in the KMS, is assumed to be the concrete type
 `ed25519.PubKeyEd2551` (which corresponds to the "amino route":
 tendermint/PubKeyEd25519)
@liamsi liamsi force-pushed the fix_encoding_issues branch from dd5a461 to 9ab9904 Compare November 12, 2018 21:53
@liamsi liamsi changed the title WIP: Fix some encoding/decoding incompatibilities with tendermint: Fix some encoding/decoding incompatibilities with tendermint: Nov 12, 2018
Copy link
Contributor

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

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

utACK

@liamsi liamsi merged commit 8f12d7b into master Nov 13, 2018
@liamsi liamsi deleted the fix_encoding_issues branch November 13, 2018 06:28
@tony-iqlusion tony-iqlusion mentioned this pull request Nov 13, 2018
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.

KMS and tendermint can't talk to each other (secret connection)

3 participants