Git Product home page Git Product logo

otr3's Introduction

OTR3

Build Status Coverage Status Go Report Card

Implements version 3 of the OTR standard. Implements feature parity with libotr 4.1.0.

API Documentation

GoDoc

Developing

Before doing any work, if you want to separate out your GOPATH from other projects, install direnv

$ brew update
$ brew install direnv
$ echo 'eval "$(direnv hook bash)"' >> ~/.bashrc

Then, create a symbolic link to the OTR3 repository

ln -s /PathToMyGoPackages/.gopkgs/otr3/src/github.com/coyim/ .

Install all dependencies:

./deps.sh

otr3's People

Contributors

asellappen avatar claucece avatar drwhax avatar iapazmino avatar juniorz avatar merongivian avatar olabini avatar olabiniv2 avatar sacurio avatar tcz001 avatar tdruiva avatar unkaktus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

otr3's Issues

Fragments numbers in v2 should not have leading zeros

The example for fragments provided by the V2 of spec has no leading zeroes for the number of pieces, but the same example in the V3 of the spec has leading zeroes.

We are generating the piece number with leading zeroes for both versions. It makes me wonder if this could break compatibility with some strict-V2 implementation - or if this should be reported as a bug in the spec.

Checking of the top half counter should be based on unique combination of sender and receiver key IDs

According to the spec:
"Check that the counter in the Data message is strictly larger than the last counter you saw using this pair of keys"

We don't care about the pair of keys. Thus, a message composed of (senderKeyid, receiverKeyid, ctr), these are all valid message progressions:
(1, 1, 1)
(1, 1, 2)
(2, 2, 1)

This is a blocker for us right now, since it stops us from receiving more than one data message.

Create new TLV for peer security information

It would be very useful for my client to know what the security status of the other side is. Specifically, if we have something like this coyim/coyim#32 Security number idea, it would be great if we had a TLV we can send with this number, and a boolean indicating whether I have verified the peer or not.

support cgo

it would be nice if our otr3 can be a portable lib of cgo

Get rid of []byte

We use []byte for a lot of different things:

  • Incoming messages (both plain/encoded)
  • Serialized things (both with/without header)
  • Outbound messages (including before/after encoding and before/after adding header)

It is very confusing.

For instance: receiveDecoded() gets data from processDataMessage(), maybeHeartbeat() and receiveAKE() and its hard to know if they all return toSend with the same meaning for []byte.

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.