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

changes createSigningShare RPC to take an account name #4690

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Feb 6, 2024

Summary

changes the RPC to take an account name as a request parameter instead of a serialized keyPackage

loads the account for the given name and asserts that it is a multisig signing account before using the keyPackage from that account

this avoids passing a keyPackage, which contains a sensitive secret, from being passed through an RPC request

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and
what additional work is required, if any.

[ ] Yes

changes the RPC to take an account name as a request parameter instead of a
serialized keyPackage

loads the account for the given name and asserts that it is a multisig signing
account before using the keyPackage from that account

this avoids passing a keyPackage, which contains a sensitive secret, from being
passed through an RPC request
@hughy hughy requested a review from a team as a code owner February 6, 2024 18:56
@hughy
Copy link
Contributor Author

hughy commented Feb 6, 2024

Closes IFL-2186

@hughy hughy merged commit f2f9244 into staging Feb 6, 2024
4 checks passed
@hughy hughy deleted the chore/hughy/create-signing-share-account branch February 6, 2024 19:51
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

Successfully merging this pull request may close these issues.

2 participants