Remove public_key column from the cookies table and replace with signed_identity_keys which will hold primary + notification (ed25519, curve25519) public key pairs (stringified payload with signature).
Details
Details
Migration:
Run the migration and see that DB is as expected:
Create DB:
Close reading, made sure to match social_proof line exactly.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
keyserver/src/database/migration-config.js | ||
---|---|---|
177–181 ↗ | (On Diff #23202) | I improvised the "styling" here to keep under 80 characters. Happy to change to whatever. |
keyserver/src/database/setup-db.js | ||
37 ↗ | (On Diff #23202) | This line exceeds 80 characters, but so do many lines in this file so I ascertained that it's chill. |
Comment Actions
So is the format basically { +payload: string, +signature: string }, where payload is the previously agreed upon JSON format?