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

UX and Security Updates for Stargate release #568

Closed
5 tasks done
ebuchman opened this issue Jan 25, 2021 · 6 comments
Closed
5 tasks done

UX and Security Updates for Stargate release #568

ebuchman opened this issue Jan 25, 2021 · 6 comments

Comments

@ebuchman
Copy link
Member

ebuchman commented Jan 25, 2021

The initial Stargate release in Gov proposal 35 refers to a codehash that contains a security vulnerability in Tendermint, as well as some issues in the Gaia migration script related to Proposal 29. It is also missing a few minor things which would have a significant impact on UX. We should fix the following before pushing a new Stargate proposal:

Note that since the changes to the SDK are technically breaking, these should be released in v0.41 of the SDK. Gaia will then need to be updated per #566

@zmanian
Copy link
Member

zmanian commented Jan 25, 2021

Tendermint issues are fixed in #552
Prop 29 is fixed in #559
Atom denom is fixed in #564

@ebuchman ebuchman mentioned this issue Jan 25, 2021
4 tasks
@ethanfrey
Copy link
Contributor

I can confirm that cosmos/cosmos-sdk#8404 is working. I tested this downstream and it allowed sending ibc packets in the OnChanOpenAck callback.

The only question is that this merged on master and not to be backported to the 0.40.x branch. And it is unclear where the next sdk release will be cut (or where Fede's PR will get merged into). I think this is the key piece of missing info

@ebuchman
Copy link
Member Author

I understood these changes to be breaking and thus to require v0.41

@cwgoes
Copy link
Contributor

cwgoes commented Jan 25, 2021

I can confirm that cosmos/cosmos-sdk#8404 is working. I tested this downstream and it allowed sending ibc packets in the OnChanOpenAck callback.

The only question is that this merged on master and not to be backported to the 0.40.x branch. And it is unclear where the next sdk release will be cut (or where Fede's PR will get merged into). I think this is the key piece of missing info

As this release is breaking anyways, it is the preference of the IBC team to have 8404 included as well as the Amino codec changes.

@ebuchman
Copy link
Member Author

ebuchman commented Jan 26, 2021

Re Amino support for IBC messages to allow Ledger signing. This was not as easy as it seemed when messages include public keys due to subtleties around protobuf types between tendermint and the sdk: https://github.com/cosmos/cosmos-sdk/pull/8422/files#r564061094

Since supporting all messages isn't straight forward, and there is limited use case for them beyond MsgTransfer, Stargate will only add Amino support for ICS20 MsgTransfer, and not for any of the other IBC messages.

This means only MsgTransfer will be able to be signed by Ledgers. In general this should be fine, as MsgTransfer is the only real application-level / user-facing message. All other message types ought to be handled by relayers, which are online processes signing many txs and typically not using a ledger anyways.

The other consequence here is that solo-machines, which are responsible for relaying their own client updates and packets, will not be able to use Ledgers either.

@ebuchman
Copy link
Member Author

I believe this is all complete, yes? Should we close ? I know there's still some testing going on but can be tracked separately.

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

No branches or pull requests

5 participants