Comments (9)
Maybe make an API in libotr-ng that specifies the different things that can go in to phi
- for example alice_identity
, bob_identity
, prearranged_password
from libotr-ng.
It should be enough to do only the part that is in libotr-ng: provide a way to input phi
and the shared prekey when a messages needs them.
I propose merging the phi
part with #58 and leaving this as generating the shared prekey.
from libotr-ng.
In order to generate phi'
, the protocol expects to receive 3 string parameters:
- 2 identifiers (one per participants).
- a password (optionally).
The phi'
string is created by joining the 2 identifiers (in lexicographical order). If a password is provided, it is appended to the end of this session state string.
The shared session state string is then generated by joining the 2 participants' instance tags (in numerical order), the query message, and the phi'
string.
from libotr-ng.
- Update the spec.
from libotr-ng.
Cases like this should also have a segfault if not implemented? If yes I going to remove this checks from these if's.
from libotr-ng.
Cases like this should also have a segfault if not implemented? If yes I going to remove this checks from these if's.
We already discussed over IRC around this the other day. Right now we are not dealing with these errors as they are part of the plugin/client work. We will deal with them once we start there. So, I'll suggest leaving it there.
from libotr-ng.
These are not callbacks that receive value from outside, bur rather inform the outside that something happened.
If the outside does not want to be informed, the protocol can still move on.
from libotr-ng.
Yeah, still for things that inform the outside, I'll prefer to leave them as that for the moment and deal with them in the plugin work.
I'll say that we should inform, but we will see on the plugin work..
from libotr-ng.
Ok! Thanx!
from libotr-ng.
Related Issues (20)
- Fingerprints - v4 - ensure the other keylist buttons work HOT 1
- Fingerprints - v3 - support the connect button
- Fingerprints - v3 - support the disconnect button
- Fingerprints - v3 - support the forget fingerprint button
- Fingerprints - v3 - support the verify fingerprint button HOT 1
- The verify fingerprints dialog should support v3 fingerprints HOT 3
- How are timers going to work? (related to session expiration) HOT 9
- Correct fingerprint generation HOT 4
- Ensure that forging keys are used in the Ring Signature HOT 1
- Correct phi generation HOT 1
- Remove inner hash when calculating the authenticator for the data message HOT 1
- Change size of MKenc to 64 byte and use only the first 32 to the encryption function
- Fix the usage ID
- Change the enc algorithm to RFC7538 Chacha20 and set the nonce to zero
- Git master build broken on Arch Linux HOT 2
- Persistence APIs for private keys that use a buffer, not a FILE. HOT 7
- Small snprintf error in otrng_fingerprint_hash_to_human HOT 2
- otrng_serialize_ec_point return value interpreted incorrectly HOT 1
- potential memory leak in otrng_smp_initiate (currently not actually leaking) HOT 2
- Fix the CI HOT 1
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 libotr-ng.