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

feat: replica-signed queries #480

Merged
merged 44 commits into from
Nov 7, 2023
Merged

feat: replica-signed queries #480

merged 44 commits into from
Nov 7, 2023

Conversation

adamspofford-dfinity
Copy link
Contributor

This PR implements support for the node signatures provided in query calls by looking up the subnet node keys in the state tree. This provides resilience against rogue boundary nodes; clients will know whether the response came from the canister's subnet.

Implements SDK-1213 and SDK-1215.

@adamspofford-dfinity adamspofford-dfinity marked this pull request as ready for review October 5, 2023 18:28
@adamspofford-dfinity adamspofford-dfinity requested a review from a team as a code owner October 5, 2023 18:28
@adamspofford-dfinity
Copy link
Contributor Author

Not to be merged, pending review by @roelstorms / @robin-kunzler.

ic-agent/Cargo.toml Outdated Show resolved Hide resolved
ic-agent/src/agent/mod.rs Outdated Show resolved Hide resolved
ic-agent/src/agent/mod.rs Outdated Show resolved Hide resolved
ic-agent/src/agent/mod.rs Outdated Show resolved Hide resolved
ic-agent/src/agent/mod.rs Show resolved Hide resolved
ic-agent/src/agent/mod.rs Show resolved Hide resolved
ic-agent/src/lib.rs Show resolved Hide resolved
since that makes testing impossible
@adamspofford-dfinity adamspofford-dfinity merged commit 707730e into main Nov 7, 2023
24 checks passed
@adamspofford-dfinity adamspofford-dfinity deleted the spofford/rsq branch November 7, 2023 21:47
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.

4 participants