Coder Social home page Coder Social logo

otrv4 / otrng-prekey-server Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 3.0 1.87 MB

Prekey server functionality for OTRv4. This is a mirror of https://bugs.otr.im/otrv4/otrng-prekey-server

License: GNU General Public License v3.0

Makefile 0.19% Go 99.81%

otrng-prekey-server's Introduction

OTR Next Generation Prekey Server in Golang

This project aims to provide Prekey Server functionality for the OTRv4 specification. It is an implementation of the OTRv4 Prekey Server specification, that can be found here: https://github.com/otrv4/otrv4-prekey-server

The repository aims to provide generic prekey server functionality, and XMPP specific tools in a separate package.

otrng-prekey-server's People

Contributors

claucece avatar olabini avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

otrng-prekey-server's Issues

Implement zero-knowledge proofs for public values

The OTRv4 Prekey Server specification has been updated with support for verifying public values. We should implement this.

  • implement proofs
  • add serialization of proofs
  • add proofs to publication message ser and deser
  • add proofs to MAC
  • add verification of proofs to validation of publication message

Add a ZKPK of the private keys associated with some public values

Specifically, we would need proofs for:

  • ClientProfile public key
  • ClientProfile DSA key
  • PrekeyProfile shared prekey
  • PrekeyMessage y
  • PrekeyMessage b

The only flow that needs to be changed is the publication message:

Once the server gets a publication message, it sends back challenge values for each one of the values we need. The client generates the challenges, sends them back, and the server returns success or failure.

We also need to remember that we need to tie the shared secret from the DAKE into the proofs.

We should ratchet the following MACs for these values.

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.