ipfs-encryption
ipfs-encryption copied to clipboard
Publishing sensitive data
Problem
As a publisher of data I want only authorised people to read that data So that sensistive information is always protected
Solution
- [x] Encrypt the data with a
keyso that it is protects the data - [ ] Only give the
keyto authorised people
Design
- [x] A
key storeis needed to manage the life cycle of a key #2 - [x] When writing protected data, encrypt the data with a key #7
- [x] When reading protected data, decrypt the data when the key is available; otherwise fail
- [ ] Allow a person to request a
key - [ ] Allow a publisher to send a
key
NFRs
- The key is sensitive data, it too must be protected
- Think of the key store as a HSM, even if implemented in software
- A raw private key (naked key) can never escape from the key store
- Requesting and sending a key is a multi-step process, any party can be off-line
- Follow acceptable security standards