Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

libsignal protocol store interface for orbit-db docstore

License

Notifications You must be signed in to change notification settings

tabcat/orbit-db-signal-protocol-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orbit-db-signal-protocol-store

signal protocol store interface for orbit-db docstore: https://github.com/signalapp/libsignal-protocol-javascript/blob/master/test/InMemorySignalProtocolStore.js

Usage

install with npm:

npm install @tabcat/orbit-db-signal-protocol-store

create orbitdb instance: https://github.com/orbitdb/orbit-db/blob/master/README.md#usage

create the signal protocol store:

const docstore = await orbitdb.create('signal-protocol-store', 'docstore', { replicate:false })
// recommend disabling replication on orbit docstore so secrets are not sent to peers

const signalProtocolStore = new OrbitDBSignalProtocolStore(docstore)
// signalProtocolStore can now be used in libsignal as the store

using libsignal-protocol-javascript:

example: https://github.com/tabcat/orbit-db-signal-protocol-example

About

libsignal protocol store interface for orbit-db docstore

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published