Comments (4)
Hi @liliakai ,
I am trying to use this lib , I to have a question similar to question no.2 above.
What is the keyId?
Is it unique identifier of the user whose "public key types" (Identity Key Pair, Signed Key pair, One-time key pair) are supposed to be stored?
Thanks.
from libsignal-protocol-javascript.
- yes
- no
from libsignal-protocol-javascript.
It's very unclear to me also. What are preKey
and how is should be handled? There's almost no information available.
from libsignal-protocol-javascript.
@jonathanve @cnanju did have the same problem here (not with javascript, but with iOS - documentation is on all platforms unclear about that). I found out that keyId
is just a random generated id, nothing more. This id is not generated by the framework. You must generate an id by yourself.
If you want to be super clear about how to generate the id, just load one of the open source projects (iOS, Java or Desktop) and search for the place where generateSignedPreKey
is invoked.
from libsignal-protocol-javascript.
Related Issues (20)
- Ionic/Angular Support HOT 1
- Why is there no nodejs implementation? HOT 3
- Converse.js v4.2.0 unable send OMEMO message HOT 10
- Is this lib still maintained? HOT 1
- Error -1 previous counter HOT 1
- Documentation
- IS THIS REPO STILL MANAGED HOT 3
- Install time Error "KeyId" not defined HOT 3
- Babel import/require .etc HOT 1
- How should keys be exchanged? What should be exchanged? HOT 1
- SessionCipher::encrypt setting wrong registrationId? HOT 2
- Is there a more detailed document or a demo actually used? HOT 2
- Use ES6 arrow functions for cleaner code HOT 1
- expand readme HOT 3
- Encryption of Media Files HOT 4
- T
- Does not seem work in Node
- Keepalive? HOT 2
- Only checking against the SignalProtocolAddress name when calling isTrustedIdentity in SessionBuilder HOT 1
- Test fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsignal-protocol-javascript.