forked from cory/tildefriends
Cory McWilliams
bf7d5c34f6
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3810 ed5197a5-7fde-0310-b194-c3ffbd925b24
430 B
430 B
ID Refactor
Goals
- no way to get private key in javascript
- ssb.c syncs/broadcasts/... efficiently for everybody
Schema
- separate table to discourage leakage
- `CREATE TABLE identities (user TEXT, public TEXT, secret TEXT);'
API
ssb.createIdentity()
->id
ssb.getIdentities()
=>[id, ...]
ssb.deleteIdentity(id)
ssb.post(id, ...)
ssb.appendMessage(id, ...)