Skip to content

Add optional signature on query-ask v2 #691

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

Conversation

hannahhoward
Copy link
Collaborator

Goals

@s0nik42 suggest a number of very smart improvements to the retrieval and storage protocols in #666. We probably need to think these through, but since we are in the middle of redoing the QueryAsk protocol for retrievals anyway, I made this follow on PR to #671 that adds support for optional signature verification.

Implementation

  • Make a signed query ask wrapper
  • Verify the signature only if an optional client address is present
  • Update tests
  • Update libp2p protocol to send signed query asks
  • Update CLI command to sign ask with wallet sig

@hannahhoward hannahhoward force-pushed the feat/retrieval-query-ask-v2-signed branch from 97f5a5c to cf87302 Compare August 10, 2022 03:39
@hannahhoward hannahhoward requested a review from dirkmc August 12, 2022 16:33
@hannahhoward hannahhoward force-pushed the feat/retrieval-query-ask-v2 branch from eabe821 to 62e8a24 Compare August 12, 2022 23:32
@hannahhoward hannahhoward force-pushed the feat/retrieval-query-ask-v2-signed branch from cf87302 to 8c01c5e Compare August 12, 2022 23:33
@hannahhoward hannahhoward force-pushed the feat/retrieval-query-ask-v2-signed branch from 8c01c5e to 210e1f0 Compare August 16, 2022 07:47
@s0nik42
Copy link

s0nik42 commented Sep 2, 2022

👍🏻

@nonsense nonsense deleted the feat/retrieval-query-ask-v2-signed branch January 17, 2023 15:28
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