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 🔨
Relates to #324 and #253
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).
What this PR does 📖
Keypair
internally instead ofDID
for key exchange and signingWhich issue(s) this PR fixes 🔨
Special notes for reviewers 🗒️
Additional comments 🎤
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).