Background
Session notes may contain private details, but having them completely public on-chain is a privacy violation.
Goal
Allow experts to save encrypted session summaries/feedback on IPFS, with the key shared only with the seeker.
Acceptance Criteria
- Seeker and expert exchange public keys.
- Expert encrypts IPFS CID of notes using the seeker's public key.
- Encrypted CID stored in the
Session struct under encrypted_notes_cid.
- Only the seeker's address or expert's address can query the decryption metadata.
Key Files
contracts/src/lib.rs, contracts/src/identity.rs
Background
Session notes may contain private details, but having them completely public on-chain is a privacy violation.
Goal
Allow experts to save encrypted session summaries/feedback on IPFS, with the key shared only with the seeker.
Acceptance Criteria
Sessionstruct underencrypted_notes_cid.Key Files
contracts/src/lib.rs,contracts/src/identity.rs