Questions tagged [signal-protocol]

12 questions
3
votes
0 answers

How to import and use libsignal-protocol-c in an existing .xcodeProj?

I have already done a chat app and is trying to add encryption to it using Signal Protocol. In their Github page they say to use libsignal-protocol-c. But how can I use it? There is no pod. Should I just add all the files manually to the project?…
G.Kumar
  • 128
  • 9
2
votes
0 answers

React Native fatal error: 'folly/Portability.h' file not found on XCode 12.5.1

When i try to run the code, it is giving an error as follows from SignalProtocolC. In file included from…
Athul Sethu
  • 387
  • 2
  • 4
  • 18
2
votes
0 answers

How to setup Signal Protocol in new/existing swift project?

I've been searching for steps and a brief explanation regarding Signal Protocol integration in Swift. I've gone through the libsignal-protocol-java library, which can be used for Android Integration but haven't found a similar one for iOS. Is…
Kiran Jasvanee
  • 6,362
  • 1
  • 36
  • 52
1
vote
0 answers

Signal Protocol Key Length

I am learning about the Signal protocol and eventually hope on implementing it in one of my projects. I haven't been able to find the length of: Identity key IK Signed prekey SPK Prekey signature Sig(IK, Encode(SPK)) -One-time prekeys (OPK1, OPK2,…
1
vote
0 answers

Is there any library for react native to implement end to end encryption in chat like Signal protocol?

I'm trying to build a real time chat app with react native, nodejs and mongodb. I already built the regular chat app but I need to add end to end encryption (E2EE). I tried to use libsignal-protocol javascript library (libsignal-protocol) built by…
1
vote
0 answers

Implementing the Double Ratchet algorithm

I'm trying to implement from scratch the Double Ratchet algorithm using this as my guide, however I am not an expert of crypto stuff, thus some things are quite unclear: The guide refers to a "root key" RK, and an output of a DH as parameters to…
docdev
  • 943
  • 1
  • 7
  • 17
1
vote
0 answers

Decrypt Skype Private Message

Skype supports private message. It looks like its private message is encrypted using Signal Protocol. I have this sample of Skype private message and need to decrypt the "content". "clientmessageid": "10507111498039774744", "messagetype":…
Prakash
  • 422
  • 1
  • 12
  • 31
1
vote
1 answer

How to include libsignal-protocol-c in my Swift iOS app?

I would like to write something like import SignalProtocol at the top of one of my Swift files and then be able to call the C functions from libsignal-protocol-c. libsignal-protocol-c's README says: "When integrating into actual applications, you…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
0
votes
1 answer

How to use signal protocol to encrypt/decrypt?

I was reverse engineering WhatsApp web. I created a custom client in python to connect to WhatsApp with websocket, generate a QR code, and save the login credentials to a file. When I tried to use it, I realized that WhatsApp's end to end encryption…
Lima
  • 257
  • 1
  • 8
0
votes
2 answers

How to get the type of a serialized ciphertext message?

I'm using libsignal-protocol-java according to Signal's Documentation to implement end-to-end encryption in a messaging app. Let's say Alice sends Bob a (pairwise) serialized ciphertext message. How does Bob know how to deserialize it? Doesn't he…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
0
votes
0 answers

Different base point in Curve25519 in signal protocol?

I have been studying Curve25519 and signal protocol since few days . What i came to know that in general Curve25519 uses "9" as base point but in signal base point used is convert_mont(9). convert_mont(9) is the function which generate a twisted…
0
votes
1 answer

Can many devices in the same group share the same sender key distribution message?

This is a specific question about implementing group messaging via the Signal Protocol. After device 1 has sent a message encrypted with a sender key distribution message (SKDM) to many recipient devices, can each of the recipient devices use the…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651