Christian Grothoff [Wed, 29 Apr 2015 08:29:16 +0000 (08:29 +0000)]
-doxygen
Christian Grothoff [Wed, 29 Apr 2015 08:17:17 +0000 (08:17 +0000)]
implementing postgres version of get_random
Christian Grothoff [Wed, 29 Apr 2015 08:06:54 +0000 (08:06 +0000)]
-doxygen
Christian Grothoff [Wed, 29 Apr 2015 08:03:22 +0000 (08:03 +0000)]
-add counter for #items
Christian Grothoff [Wed, 29 Apr 2015 08:02:30 +0000 (08:02 +0000)]
-doxygen
Christian Grothoff [Wed, 29 Apr 2015 07:59:29 +0000 (07:59 +0000)]
implementing sqlite version of get_random
Christian Grothoff [Wed, 29 Apr 2015 07:49:04 +0000 (07:49 +0000)]
-doxygen, updating template to reflect extended API
Christian Grothoff [Wed, 29 Apr 2015 07:41:48 +0000 (07:41 +0000)]
-add counter for #items
Christian Grothoff [Tue, 28 Apr 2015 15:05:12 +0000 (15:05 +0000)]
extending datacache API with function to return random element, implemented (only) in heap plugin right now
Christian Grothoff [Tue, 28 Apr 2015 13:21:44 +0000 (13:21 +0000)]
-sending messages / starting random walks
Arthur Dewarumez [Tue, 28 Apr 2015 09:33:05 +0000 (09:33 +0000)]
Add some comments in the handler functions.
Christian Grothoff [Mon, 27 Apr 2015 19:45:34 +0000 (19:45 +0000)]
-work around ftbfs
Bart Polot [Mon, 27 Apr 2015 19:16:06 +0000 (19:16 +0000)]
- refactor buffer calucations
Bart Polot [Mon, 27 Apr 2015 19:16:05 +0000 (19:16 +0000)]
- critical error
Bart Polot [Mon, 27 Apr 2015 19:16:04 +0000 (19:16 +0000)]
- refactor storing AX keys
Bart Polot [Mon, 27 Apr 2015 19:16:02 +0000 (19:16 +0000)]
- doc
Bart Polot [Mon, 27 Apr 2015 19:16:01 +0000 (19:16 +0000)]
- skip checking all messages that are not there, no matter what the bitfield says
Bart Polot [Mon, 27 Apr 2015 19:15:59 +0000 (19:15 +0000)]
- only modify to key sent before the key derivation
Bart Polot [Mon, 27 Apr 2015 19:15:58 +0000 (19:15 +0000)]
- resend ax kx when lost
Bart Polot [Mon, 27 Apr 2015 19:15:57 +0000 (19:15 +0000)]
- don't queue more than one ax_kx at a time
Bart Polot [Mon, 27 Apr 2015 19:15:55 +0000 (19:15 +0000)]
- register otr-downgrades
Bart Polot [Mon, 27 Apr 2015 19:15:54 +0000 (19:15 +0000)]
only ratchet after a certain amount of messages or time has passed
Bart Polot [Mon, 27 Apr 2015 19:15:52 +0000 (19:15 +0000)]
- fix ttl
Bart Polot [Mon, 27 Apr 2015 19:15:51 +0000 (19:15 +0000)]
- ttl is deprecated, don't warn
Bart Polot [Mon, 27 Apr 2015 19:15:50 +0000 (19:15 +0000)]
- activate ratchet on receive
Bart Polot [Mon, 27 Apr 2015 19:15:48 +0000 (19:15 +0000)]
- don't ttl drop ax
Bart Polot [Mon, 27 Apr 2015 19:15:47 +0000 (19:15 +0000)]
- properly read otr/ax fields
Bart Polot [Mon, 27 Apr 2015 19:15:45 +0000 (19:15 +0000)]
- initialize reserved
Bart Polot [Mon, 27 Apr 2015 19:15:44 +0000 (19:15 +0000)]
- fix Nr counter
Bart Polot [Mon, 27 Apr 2015 19:15:42 +0000 (19:15 +0000)]
- fix log params
Bart Polot [Mon, 27 Apr 2015 19:15:41 +0000 (19:15 +0000)]
- refactor
Bart Polot [Mon, 27 Apr 2015 19:15:39 +0000 (19:15 +0000)]
- keep track of all message types
Bart Polot [Mon, 27 Apr 2015 19:15:38 +0000 (19:15 +0000)]
- use ax as payload
Bart Polot [Mon, 27 Apr 2015 19:15:36 +0000 (19:15 +0000)]
- proper name for continuation
Bart Polot [Mon, 27 Apr 2015 19:15:35 +0000 (19:15 +0000)]
- remove debug
Bart Polot [Mon, 27 Apr 2015 19:15:34 +0000 (19:15 +0000)]
- allow just message headers (keepalive uses this)
Bart Polot [Mon, 27 Apr 2015 19:15:32 +0000 (19:15 +0000)]
- register AX for unqueueing
Bart Polot [Mon, 27 Apr 2015 19:15:31 +0000 (19:15 +0000)]
- fix size output, don't include headers
Bart Polot [Mon, 27 Apr 2015 19:15:30 +0000 (19:15 +0000)]
- remove dead code
Bart Polot [Mon, 27 Apr 2015 19:15:28 +0000 (19:15 +0000)]
implemented AX dectyption and racheting
Bart Polot [Mon, 27 Apr 2015 19:15:27 +0000 (19:15 +0000)]
- shorter names for more info in 80 cols
Bart Polot [Mon, 27 Apr 2015 19:15:25 +0000 (19:15 +0000)]
- use correct overhead size, log wrong sizes verbosely
Bart Polot [Mon, 27 Apr 2015 19:15:24 +0000 (19:15 +0000)]
- adjust checks for different encryption overheads
Bart Polot [Mon, 27 Apr 2015 19:15:22 +0000 (19:15 +0000)]
- handle AX messages
Bart Polot [Mon, 27 Apr 2015 19:15:21 +0000 (19:15 +0000)]
- log
Bart Polot [Mon, 27 Apr 2015 19:15:19 +0000 (19:15 +0000)]
- axolotl debug
- show only relevant tunnel key info on debug
Bart Polot [Mon, 27 Apr 2015 19:15:18 +0000 (19:15 +0000)]
- add getter for peer's permanent ECDH key
Bart Polot [Mon, 27 Apr 2015 19:15:17 +0000 (19:15 +0000)]
- store peer's permanent key in ax
Bart Polot [Mon, 27 Apr 2015 19:15:15 +0000 (19:15 +0000)]
- add AX type to send processors, refactor cid setter
Bart Polot [Mon, 27 Apr 2015 19:15:14 +0000 (19:15 +0000)]
- refactor axolotl encryption
Bart Polot [Mon, 27 Apr 2015 19:15:12 +0000 (19:15 +0000)]
- log format
Bart Polot [Mon, 27 Apr 2015 19:15:10 +0000 (19:15 +0000)]
- don't count all messages as pid when checking, only payload
Bart Polot [Mon, 27 Apr 2015 19:15:09 +0000 (19:15 +0000)]
- fix pointer
Bart Polot [Mon, 27 Apr 2015 19:15:08 +0000 (19:15 +0000)]
- implement ratchet advance
Bart Polot [Mon, 27 Apr 2015 19:15:06 +0000 (19:15 +0000)]
- split hmac_derive in two: hmac and hmac_kdf
Bart Polot [Mon, 27 Apr 2015 19:15:05 +0000 (19:15 +0000)]
- set tunel's e_state from axolotl
Bart Polot [Mon, 27 Apr 2015 19:15:04 +0000 (19:15 +0000)]
- doxygen
Bart Polot [Mon, 27 Apr 2015 19:15:02 +0000 (19:15 +0000)]
- don't do otr-rekey if a tunnel is Ax type
Bart Polot [Mon, 27 Apr 2015 19:15:01 +0000 (19:15 +0000)]
- log
Bart Polot [Mon, 27 Apr 2015 19:14:59 +0000 (19:14 +0000)]
- refactor otr
- use signed axolotl ECDH
- doxygen
- log
- minor fixes
Bart Polot [Mon, 27 Apr 2015 19:14:58 +0000 (19:14 +0000)]
- added a signature purpose for signing of axolotl kx messages
Bart Polot [Mon, 27 Apr 2015 19:14:57 +0000 (19:14 +0000)]
- add ECDH key caching and verifying
Bart Polot [Mon, 27 Apr 2015 19:14:55 +0000 (19:14 +0000)]
- due to incompatibilities in the representation of the ECC public key for ECDH and EdDSA, peers must provide en explicit ECDH key and sign it with theis EdDSA ID.
Bart Polot [Mon, 27 Apr 2015 19:14:54 +0000 (19:14 +0000)]
- implement single peer info
Bart Polot [Mon, 27 Apr 2015 19:14:53 +0000 (19:14 +0000)]
- fix wrong state modifier
Bart Polot [Mon, 27 Apr 2015 19:14:51 +0000 (19:14 +0000)]
- debug info
Bart Polot [Mon, 27 Apr 2015 19:14:50 +0000 (19:14 +0000)]
- debug message name
Bart Polot [Mon, 27 Apr 2015 19:14:49 +0000 (19:14 +0000)]
- debug
Bart Polot [Mon, 27 Apr 2015 19:14:47 +0000 (19:14 +0000)]
- ignore unknown connections
Bart Polot [Mon, 27 Apr 2015 19:14:45 +0000 (19:14 +0000)]
- fix alice-bob identification
Bart Polot [Mon, 27 Apr 2015 19:14:44 +0000 (19:14 +0000)]
- refactor kx sending, unify under send_kx
Bart Polot [Mon, 27 Apr 2015 19:14:42 +0000 (19:14 +0000)]
- register ax traffic
Bart Polot [Mon, 27 Apr 2015 19:14:41 +0000 (19:14 +0000)]
- add cid field to ax_kx
Bart Polot [Mon, 27 Apr 2015 19:14:39 +0000 (19:14 +0000)]
- fix
Bart Polot [Mon, 27 Apr 2015 19:14:38 +0000 (19:14 +0000)]
- use axolotl by default
Bart Polot [Mon, 27 Apr 2015 19:14:37 +0000 (19:14 +0000)]
- don't check own ephemeral
Bart Polot [Mon, 27 Apr 2015 19:14:35 +0000 (19:14 +0000)]
- add send kx for axolotl
Bart Polot [Mon, 27 Apr 2015 19:14:34 +0000 (19:14 +0000)]
- add kx ephemeral key to ax context
Bart Polot [Mon, 27 Apr 2015 19:14:32 +0000 (19:14 +0000)]
- don't send receivers ID, not needed
Bart Polot [Mon, 27 Apr 2015 19:14:31 +0000 (19:14 +0000)]
- use proper connection to determine direction
Bart Polot [Mon, 27 Apr 2015 19:14:30 +0000 (19:14 +0000)]
- typo
Bart Polot [Mon, 27 Apr 2015 19:14:28 +0000 (19:14 +0000)]
- doxygen
Bart Polot [Mon, 27 Apr 2015 19:14:27 +0000 (19:14 +0000)]
- axolotl encryption
Bart Polot [Mon, 27 Apr 2015 19:14:26 +0000 (19:14 +0000)]
- add alice/bob order to kx
Bart Polot [Mon, 27 Apr 2015 19:14:24 +0000 (19:14 +0000)]
- generate a new ephemeral ratchet key on tunnel creation
Bart Polot [Mon, 27 Apr 2015 19:14:23 +0000 (19:14 +0000)]
- memleak
Bart Polot [Mon, 27 Apr 2015 19:14:22 +0000 (19:14 +0000)]
- remove dead code
Bart Polot [Mon, 27 Apr 2015 19:14:20 +0000 (19:14 +0000)]
- doxygen
Bart Polot [Mon, 27 Apr 2015 19:14:19 +0000 (19:14 +0000)]
- cast own key
Bart Polot [Mon, 27 Apr 2015 19:14:18 +0000 (19:14 +0000)]
- ax kdf
Bart Polot [Mon, 27 Apr 2015 19:14:16 +0000 (19:14 +0000)]
- doc
Bart Polot [Mon, 27 Apr 2015 19:14:15 +0000 (19:14 +0000)]
- document axolotl fields
Bart Polot [Mon, 27 Apr 2015 19:14:13 +0000 (19:14 +0000)]
- refactor kx handling
Bart Polot [Mon, 27 Apr 2015 19:14:12 +0000 (19:14 +0000)]
- const
Bart Polot [Mon, 27 Apr 2015 19:14:10 +0000 (19:14 +0000)]
- if C is NULL, can't use it for getting the ID
Bart Polot [Mon, 27 Apr 2015 19:14:09 +0000 (19:14 +0000)]
- NULL connections means error
Bart Polot [Mon, 27 Apr 2015 19:14:08 +0000 (19:14 +0000)]
- count traffic as connection confirmation
Bart Polot [Mon, 27 Apr 2015 19:14:06 +0000 (19:14 +0000)]
- fix const, log
Bart Polot [Mon, 27 Apr 2015 19:14:05 +0000 (19:14 +0000)]
- refactor to check messages from both enc systems
Bart Polot [Mon, 27 Apr 2015 19:14:04 +0000 (19:14 +0000)]
- data struct for axolotl internal state