| 1 |
2016-03-07 |
| 2 |
|
| 3 |
* tests/regression/client/Makefile.am: |
| 4 |
* tests/unit/Makefile.am: Add LIBGCRYPT_CFLAGS to the test suite |
| 5 |
|
| 6 |
* Makefile.am: |
| 7 |
* configure.ac: Only build the test suite on Linux, since it |
| 8 |
currently uses Linux-specific features such as epoll |
| 9 |
|
| 10 |
2016-03-06 |
| 11 |
|
| 12 |
* Makefile.am: Add bootstrap to the tarball |
| 13 |
|
| 14 |
2016-03-04 |
| 15 |
|
| 16 |
* README: |
| 17 |
* configure.ac: |
| 18 |
* src/version.h: Bump version number to 4.1.1 |
| 19 |
|
| 20 |
2016-03-03 |
| 21 |
|
| 22 |
* src/proto.c (otrl_proto_accept_data): |
| 23 |
* src/proto.c (otrl_proto_fragment_accumulate): |
| 24 |
* src/proto.c (otrl_proto_fragment_create): Prevent integer |
| 25 |
overflow on 64-bit architectures when receiving 4GB messages. |
| 26 |
In several places in proto.c, the sizes of portions of incoming |
| 27 |
messages were stored in variables of type int or unsigned int |
| 28 |
instead of size_t. If a message arrives with very large |
| 29 |
sizes (for example unsigned int datalen = UINT_MAX), then |
| 30 |
constructions like malloc(datalen+1) will turn into malloc(0), |
| 31 |
which on some architectures returns a non-NULL pointer, but |
| 32 |
UINT_MAX bytes will get written to that pointer. Ensure all |
| 33 |
calls to malloc or realloc cannot integer overflow like this. |
| 34 |
Thanks to Markus Vervier of X41 D-Sec GmbH |
| 35 |
<[email protected]> for the report. |
| 36 |
|
| 37 |
* Protocol-v3.html: Clarify that instance tags and fragment |
| 38 |
numbers in the OTR fragment format are allowed to have leading |
| 39 |
0s. Also fix that how to handle v2 versus v3 messages for the |
| 40 |
Reveal Signature and Signature messages was missing. Thanks to |
| 41 |
Ola Bini <[email protected]> for the report. |
| 42 |
|
| 43 |
2015-12-25 |
| 44 |
|
| 45 |
* src/instag.c (otrl_instag_read_FILEp): Fix memory leak in |
| 46 |
otrl_instag_read_FILEp if the tag file is malformed. Thanks to |
| 47 |
Jean-Philippe Aumasson <[email protected]> for the |
| 48 |
report. |
| 49 |
|
| 50 |
2015-08-18 |
| 51 |
|
| 52 |
* src/message.c (otrl_message_receiving): |
| 53 |
* src/proto.c (otrl_proto_create_data): Set to NULL the sendsmp |
| 54 |
pointer when handling SMP to avoid a potential free() of an |
| 55 |
uninitialized pointer. Also ensure the message pointer is set |
| 56 |
to NULL in otrl_proto_create_data for extra precaution and to |
| 57 |
prevent future code paths from having the same error. Thanks to |
| 58 |
Nicolas Guigo <[email protected]> and Ben Hawkes |
| 59 |
<[email protected]> for the report. |
| 60 |
|
| 61 |
2015-02-08 |
| 62 |
|
| 63 |
* Protocol-v3.html: Typo fixes, thanks to Hannes Mehnert |
| 64 |
<[email protected]> and Nadim Kobeissi <[email protected]> |
| 65 |
for the reports. |
| 66 |
|
| 67 |
* src/message.c: Be stricter about parsing v3 fragments. Thanks |
| 68 |
to Jean-Philippe Aumasson <[email protected]> for |
| 69 |
the report. |
| 70 |
|
| 71 |
2014-12-18 |
| 72 |
|
| 73 |
* Protocol-v3.html: Remove "sender_instance, receiver_instance," |
| 74 |
from description of v2 fragmentation and clarify that you can't |
| 75 |
fragment a fragment. Thanks to Hannes Mehnert |
| 76 |
<[email protected]> for the report. |
| 77 |
|
| 78 |
* Protocol-v3.html: Remove a stray "DRAFT" from the <title> tag. |
| 79 |
|
| 80 |
* Protocol-v2.html: |
| 81 |
* Protocol-v3.html: Clarify the DSA computation in the protocol |
| 82 |
specs. Thanks to Adam Langley <[email protected]> and |
| 83 |
Hannes Mehnert <[email protected]> for the report. |
| 84 |
|
| 85 |
2014-11-29 |
| 86 |
|
| 87 |
* README: |
| 88 |
* Makefile.am: |
| 89 |
* configure.ac: |
| 90 |
* tests/*: Brand new testsuite, thanks to |
| 91 |
David Goulet <[email protected]> and |
| 92 |
Julien Voisin <[email protected]>. |
| 93 |
"make check" to run it. |
| 94 |
|
| 95 |
2014-11-11 |
| 96 |
|
| 97 |
* b64.c (otrl_base64_otr_encode): In case some future code path |
| 98 |
tries to call otrl_base64_otr_encode with a buffer more than |
| 99 |
3/4 the size of all addressable memory, return NULL rather than |
| 100 |
causing an integer overflow and a heap overrun. Thanks to |
| 101 |
David Remahl <[email protected]> for the report. |
| 102 |
* proto.c (otrl_proto_create_data): Tiny refactor to call |
| 103 |
otrl_base64_otr_encode instead of duplicating the code here. |
| 104 |
|
| 105 |
2014-10-18 |
| 106 |
|
| 107 |
* README: |
| 108 |
* configure.ac: |
| 109 |
* src/version.h: Bump version number to 4.1.0 |
| 110 |
|
| 111 |
2014-10-18 |
| 112 |
|
| 113 |
* Protocol-v3.html: Correctly count the number of actions an OTR |
| 114 |
client must handle. Thanks to Fred Yontz <[email protected]> |
| 115 |
for the report. |
| 116 |
|
| 117 |
2014-10-13 |
| 118 |
|
| 119 |
* src/context.h: Add API functions |
| 120 |
otrl_context_find_recent_instance and |
| 121 |
otrl_context_find_recent_secure_instance. |
| 122 |
|
| 123 |
2014-10-13 |
| 124 |
|
| 125 |
* src/context.c (otrl_context_forget): Correct check for |
| 126 |
children contexts' state being OTRL_MSGSTATE_PLAINTEXT. Thanks |
| 127 |
to k007k <[email protected]> for the report. |
| 128 |
|
| 129 |
2014-10-13 |
| 130 |
|
| 131 |
* src/message.c (otrl_message_receiving): Fix memory leak in |
| 132 |
fragment reassembly. Thanks to Matthew D. Green |
| 133 |
<[email protected]> for the report and David Goulet |
| 134 |
<[email protected]> for the patch. |
| 135 |
|
| 136 |
2014-10-13 |
| 137 |
|
| 138 |
* src/message.c (otrl_message_sending): Fix possible memory |
| 139 |
leak. |
| 140 |
|
| 141 |
2014-07-13 |
| 142 |
|
| 143 |
* src/auth.c (otrl_auth_handle_commit): Add a clarifying |
| 144 |
comment. |
| 145 |
|
| 146 |
2014-06-12 |
| 147 |
|
| 148 |
* src/message.h: Typo fix. |
| 149 |
|
| 150 |
2014-06-03 |
| 151 |
|
| 152 |
* Makefile.am: |
| 153 |
* configure.ac: Modernize autoconf build system. Thanks to |
| 154 |
David Goulet <[email protected]> for the patch. |
| 155 |
|
| 156 |
2014-05-22 |
| 157 |
|
| 158 |
* README: |
| 159 |
* src/context.c: Typo fixes. |
| 160 |
|
| 161 |
2014-05-04 |
| 162 |
|
| 163 |
* INSTALL: |
| 164 |
* bootstrap: Add bootstrap script to set up the build system. |
| 165 |
Thanks to David Goulet <[email protected]> for the patch. |
| 166 |
|
| 167 |
2014-05-04 |
| 168 |
|
| 169 |
* src/dh.c: |
| 170 |
* src/sm.c: |
| 171 |
* toolkit/sesskeys.c: Use gcrypt secure memory allocation. |
| 172 |
Thanks to Julien Voisin <[email protected]> for the |
| 173 |
patch. |
| 174 |
|
| 175 |
2014-04-21 |
| 176 |
|
| 177 |
* src/mem.c (otrl_mem_differ): Simplify otrl_mem_differ. Thanks |
| 178 |
to Julien Voisin <[email protected]> for the patch. |
| 179 |
|
| 180 |
2014-02-20 |
| 181 |
|
| 182 |
* src/proto.c (otrl_proto_instance): Fix a memory leak when |
| 183 |
receiving an invalid instance tag. Thanks to Julien Voisin |
| 184 |
<[email protected]> for the patch. |
| 185 |
|
| 186 |
2014-02-15 |
| 187 |
|
| 188 |
* src/proto.c: |
| 189 |
* src/auth.c: |
| 190 |
* src/mem.c: |
| 191 |
* src/mem.h: Use a constant-time memory comparison for safety. |
| 192 |
Thanks to jvoisin <[email protected]> for the suggestion. |
| 193 |
|
| 194 |
2013-10-13 |
| 195 |
|
| 196 |
* src/proto.c: Return 0 instead of crashing from |
| 197 |
otrl_proto_query_bestversion if passed an illegal input. |
| 198 |
Thanks to Conrad Hoffmann <[email protected]> for the report and |
| 199 |
the patch. |
| 200 |
|
| 201 |
2013-08-21 |
| 202 |
|
| 203 |
* src/proto.c: Fix warning from clang in proto.c. Before, trying |
| 204 |
to fragment a message into more than 65535 pieces would cause |
| 205 |
incorrect fragments to be output. Now, it just returns an error |
| 206 |
(as that is disallowed by the spec). Thanks to Teemu Huovila |
| 207 |
<[email protected]> for reporting the issue. |
| 208 |
|
| 209 |
2013-08-08 |
| 210 |
|
| 211 |
* Protocol-v3.html: Random exponents in SMP should be 1536 bits. |
| 212 |
The spec (but not the code) incorrectly said "128 bits" before. |
| 213 |
|
| 214 |
2013-07-28 |
| 215 |
|
| 216 |
* packaging/fedora/libotr.spec: Fedora spec file for 4.x from |
| 217 |
Paul Wouters <[email protected]> |
| 218 |
|
| 219 |
2013-07-17 |
| 220 |
|
| 221 |
* toolkit/sesskeys.c: Workaround for a crash bug in libgcrypt |
| 222 |
affecting otr_sesskeys. Passing a private key value of 0 to |
| 223 |
otr_sesskeys would cause libgcrypt to crash in gcry_mpi_powm. |
| 224 |
We reported this libgcrypt bug and it was then fixed in |
| 225 |
http://lists.gnupg.org/pipermail/gcrypt-devel/2013-July/002251.html |
| 226 |
but the workaround is simply to use |
| 227 |
gcry_mpi_new(DH1536_MOD_LEN_BITS) instead of gcry_mpi_new(0). |
| 228 |
Note that this only affected the otr_sesskeys toolkit program, |
| 229 |
and not libotr itself. |
| 230 |
Thanks to the Mayhem Team at CMU (Alexandre Rebert, Thanassis |
| 231 |
Avgerinos, Sang Kil Cha, David Brumley, Manuel Egele) for the |
| 232 |
report. |
| 233 |
|
| 234 |
2013-01-19 |
| 235 |
|
| 236 |
* src/message.c: pass opdata when sending message fragment |
| 237 |
The inject_message callback was missing the opdata when sending |
| 238 |
message fragments. Thanks to David Goulet <[email protected]> |
| 239 |
for the report. |
| 240 |
|
| 241 |
2012-12-18 |
| 242 |
|
| 243 |
* src/message.c: Copy lastmessage to the newly created context. |
| 244 |
This fixes a case where the first user message gets lost when |
| 245 |
OTRL_POLICY_REQUIRE_ENCRYPTION policy is set because after |
| 246 |
establishing the encryption lastmessage remains with the master |
| 247 |
context and will not be resent. Thanks to Andreas Schlick |
| 248 |
<[email protected]> for the report. |
| 249 |
|
| 250 |
2012-09-09 |
| 251 |
|
| 252 |
* configure.ac: Make linker hardening [DEP, ALSR] work on |
| 253 |
Windows builds. Thanks to Daniel Atallah <[email protected]> |
| 254 |
for noticing that it wasn't working before. |
| 255 |
|
| 256 |
2012-09-04 |
| 257 |
|
| 258 |
* README: Release 4.0.0 |
| 259 |
|
| 260 |
2012-08-28 |
| 261 |
|
| 262 |
* UPGRADING: |
| 263 |
* src/proto.h: |
| 264 |
* src/proto.c: Don't have otrl_init call exit(1) if the |
| 265 |
application's requested version number differs from libotr's. |
| 266 |
Rather, return a non-zero error code, and have the application |
| 267 |
clean up gracefully. The OTRL_INIT macro now checks the error |
| 268 |
code and does an exit(1) as the default behaviour, but the |
| 269 |
application can do what it likes. |
| 270 |
|
| 271 |
2012-08-27 |
| 272 |
|
| 273 |
* src/auth.h: |
| 274 |
* src/auth.c: |
| 275 |
* src/message.c: Record the time the last COMMIT was sent from a |
| 276 |
master context. This will be used to clear the committed key |
| 277 |
from the master context once we don't expect any more instances |
| 278 |
of our buddy to respond with a DHKEY message. |
| 279 |
|
| 280 |
* UPGRADING: |
| 281 |
* src/userstate.h: |
| 282 |
* src/userstate.c: |
| 283 |
* src/message.h: |
| 284 |
* src/message.c: Add a timer_control callback to |
| 285 |
OtrlMessageAppOps in order to actually clear out the above stale |
| 286 |
committed keys. |
| 287 |
|
| 288 |
2012-08-26 |
| 289 |
|
| 290 |
* src/context.c: |
| 291 |
* src/context_priv.c: |
| 292 |
* src/context_priv.h: libotr was exporting exactly two functions |
| 293 |
without the otrl_ prefix: context_priv_new and |
| 294 |
context_priv_force_finished. Change the names of these |
| 295 |
functions to start with otrl_. Thanks to David Goulet |
| 296 |
<[email protected]> for noticing it. |
| 297 |
|
| 298 |
* Protocol-v3.html: Document the v3 whitespace tag, and better |
| 299 |
document the extra symmetric key. Thanks to Kjell Braden |
| 300 |
<[email protected]> for noticing the omission. |
| 301 |
|
| 302 |
2012-08-25 |
| 303 |
|
| 304 |
* src/sm.c: |
| 305 |
* src/context.c: |
| 306 |
* src/auth.c: |
| 307 |
* src/message.c: If OTRL_DEBUGGING is non-zero, then a message |
| 308 |
containing a special debug string ("?OTR!") will cause debug |
| 309 |
info to be printed to stderr. (This #define should *not* be set |
| 310 |
in release code.) |
| 311 |
|
| 312 |
* src/auth.c: |
| 313 |
* src/auth.h: |
| 314 |
* src/message.c: Correct the logic for handling incoming COMMIT |
| 315 |
messages when we've recently sent our own COMMIT message. |
| 316 |
|
| 317 |
* src/message.c: Don't update the recent_sent_child field to |
| 318 |
point to the master context just becuase we sent a version 3 |
| 319 |
COMMIT message (which has no destination instance). |
| 320 |
|
| 321 |
2012-08-24 |
| 322 |
|
| 323 |
* README: |
| 324 |
* configure.ac: Prepare for release 4.0.0 |
| 325 |
|
| 326 |
2012-08-24 |
| 327 |
|
| 328 |
* src/message.c: Consider copying the master auth context to the |
| 329 |
child, even if the child is already in ENCRYPTED, because we |
| 330 |
might be trying to refresh a private conversation. |
| 331 |
|
| 332 |
2012-08-22 |
| 333 |
|
| 334 |
* configure.ac: Use gcc and ld hardening flags, where possible. |
| 335 |
* configure.ac: |
| 336 |
* src/auth.c: |
| 337 |
* src/dh.c: |
| 338 |
* src/mem.c: |
| 339 |
* src/privkey.c: |
| 340 |
* src/proto.c: |
| 341 |
* src/sm.c: |
| 342 |
* toolkit/sesskey.c: Build cleanly with -Wall -Wextra |
| 343 |
-Wformat-security -Wno-unused-parameter |
| 344 |
|
| 345 |
2012-08-17 |
| 346 |
|
| 347 |
* src/message.c: Don't call memchr(foo,'\0',-1) even if it has |
| 348 |
no ill effects. Thanks to George Kadianakis |
| 349 |
<[email protected]> for the report. |
| 350 |
|
| 351 |
2012-07-20 |
| 352 |
|
| 353 |
* src/message.c, src/instag.c, toolkit/parse.c, src/sm.c, |
| 354 |
src/proto.c, src/privkey.c, src/auth.c, src/context.[ch]: |
| 355 |
Fix some memory leaks, some NULL pointer handling, and |
| 356 |
compilation warnings. Thanks to Paul Wouters |
| 357 |
<[email protected]> for the report. |
| 358 |
|
| 359 |
* src/message.c: Better handling of OTRv3 fragments. |
| 360 |
|
| 361 |
2012-07-19 |
| 362 |
|
| 363 |
* src/b64.[ch], src/proto.c, toolkit/parse.c: Clean up the |
| 364 |
previous b64 patch and apply it to all places where |
| 365 |
otrl_base64_decode() is called. |
| 366 |
|
| 367 |
2012-07-17 |
| 368 |
|
| 369 |
* src/b64.c: Use ceil instead of floor to compute the size |
| 370 |
of the data buffer. This prevents a one-byte heap buffer |
| 371 |
overflow. Thanks to Justin Ferguson <[email protected]> |
| 372 |
for the report. |
| 373 |
|
| 374 |
2012-06-21 |
| 375 |
|
| 376 |
* src/context.c: A couple bug fixes. |
| 377 |
* Release 4.0.0-beta2 |
| 378 |
|
| 379 |
2012-06-07 |
| 380 |
|
| 381 |
* Release 4.0.0-beta1 |
| 382 |
|
| 383 |
2012-05-08: |
| 384 |
|
| 385 |
* src/instag.c: |
| 386 |
* src/message.c: Returning proper gcry types to avoid |
| 387 |
compile warnings. |
| 388 |
|
| 389 |
2012-05-03: |
| 390 |
|
| 391 |
* src/instag.c: Fixed otrl_instag_new(). |
| 392 |
|
| 393 |
2012-04-30: |
| 394 |
|
| 395 |
* AUTHORS: |
| 396 |
* README: |
| 397 |
* toolkit/otr_parse.c: |
| 398 |
* toolkit/otr_remac.c: |
| 399 |
* toolkit/parse.c: |
| 400 |
* toolkit/parse.h: |
| 401 |
* src/auth.c: |
| 402 |
* src/auth.h: |
| 403 |
* src/context.c: |
| 404 |
* src/context.h: |
| 405 |
* src/message.c: |
| 406 |
* src/message.h: |
| 407 |
* src/privkey.c: |
| 408 |
* src/privkey.h: |
| 409 |
* src/proto.c: |
| 410 |
* src/proto.h: |
| 411 |
* src/serial.h: |
| 412 |
* src/tests.c: |
| 413 |
* src/userstate.c: |
| 414 |
* src/userstate.h: More changes for instance tags (Rob Smits). |
| 415 |
|
| 416 |
2009-06-11: |
| 417 |
|
| 418 |
* src/auth.c: |
| 419 |
* src/auth.h: |
| 420 |
* src/context.c: |
| 421 |
* src/context.h: |
| 422 |
* src/context_priv.h: |
| 423 |
* src/message.c: |
| 424 |
* src/message.h: |
| 425 |
* src/privkey.c: |
| 426 |
* src/privkey.h: |
| 427 |
* src/proto.c: |
| 428 |
* src/proto.h: |
| 429 |
* src/serial.h: |
| 430 |
* src/tests.c: |
| 431 |
* src/userstate.c: |
| 432 |
* src/userstate.h: Core instance tag functionality (Lisa Du). |
| 433 |
|
| 434 |
2009-09-30: |
| 435 |
|
| 436 |
* Protocol-v2.html: Edits from Göran Weinholt |
| 437 |
<[email protected]> |
| 438 |
|
| 439 |
2009-04-28: |
| 440 |
|
| 441 |
* src/auth.c: pubkey_type should be shifted by 8, not 16. It |
| 442 |
doesn't matter right now, because it's always 0, but still. |
| 443 |
(Thanks to Can Tang.) |
| 444 |
|
| 445 |
2008-08-15: |
| 446 |
|
| 447 |
* src/Makefile.am: |
| 448 |
* src/context.c: |
| 449 |
* src/context.h: |
| 450 |
* src/context_priv.c: |
| 451 |
* src/context_priv.h: |
| 452 |
* src/message.c: |
| 453 |
* src/message.h: |
| 454 |
* src/proto.c: |
| 455 |
* src/proto.h: Willy Lew's updates of the libotr API |
| 456 |
|
| 457 |
2008-08-06: |
| 458 |
|
| 459 |
* src/proto.c: gcc 4.2 with -O2 assumes that integer overflow |
| 460 |
never occurs when optimizing away tests, including those for |
| 461 |
integer overflow. The code was made more specific. |
| 462 |
|
| 463 |
2008-07-09: |
| 464 |
|
| 465 |
* src/privkey.h: |
| 466 |
* src/privkey.c: Add otrl_privkey_generate_cancel to handle the |
| 467 |
case that the background key generation thread is cancelled or |
| 468 |
fails. |
| 469 |
|
| 470 |
2008-07-06: |
| 471 |
|
| 472 |
* configure.ac: Update libtool version to match 4.0.0. |
| 473 |
|
| 474 |
* src/privkey-t.h: |
| 475 |
* src/privkey.c: |
| 476 |
* src/privkey.h: |
| 477 |
* src/userstate.c: |
| 478 |
* src/userstate.h: Support for generating privkeys in a |
| 479 |
background thread. |
| 480 |
|
| 481 |
2008-07-02: |
| 482 |
|
| 483 |
* version.h: Change version number to 4.0.0 (but still far from |
| 484 |
release). |
| 485 |
|
| 486 |
* tlv.h: |
| 487 |
* proto.h: |
| 488 |
* proto.c: |
| 489 |
* message.h: |
| 490 |
* message.c: |
| 491 |
* dh.h: |
| 492 |
* dh.c: Support for applications requesting an extra session key |
| 493 |
that can be used for things like file transfers. |
| 494 |
|
| 495 |
* message.h: |
| 496 |
* message.c: Applications now use the handle_smp_event callback |
| 497 |
to handle SMP events, rather than having to hardcode part of the |
| 498 |
SMP state machine themselves. |
| 499 |
|
| 500 |
2008-06-15: |
| 501 |
|
| 502 |
* README: Release version 3.2.0. |
| 503 |
|
| 504 |
2008-06-13: |
| 505 |
|
| 506 |
* UPGRADING: Clarify what was new in 3.1.0, what was changed |
| 507 |
in 3.2.0. |
| 508 |
|
| 509 |
2008-05-27: |
| 510 |
|
| 511 |
* UPGRADING: Update documentation. |
| 512 |
|
| 513 |
* README: |
| 514 |
* toolkit/*.[ch]: |
| 515 |
* src/*.[ch]: Update copyright dates to 2004-2008. |
| 516 |
|
| 517 |
* src/tlv.h: Add new OTRL_TLV_SMP1Q TLV type to indicate an |
| 518 |
instance of the first SMP message, with an explicit question. |
| 519 |
|
| 520 |
* src/sm.h: |
| 521 |
* src/sm.c: More carefully track the progress of the SMP using a |
| 522 |
new smp_prog_state field. Also keep track of whether Bob |
| 523 |
received an explicit question from Alice using a new |
| 524 |
received_question field. |
| 525 |
|
| 526 |
* src/message.c: Handle explicit questions for the SMP. |
| 527 |
|
| 528 |
* src/message.c: Behave better if an SMP message fails |
| 529 |
verification. |
| 530 |
|
| 531 |
* README: |
| 532 |
* configure.ac: |
| 533 |
* src/version.h: Update version number to 3.2.0. |
| 534 |
|
| 535 |
2007-07-26 |
| 536 |
|
| 537 |
* src/sm.c: |
| 538 |
* src/message.c: ISO C cleanups (no mixing declarations with |
| 539 |
code) |
| 540 |
|
| 541 |
* src/sm.c: Fixed a 64-bit pointer error |
| 542 |
|
| 543 |
2007-07-25 |
| 544 |
|
| 545 |
* src/message.c: Behave sanely if we receive a totally malformed |
| 546 |
SMP message. |
| 547 |
|
| 548 |
2007-07-24 |
| 549 |
|
| 550 |
* src/proto.h: |
| 551 |
* src/proto.c: |
| 552 |
* src/message.c: Implemented fragmentation of large messages |
| 553 |
|
| 554 |
* src/message.h: New callback for fragmentation |
| 555 |
|
| 556 |
* src/privkey.h: |
| 557 |
* src/privkey.c (otrl_privkey_fingerprint_raw): New function to |
| 558 |
return a raw hash of an account's public key |
| 559 |
|
| 560 |
* src/proto.c: Keep track of the API version number passed to |
| 561 |
otrl_init() |
| 562 |
|
| 563 |
* src/context.h: |
| 564 |
* src/context.c: |
| 565 |
* src/tlv.h: |
| 566 |
* src/sm.h: |
| 567 |
* src/sm.c: Implemented the Socialist Millionaires' Protocol for |
| 568 |
authenticating buddies without using user-visible fingerprints |
| 569 |
|
| 570 |
* src/b64.h: |
| 571 |
* src/b64.c (decode, otrl_base64_decode): Corrected char vs. |
| 572 |
unsigned char |
| 573 |
|
| 574 |
* README: |
| 575 |
* configure.ac: |
| 576 |
* src/version.h: Change version number to 3.1.0 |
| 577 |
|
| 578 |
* Most files: Update copyright information |
| 579 |
|
| 580 |
2007-07-23 |
| 581 |
|
| 582 |
* src/message.h: |
| 583 |
* src/message.c: Added account_name and account_name_free callbacks |
| 584 |
to OtrlMessageAppOps to let the application choose how to |
| 585 |
display the account name in OTR Error Messages. Based on a |
| 586 |
patch from Evan Schoenberg <[email protected]>. |
| 587 |
|
| 588 |
2006-07-24 |
| 589 |
|
| 590 |
* src/privkey.h: |
| 591 |
* src/privkey.c: Add routines to read and write privkey and |
| 592 |
fingerprint data to FILE*s, instead of to filenames. |
| 593 |
|
| 594 |
2006-05-09 |
| 595 |
|
| 596 |
* Protocol-v2.html: Fix a typo, and correct the documentation |
| 597 |
regarding when MAC keys are revealed. |
| 598 |
|
| 599 |
2006-04-13 |
| 600 |
|
| 601 |
* src/context.h: Change "struct fingerprint" to "struct |
| 602 |
s_fingerprint" to appease some C++ compilers. |
| 603 |
|
| 604 |
2006-02-09 |
| 605 |
|
| 606 |
* src/auth.c (otrl_auth_handle_v1_key_exchange): Fix |
| 607 |
uninitialized variable received_pub. |
| 608 |
|
| 609 |
2005-12-30 |
| 610 |
|
| 611 |
* src/message.c: Fix a typo, thanks to Anton Blanchard |
| 612 |
<[email protected]>. |
| 613 |
|
| 614 |
2005-11-20 |
| 615 |
|
| 616 |
* src/proto.h: Fix typo in policy #defines. |
| 617 |
|
| 618 |
2005-11-02 |
| 619 |
|
| 620 |
* README: |
| 621 |
* src/version.h: Release version 3.0.0 |
| 622 |
|
| 623 |
2005-10-30 |
| 624 |
|
| 625 |
* Protocol-v2.html: Clarified the uniqueness conditions for the |
| 626 |
counter. |
| 627 |
|
| 628 |
* src/auth.c (otrl_auth_handle_v1_key_exchange): Clear the auth |
| 629 |
structure when we receive an unexpected v1 Key Exchange Message. |
| 630 |
|
| 631 |
2005-10-27 |
| 632 |
|
| 633 |
* src/auth.h: |
| 634 |
* src/auth.c: |
| 635 |
* src/message.c: Ensure version 2 AKEs are always done with |
| 636 |
fresh D-H parameters. |
| 637 |
|
| 638 |
* src/proto.h: |
| 639 |
* src/proto.c: |
| 640 |
* src/message.c: Add a "flags" field to the version 2 Data |
| 641 |
Message, which can indicate that the Data Message should be |
| 642 |
ignored if unreadable (as opposed to displaying an error). |
| 643 |
|
| 644 |
* toolkit/parse.h: |
| 645 |
* toolkit/parse.c: |
| 646 |
* toolkit/otr_parse.c: |
| 647 |
* toolkit/otr_remac.c: Deal with the new kind of Data Message. |
| 648 |
|
| 649 |
* src/message.c: Use the gone_secure callback instead of the |
| 650 |
still_secure callback if the other side changes its fingerprint. |
| 651 |
|
| 652 |
2005-10-19 |
| 653 |
|
| 654 |
* src/context.h: |
| 655 |
* src/context.c: Added protocol_version as an explicit field in |
| 656 |
the ConnContext. |
| 657 |
|
| 658 |
* src/message.h: |
| 659 |
* src/message.c: protocol_version no longer needs to be |
| 660 |
explicitly passed to the gone_secure() and still_secure() |
| 661 |
callbacks. |
| 662 |
|
| 663 |
* packaging/fedora/libotr.spec: Patches from Paul |
| 664 |
|
| 665 |
* src/proto.c (rotate_dh_keys): Avoid potential double |
| 666 |
gcry_cipher_close(). |
| 667 |
|
| 668 |
* src/tests.c: Regression test for double gcry_cipher_close(). |
| 669 |
|
| 670 |
2005-10-16 |
| 671 |
|
| 672 |
* Major overhaul with implementation of version 2 AKE. |
| 673 |
|
| 674 |
2005-08-08 |
| 675 |
|
| 676 |
* toolkit/otr_parse.c (parse): Ignore MACs that are too short, |
| 677 |
rather than going into an infinite loop. |
| 678 |
|
| 679 |
2005-08-04 |
| 680 |
|
| 681 |
* Protocol: Added section describing fragments. |
| 682 |
|
| 683 |
* src/proto.h: |
| 684 |
* src/proto.c (otrl_proto_fragment_accumulate): |
| 685 |
* src/context.h: |
| 686 |
* src/context.c (new_context, otrl_context_force_setup): Keep |
| 687 |
track of fragments in the ConnContext structure. |
| 688 |
|
| 689 |
* src/message.c (otrl_message_receiving): Handle fragments in |
| 690 |
received messages. |
| 691 |
|
| 692 |
* src/mem.c: Don't do arithmetic on void pointers. |
| 693 |
|
| 694 |
2005-07-29 |
| 695 |
|
| 696 |
* src/message.h: |
| 697 |
* src/message.c: Move ops to be the first param of |
| 698 |
new_fingerprint, as it is with all the other callbacks. |
| 699 |
|
| 700 |
* src/context.h: |
| 701 |
* src/context.c (otrl_context_set_preshared_secret): |
| 702 |
* src/dh.h: |
| 703 |
* src/dh.c (otrl_dh_session, otrl_dh_cmpctr): |
| 704 |
* src/message.h: |
| 705 |
* src/message.c (otrl_message_sending, send_or_error, process_kem) |
| 706 |
(otrl_message_receiving, otrl_message_disconnect): |
| 707 |
* src/privkey.h: |
| 708 |
* src/privkey.c (otrl_privkey_hash_to_human): |
| 709 |
* src/proto.h: |
| 710 |
* src/proto.c (otrl_proto_create_data): |
| 711 |
* src/tlv.h: |
| 712 |
* src/tlv.c (otrl_tlv_new, otrl_tlv_parse, otrl_tlv_seriallen) |
| 713 |
(otrl_tlv_serialize): Add missing "const"s. (Closes #1243963) |
| 714 |
|
| 715 |
2005-06-24 |
| 716 |
|
| 717 |
* README: |
| 718 |
* configure.ac: |
| 719 |
* packaging/fedora/libotr.spec: |
| 720 |
* src/version.h: Change version to 3.0.0 (but don't yet release) |
| 721 |
|
| 722 |
* Protocol: Clarify that, if the user requests to see the secure |
| 723 |
session id in the middle of the conversation, the value |
| 724 |
displayed should be the one calculated at the time the private |
| 725 |
connection was established (the last Key Exchange Message that |
| 726 |
caused a rekeying), _not_ the DH secure id calculated from DH |
| 727 |
keys in more recent Data Messages. |
| 728 |
|
| 729 |
* libotr.m4: Have the version check require an exact match on |
| 730 |
the major version, since, for example, source that expects |
| 731 |
libotr 2.0.0 won't work with libotr 3.0.0. |
| 732 |
|
| 733 |
* libotr.m4: Add #include <stdlib.h> to the version test so that |
| 734 |
it compiles cleanly with -Wall -Werror. |
| 735 |
|
| 736 |
* src/proto.c: |
| 737 |
* src/dh.h: |
| 738 |
* src/dh.c: |
| 739 |
* src/context.h: |
| 740 |
* src/context.c: Save the secure session id so that it can be |
| 741 |
displayed to the user upon request, instead of only when the |
| 742 |
private session is initially set up. |
| 743 |
|
| 744 |
* src/privkey.c: |
| 745 |
* src/context.h: |
| 746 |
* src/context.c: Allow the app to set a "trust level" for |
| 747 |
fingerprints. This is an arbitrary string, intended to indicate |
| 748 |
whether (or possibly by what means) the user has verified that |
| 749 |
this fingerprint is accurate. |
| 750 |
|
| 751 |
* src/context.h: |
| 752 |
* src/context.c: Allow the app to set an arbitrary binary |
| 753 |
"preshared secret" for the ConnContext. This is currently |
| 754 |
unused, but in the future it would allow for users to exchange a |
| 755 |
secret _before_ they generate their fingerprints. [But the |
| 756 |
protocol would have to be extended to support this.] |
| 757 |
|
| 758 |
* src/message.h: |
| 759 |
* src/message.c: Remove the "confirm_fingerprint" callback |
| 760 |
which requires the user to acknowledge the new fingerprint |
| 761 |
before it can be used. Replace it with a "new_fingerprint" |
| 762 |
callback which merely informs the user that a new fingerprint |
| 763 |
has been received. |
| 764 |
|
| 765 |
2005-05-13 |
| 766 |
|
| 767 |
* libotr.m4: Fixed a bug which made configure fail to find the |
| 768 |
libotr header files if they weren't in the standard place. |
| 769 |
|
| 770 |
2005-05-09 |
| 771 |
|
| 772 |
* src/privkey.c (otrl_privkey_read_fingerprints): Allow fields, |
| 773 |
particularly accountnames, to contain spaces. Closes #1198379. |
| 774 |
|
| 775 |
2005-05-03 |
| 776 |
|
| 777 |
* README: |
| 778 |
* configure.ac: |
| 779 |
* packaging/fedora/libotr.spec: |
| 780 |
* src/version.h: Change version to 2.0.2 |
| 781 |
|
| 782 |
* packaging/debian: Remove this directory, as Thibaut VARENE |
| 783 |
<[email protected]> is now responsible for the debian packages. |
| 784 |
|
| 785 |
2005-02-23 |
| 786 |
|
| 787 |
* src/privkey.c (otrl_privkey_hash_to_human): Avoid writing a |
| 788 |
NUL one byte past the end of the buffer |
| 789 |
|
| 790 |
2005-02-16 |
| 791 |
|
| 792 |
* README: |
| 793 |
* configure.ac: |
| 794 |
* packaging/debian/changelog: |
| 795 |
* packaging/fedora/libotr.spec: |
| 796 |
* src/version.h: Change version to 2.0.1 |
| 797 |
|
| 798 |
2005-02-15 |
| 799 |
|
| 800 |
* src/message.c (otrl_message_sending, otrl_message_receiving) |
| 801 |
(otrl_message_disconnect): |
| 802 |
* src/proto.c (otrl_proto_accept_key_exchange) |
| 803 |
(otrl_proto_create_data, otrl_proto_accept_data): Don't send |
| 804 |
encrypted messages to a buddy who has disconnected his private |
| 805 |
connection with us. |
| 806 |
|
| 807 |
* src/message.c (otrl_message_sending): Don't show the user the |
| 808 |
"the last message was resent" notice if the message has never |
| 809 |
actually been sent before. |
| 810 |
|
| 811 |
2005-02-09 |
| 812 |
|
| 813 |
* src/proto.c (otrl_proto_create_data): Copy the msg before |
| 814 |
using since, since it may be an alias for context->lastmessage, |
| 815 |
which we're going to gcry_free(). |
| 816 |
|
| 817 |
2005-02-08 |
| 818 |
|
| 819 |
* README: |
| 820 |
* configure.ac: |
| 821 |
* packaging/debian/changelog: |
| 822 |
* packaging/fedora/libotr.spec: |
| 823 |
* src/version.h: Change version to 2.0.0 |
| 824 |
|
| 825 |
2005-02-07 |
| 826 |
|
| 827 |
* src/context.h: |
| 828 |
* src/context.c (new_context, otrl_context_force_setup): |
| 829 |
* src/message.c (otrl_message_sending, otrl_message_receiving): |
| 830 |
* src/proto.c (otrl_proto_accept_key_exchange): Keep track of |
| 831 |
whether the last message is eligible for retransmission. |
| 832 |
|
| 833 |
2005-02-02 |
| 834 |
|
| 835 |
* README: |
| 836 |
* configure.ac: |
| 837 |
* packaging/debian/changelog: |
| 838 |
* packaging/fedora/libotr.spec: |
| 839 |
* src/version.h: Change version to 1.99.0 |
| 840 |
|
| 841 |
* packaging/debian/libotr1.dirs: |
| 842 |
* packaging/debian/libotr1.install: |
| 843 |
* packaging/debian/rules: Build and install with the correct mandir |
| 844 |
|
| 845 |
* packaging/debian/rules: Install a shlibs file |
| 846 |
|
| 847 |
* packaging/debian/control: Add Replaces: to the packages so |
| 848 |
that dpkg -i will install them. |
| 849 |
|
| 850 |
* toolkit/Makefile.am: Create the mandir if it's not yet there |
| 851 |
|
| 852 |
* packaging/debian/libotr1-dev.dirs: |
| 853 |
* packaging/debian/libotr1-dev.install: |
| 854 |
* packaging/fedora/libotr.spec: Package the libotr.m4 file |
| 855 |
|
| 856 |
* Protocol: Added sections on policies and TLVs |
| 857 |
|
| 858 |
2005-02-01 |
| 859 |
|
| 860 |
* Makefile.am: |
| 861 |
* src/Makefile.am: |
| 862 |
* toolkit/Makefile.am: Use automake-1.8 |
| 863 |
|
| 864 |
2005-01-31 |
| 865 |
|
| 866 |
* tlv.h: |
| 867 |
* tlv.c: |
| 868 |
* src/Makefile.am: add new files tlv.c and tlv.h |
| 869 |
|
| 870 |
* src/message.c (otrl_message_sending): Allow you to specify a |
| 871 |
TLV chain to attach to a message. |
| 872 |
|
| 873 |
* src/message.c (otrl_message_receiving): Also return any TLV |
| 874 |
chain attached to the message, if present. |
| 875 |
|
| 876 |
* src/README: Document new TLV parameters to message functions. |
| 877 |
|
| 878 |
* src/message.c (otrl_message_receiving): No longer handle |
| 879 |
messages starting with "?OTR:" specially; that functionality now |
| 880 |
goes into TLVs. |
| 881 |
|
| 882 |
* src/message.c (otrl_message_disconnect): Send the notice of |
| 883 |
disconnect as a OTRL_TLV_DISCONNECTED TLV. |
| 884 |
|
| 885 |
2005-01-30 |
| 886 |
|
| 887 |
* README: update documentation for 2.0.0 API |
| 888 |
|
| 889 |
* src/message.c (otrl_message_receiving): Only send heartbeats |
| 890 |
in response to "real" messages. |
| 891 |
|
| 892 |
* src/message.c (otrl_message_receiving): If we receive a DATA |
| 893 |
message whose *plaintext* starts with "?OTR:", display it with |
| 894 |
display_otr_message if possible. |
| 895 |
|
| 896 |
* src/message.c (otrl_message_receiving): Display OTR_ERROR |
| 897 |
messages without the leading '?' using display_otr_message. |
| 898 |
|
| 899 |
* src/message.h (otrl_message_disconnect): |
| 900 |
* src/message.c (otrl_message_disconnect): new function |
| 901 |
|
| 902 |
* src/message.c (otrl_message_receiving): Display the "received |
| 903 |
unencrypted" warning message if we receive an unencrypted |
| 904 |
message with policy ALWAYS, even when not CONNECTED. |
| 905 |
|
| 906 |
2005-01-29 |
| 907 |
|
| 908 |
* src/proto.c (otrl_proto_accept_key_exchange): |
| 909 |
* src/message.c (otrl_message_sending, process_kem): Make the |
| 910 |
retransmission of an unencrypted message in ALWAYS work. |
| 911 |
|
| 912 |
2005-01-28 |
| 913 |
|
| 914 |
* src/message.h: New callback for checking whether a given user |
| 915 |
is online. |
| 916 |
|
| 917 |
* src/message.c (otrl_message_sending): Notify the user if he |
| 918 |
attempts to send an unencrypted message with policy ALWAYS. |
| 919 |
|
| 920 |
* src/message.h: New callback for fetching OTR policy |
| 921 |
* src/message.c (otrl_message_sending): Create a ConnContext if |
| 922 |
we don't have one already. Use it to fetch the OTR policy. |
| 923 |
Just return if the policy is NEVER. Only append the whitespace |
| 924 |
tag if the policy is OPPORTUNISTIC or ALWAYS. Don't send |
| 925 |
unencrypted messages in ALWAYS, but store them for |
| 926 |
retransmission later. |
| 927 |
* src/message.c (otrl_message_receiving): Fetch the OTR policy. |
| 928 |
Just return if the policy is NEVER. Only send a Key Exchange |
| 929 |
Message in response to an unexpected Data or Error Message in |
| 930 |
OPPORTUNISTIC and ALWAYS. Only recognize the whitespace tag in |
| 931 |
OPPORTUNISTIC and ALWAYS. |
| 932 |
|
| 933 |
* src/message.h: |
| 934 |
* src/message.c: add accountname/protocol/username parameters to |
| 935 |
notify callback |
| 936 |
|
| 937 |
* src/message.h: |
| 938 |
* src/message.c: add display_otr_message callback for displaying |
| 939 |
OTR control messages |
| 940 |
|
| 941 |
2005-01-27 |
| 942 |
|
| 943 |
* src/privkey.h: #include <gcrypt.h> since we use things from |
| 944 |
libgcrypt in the .h file |
| 945 |
|
| 946 |
* src/proto.h: |
| 947 |
* src/proto.c: Make otrl_init take unsigned ints as arguments. |
| 948 |
|
| 949 |
* src/context.h: |
| 950 |
* src/context.c: |
| 951 |
* src/message.c: |
| 952 |
* src/proto.c: Keep track of the last message sent, and |
| 953 |
potentially resend it if sending it the first time triggered a |
| 954 |
rekey (because the other side had lost its OTR state, for |
| 955 |
example). |
| 956 |
|
| 957 |
2005-01-26 |
| 958 |
|
| 959 |
* packaging/debian/control: Changed debian package names to |
| 960 |
libotr1 and libotr1-dev. |
| 961 |
|
| 962 |
* libotr.m4: Added copyright notice, more comments |
| 963 |
|
| 964 |
* src/userstate.c: |
| 965 |
* src/userstate.h: New files |
| 966 |
|
| 967 |
* src/Makefile.am: Added -Wall to default CFLAGS |
| 968 |
* toolkit/Makefile.am: Added -Wall to default CFLAGS |
| 969 |
|
| 970 |
* src/context.c (otrl_context_find, otrl_context_forget_all): |
| 971 |
* src/context.h (otrl_context_find, otrl_context_forget_all): |
| 972 |
* src/message.c (otrl_message_sending, process_kem) |
| 973 |
(process_confresp, otrl_message_receiving): |
| 974 |
* src/message.h (otrl_message_sending, otrl_message_receiving) |
| 975 |
(OtrlMessageAppOps.confirm_fingerprint): |
| 976 |
* src/privkey.c (otrl_privkey_fingerprint, otrl_privkey_read) |
| 977 |
(otrl_privkey_generate, otrl_privkey_read_fingerprints) |
| 978 |
(otrl_privkey_write_fingerprints, otrl_privkey_find) |
| 979 |
(otrl_privkey_forget_all): |
| 980 |
* src/privkey.h (otrl_privkey_fingerprint, otrl_privkey_read) |
| 981 |
(otrl_privkey_generate, otrl_privkey_read_fingerprints) |
| 982 |
(otrl_privkey_write_fingerprints, otrl_privkey_find) |
| 983 |
(otrl_privkey_forget_all): |
| 984 |
* src/proto.c (otrl_proto_create_key_exchange) |
| 985 |
(otrl_proto_accept_key_exchange): |
| 986 |
* src/proto.h (otrl_proto_create_key_exchange) |
| 987 |
(otrl_proto_accept_key_exchange): Added OtrlUserState parameter |
| 988 |
to many calls, eliminating global state. |
| 989 |
|
| 990 |
* src/privkey.c (otrl_privkey_fingerprint): the buffer is now |
| 991 |
passed in, and not static |
| 992 |
|
| 993 |
2005-01-25 |
| 994 |
|
| 995 |
* src/version.h: bumped version number to 2.0.0 because API |
| 996 |
changed incompatibly |
| 997 |
* configure.ac: bumped version number to 2.0.0 because API |
| 998 |
changed incompatibly |
| 999 |
|
| 1000 |
* src/message.h: added accountname parameter to |
| 1001 |
confirm_fingerprint callback |
| 1002 |
* src/message.c: passed accountname to confirm_fingerprint |
| 1003 |
callback |
| 1004 |
|
| 1005 |
* libotr.m4: new file |
| 1006 |
* Makefile.am: install (and uninstall) new libotr.m4 file |
| 1007 |
|
| 1008 |
* tools/Makefile.am: clean up manpage symlinks and add an |
| 1009 |
uninstall rule |
| 1010 |
|
| 1011 |
2005-01-23 |
| 1012 |
|
| 1013 |
* src/proto.h: moved numeric version defines into version.h |
| 1014 |
* src/version.h: moved numeric version defines into version.h |
| 1015 |
|
| 1016 |
* src/message.c (otrl_message_receiving): Update the context |
| 1017 |
list if we create a new context |
| 1018 |
|
| 1019 |
2005-01-22 |
| 1020 |
|
| 1021 |
Released 1.0.4. |
| 1022 |
|
| 1023 |
Initial autoconfiscation, thanks to Greg Troxel <[email protected]>. |
| 1024 |
|
| 1025 |
* src/message.c: log, but otherwise ignore, unrecognized OTR |
| 1026 |
messages |