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

wrapper.GetPubKeys silently ignore unpacked keys #8129

Closed
4 tasks
robert-zaremba opened this issue Dec 10, 2020 · 0 comments · Fixed by #8828
Closed
4 tasks

wrapper.GetPubKeys silently ignore unpacked keys #8129

robert-zaremba opened this issue Dec 10, 2020 · 0 comments · Fixed by #8828
Assignees
Labels
C:x/auth T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine). T:Bug
Milestone

Comments

@robert-zaremba
Copy link
Collaborator

Summary of an Issue

wrapper is a structure which provides TxBuilder functionality. One of the interface methods is GetPubKeys. There is a dangerous, undocumented behavior. wrapper stores signers public keys in a Any structure to support proto marshaling.
We must make sure that whenever we add keys to the wrapper, they should be unpacked, otherwise this can lead to an difficult to catch issues.

Version: v0.40

Proposal

wrapper.GetPubKeys should return internal error.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:x/auth T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine). T:Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants