ssbc/ssb-identities

Name: ssb-identities

Owner: Secure Scuttlebutt Consortium

Description: manage multiple identities as sbot plugin

Created: 2018-04-30 19:15:34.0

Updated: 2018-05-07 22:38:40.0

Pushed: 2018-04-30 19:29:14.0

Homepage: null

Size: 3

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ssb-identities

manage multiple ssb identities, as an sbot plugin.

api
identities.main (cb)

returns the main identity (sbot.id)

identities.list (cb)

returns the list of identities, with the main identity first.

identities.create (cb)

create a new identity, stored in ~/.ssb/identities/secret_[N].butt where N is the left-padded number of this identity. returns the id of the newly created identity.

identities.publishAs({id:id, content: obj, private: boolean}, cb)

publish a message as a specific identity. id must be provided and must be already in the identities list. If private is true, content.recps must be set. recps must contain the id.

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.