Giter Club home page Giter Club logo

Comments (4)

cnanju avatar cnanju commented on July 29, 2024 1

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.

liliakai avatar liliakai commented on July 29, 2024
  1. yes
  2. no

from libsignal-protocol-javascript.

richardaum avatar richardaum commented on July 29, 2024

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.

baranxem avatar baranxem commented on July 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.