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

refactor: Use keypair internally within warp-ipfs #522

Merged
merged 10 commits into from
May 23, 2024

Conversation

dariusc93
Copy link
Contributor

@dariusc93 dariusc93 commented May 21, 2024

What this PR does 📖

  • use Keypair internally instead of DID for key exchange and signing
  • Add an option to supply a keypair to the root document to select between that or the keypair used in the local ipfs node.

Which issue(s) this PR fixes 🔨

Special notes for reviewers 🗒️

Additional comments 🎤

  • This is a step towards removing DID and replacing it for something more suited and friendlier. This PR first replaces where we are performing signing, key exchanges (for encrypting and decrypting)., etc (though we still convert it back to a keypair variant of DID for key exchange, but the next change will be to strip that out internally).

@dariusc93 dariusc93 self-assigned this May 21, 2024
@dariusc93 dariusc93 force-pushed the refactor/keypair-internal branch from 960b6c9 to 14c5803 Compare May 21, 2024 16:21
@dariusc93 dariusc93 marked this pull request as ready for review May 23, 2024 12:06
@dariusc93 dariusc93 merged commit 3c308f1 into main May 23, 2024
2 checks passed
@dariusc93 dariusc93 deleted the refactor/keypair-internal branch May 23, 2024 16:58
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.

1 participant