~ubuntu-branches/ubuntu/trusty/libotr2/trusty

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2012-11-05 01:06:26 UTC
  • Revision ID: package-import@ubuntu.com-20121105010626-4m3hldpaz3jfr3wb
Tags: upstream-3.2.1
ImportĀ upstreamĀ versionĀ 3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2012-07-27
 
2
 
 
3
        * src/version.h: Update libotr version number to 3.2.1
 
4
 
 
5
2012-07-19
 
6
 
 
7
        * src/b64.[ch], src/proto.c, toolkit/parse.c: Clean up the
 
8
        previous b64 patch and apply it to all places where
 
9
        otrl_base64_decode() is called.
 
10
 
 
11
2012-07-17
 
12
 
 
13
        * src/b64.c: Use ceil instead of floor to compute the size
 
14
        of the data buffer.  This prevents a one-byte heap buffer
 
15
        overflow.  Thanks to Justin Ferguson <jnferguson@gmail.com>
 
16
        for the report.
 
17
 
 
18
2008-06-15:
 
19
 
 
20
        * README: Release version 3.2.0.
 
21
 
 
22
2008-06-13:
 
23
 
 
24
        * UPGRADING: Clarify what was new in 3.1.0, what was changed
 
25
        in 3.2.0.
 
26
 
 
27
2008-05-27:
 
28
 
 
29
        * UPGRADING: Update documentation.
 
30
 
 
31
        * README:
 
32
        * toolkit/*.[ch]:
 
33
        * src/*.[ch]: Update copyright dates to 2004-2008.
 
34
 
 
35
        * src/tlv.h: Add new OTRL_TLV_SMP1Q TLV type to indicate an
 
36
        instance of the first SMP message, with an explicit question.
 
37
 
 
38
        * src/sm.h:
 
39
        * src/sm.c: More carefully track the progress of the SMP using a
 
40
        new smp_prog_state field.  Also keep track of whether Bob
 
41
        received an explicit question from Alice using a new
 
42
        received_question field.
 
43
 
 
44
        * src/message.c: Handle explicit questions for the SMP.
 
45
 
 
46
        * src/message.c: Behave better if an SMP message fails
 
47
        verification.
 
48
 
 
49
        * README:
 
50
        * configure.ac:
 
51
        * src/version.h: Update version number to 3.2.0.
 
52
 
 
53
2007-07-26
 
54
 
 
55
        * src/sm.c:
 
56
        * src/message.c: ISO C cleanups (no mixing declarations with
 
57
        code)
 
58
 
 
59
        * src/sm.c: Fixed a 64-bit pointer error
 
60
 
 
61
2007-07-25
 
62
 
 
63
        * src/message.c: Behave sanely if we receive a totally malformed
 
64
        SMP message.
 
65
 
 
66
2007-07-24
 
67
 
 
68
        * src/proto.h:
 
69
        * src/proto.c:
 
70
        * src/message.c: Implemented fragmentation of large messages
 
71
 
 
72
        * src/message.h: New callback for fragmentation
 
73
 
 
74
        * src/privkey.h:
 
75
        * src/privkey.c (otrl_privkey_fingerprint_raw): New function to
 
76
        return a raw hash of an account's public key
 
77
 
 
78
        * src/proto.c: Keep track of the API version number passed to
 
79
        otrl_init()
 
80
 
 
81
        * src/context.h:
 
82
        * src/context.c:
 
83
        * src/tlv.h:
 
84
        * src/sm.h:
 
85
        * src/sm.c: Implemented the Socialist Millionaires' Protocol for
 
86
        authenticating buddies without using user-visible fingerprints
 
87
 
 
88
        * src/b64.h:
 
89
        * src/b64.c (decode, otrl_base64_decode): Corrected char vs.
 
90
        unsigned char
 
91
 
 
92
        * README:
 
93
        * configure.ac:
 
94
        * src/version.h: Change version number to 3.1.0
 
95
 
 
96
        * Most files: Update copyright information
 
97
 
 
98
2007-07-23
 
99
 
 
100
        * src/message.h:
 
101
        * src/message.c: Added account_name and account_name_free callbacks
 
102
        to OtrlMessageAppOps to let the application choose how to
 
103
        display the account name in OTR Error Messages.  Based on a
 
104
        patch from Evan Schoenberg <evan.s@dreskin.net>.
 
105
 
 
106
2006-07-24
 
107
 
 
108
        * src/privkey.h:
 
109
        * src/privkey.c: Add routines to read and write privkey and
 
110
        fingerprint data to FILE*s, instead of to filenames.
 
111
 
 
112
2006-05-09
 
113
 
 
114
        * Protocol-v2.html: Fix a typo, and correct the documentation
 
115
        regarding when MAC keys are revealed.
 
116
 
 
117
2006-04-13
 
118
 
 
119
        * src/context.h: Change "struct fingerprint" to "struct
 
120
        s_fingerprint" to appease some C++ compilers.
 
121
 
 
122
2006-02-09
 
123
 
 
124
        * src/auth.c (otrl_auth_handle_v1_key_exchange): Fix
 
125
        uninitialized variable received_pub.
 
126
 
 
127
2005-12-30
 
128
 
 
129
        * src/message.c: Fix a typo, thanks to Anton Blanchard
 
130
        <anton@samba.org>.
 
131
 
 
132
2005-11-20
 
133
 
 
134
        * src/proto.h: Fix typo in policy #defines.
 
135
 
 
136
2005-11-02
 
137
 
 
138
        * README:
 
139
        * src/version.h: Release version 3.0.0
 
140
 
 
141
2005-10-30
 
142
 
 
143
        * Protocol-v2.html: Clarified the uniqueness conditions for the
 
144
        counter.
 
145
 
 
146
        * src/auth.c (otrl_auth_handle_v1_key_exchange): Clear the auth
 
147
        structure when we receive an unexpected v1 Key Exchange Message.
 
148
 
 
149
2005-10-27
 
150
 
 
151
        * src/auth.h:
 
152
        * src/auth.c:
 
153
        * src/message.c: Ensure version 2 AKEs are always done with
 
154
        fresh D-H parameters.
 
155
 
 
156
        * src/proto.h:
 
157
        * src/proto.c:
 
158
        * src/message.c: Add a "flags" field to the version 2 Data
 
159
        Message, which can indicate that the Data Message should be
 
160
        ignored if unreadable (as opposed to displaying an error).
 
161
 
 
162
        * toolkit/parse.h:
 
163
        * toolkit/parse.c:
 
164
        * toolkit/otr_parse.c:
 
165
        * toolkit/otr_remac.c: Deal with the new kind of Data Message.
 
166
 
 
167
        * src/message.c: Use the gone_secure callback instead of the
 
168
        still_secure callback if the other side changes its fingerprint.
 
169
 
 
170
2005-10-19
 
171
 
 
172
        * src/context.h:
 
173
        * src/context.c: Added protocol_version as an explicit field in
 
174
        the ConnContext.
 
175
 
 
176
        * src/message.h:
 
177
        * src/message.c: protocol_version no longer needs to be
 
178
        explicitly passed to the gone_secure() and still_secure()
 
179
        callbacks.
 
180
 
 
181
        * packaging/fedora/libotr.spec: Patches from Paul
 
182
 
 
183
        * src/proto.c (rotate_dh_keys): Avoid potential double
 
184
        gcry_cipher_close().
 
185
 
 
186
        * src/tests.c: Regression test for double gcry_cipher_close().
 
187
 
 
188
2005-10-16
 
189
 
 
190
        * Major overhaul with implementation of version 2 AKE.
 
191
 
 
192
2005-08-08
 
193
 
 
194
        * toolkit/otr_parse.c (parse): Ignore MACs that are too short,
 
195
        rather than going into an infinite loop.
 
196
 
 
197
2005-08-04
 
198
 
 
199
        * Protocol: Added section describing fragments.
 
200
 
 
201
        * src/proto.h:
 
202
        * src/proto.c (otrl_proto_fragment_accumulate): 
 
203
        * src/context.h:
 
204
        * src/context.c (new_context, otrl_context_force_setup): Keep
 
205
        track of fragments in the ConnContext structure.
 
206
 
 
207
        * src/message.c (otrl_message_receiving): Handle fragments in
 
208
        received messages.
 
209
 
 
210
        * src/mem.c: Don't do arithmetic on void pointers.
 
211
 
 
212
2005-07-29
 
213
 
 
214
        * src/message.h:
 
215
        * src/message.c: Move ops to be the first param of
 
216
        new_fingerprint, as it is with all the other callbacks.
 
217
 
 
218
        * src/context.h:
 
219
        * src/context.c (otrl_context_set_preshared_secret):
 
220
        * src/dh.h:
 
221
        * src/dh.c (otrl_dh_session, otrl_dh_cmpctr):
 
222
        * src/message.h:
 
223
        * src/message.c (otrl_message_sending, send_or_error, process_kem)
 
224
        (otrl_message_receiving, otrl_message_disconnect):
 
225
        * src/privkey.h:
 
226
        * src/privkey.c (otrl_privkey_hash_to_human):
 
227
        * src/proto.h:
 
228
        * src/proto.c (otrl_proto_create_data):
 
229
        * src/tlv.h:
 
230
        * src/tlv.c (otrl_tlv_new, otrl_tlv_parse, otrl_tlv_seriallen)
 
231
        (otrl_tlv_serialize): Add missing "const"s.  (Closes #1243963)
 
232
 
 
233
2005-06-24
 
234
 
 
235
        * README:
 
236
        * configure.ac:
 
237
        * packaging/fedora/libotr.spec:
 
238
        * src/version.h: Change version to 3.0.0 (but don't yet release)
 
239
 
 
240
        * Protocol: Clarify that, if the user requests to see the secure
 
241
        session id in the middle of the conversation, the value
 
242
        displayed should be the one calculated at the time the private
 
243
        connection was established (the last Key Exchange Message that
 
244
        caused a rekeying), _not_ the DH secure id calculated from DH
 
245
        keys in more recent Data Messages.
 
246
 
 
247
        * libotr.m4: Have the version check require an exact match on
 
248
        the major version, since, for example, source that expects
 
249
        libotr 2.0.0 won't work with libotr 3.0.0.
 
250
 
 
251
        * libotr.m4: Add #include <stdlib.h> to the version test so that
 
252
        it compiles cleanly with -Wall -Werror.
 
253
 
 
254
        * src/proto.c:
 
255
        * src/dh.h:
 
256
        * src/dh.c:
 
257
        * src/context.h:
 
258
        * src/context.c: Save the secure session id so that it can be
 
259
        displayed to the user upon request, instead of only when the
 
260
        private session is initially set up.
 
261
 
 
262
        * src/privkey.c:
 
263
        * src/context.h:
 
264
        * src/context.c: Allow the app to set a "trust level" for
 
265
        fingerprints.  This is an arbitrary string, intended to indicate
 
266
        whether (or possibly by what means) the user has verified that
 
267
        this fingerprint is accurate.
 
268
 
 
269
        * src/context.h:
 
270
        * src/context.c: Allow the app to set an arbitrary binary
 
271
        "preshared secret" for the ConnContext.  This is currently
 
272
        unused, but in the future it would allow for users to exchange a
 
273
        secret _before_ they generate their fingerprints.  [But the
 
274
        protocol would have to be extended to support this.]
 
275
 
 
276
        * src/message.h:
 
277
        * src/message.c: Remove the "confirm_fingerprint" callback
 
278
        which requires the user to acknowledge the new fingerprint
 
279
        before it can be used.  Replace it with a "new_fingerprint"
 
280
        callback which merely informs the user that a new fingerprint
 
281
        has been received.
 
282
 
 
283
2005-05-13
 
284
 
 
285
        * libotr.m4: Fixed a bug which made configure fail to find the
 
286
        libotr header files if they weren't in the standard place.
 
287
 
 
288
2005-05-09
 
289
 
 
290
        * src/privkey.c (otrl_privkey_read_fingerprints): Allow fields,
 
291
        particularly accountnames, to contain spaces.  Closes #1198379.
 
292
 
 
293
2005-05-03
 
294
 
 
295
        * README:
 
296
        * configure.ac:
 
297
        * packaging/fedora/libotr.spec:
 
298
        * src/version.h: Change version to 2.0.2
 
299
 
 
300
        * packaging/debian: Remove this directory, as Thibaut VARENE
 
301
        <varenet@debian.org> is now responsible for the debian packages.
 
302
 
 
303
2005-02-23
 
304
 
 
305
        * src/privkey.c (otrl_privkey_hash_to_human): Avoid writing a
 
306
        NUL one byte past the end of the buffer
 
307
 
 
308
2005-02-16
 
309
 
 
310
        * README:
 
311
        * configure.ac:
 
312
        * packaging/debian/changelog:
 
313
        * packaging/fedora/libotr.spec:
 
314
        * src/version.h: Change version to 2.0.1
 
315
 
 
316
2005-02-15
 
317
 
 
318
        * src/message.c (otrl_message_sending, otrl_message_receiving)
 
319
        (otrl_message_disconnect):
 
320
        * src/proto.c (otrl_proto_accept_key_exchange)
 
321
        (otrl_proto_create_data, otrl_proto_accept_data): Don't send
 
322
        encrypted messages to a buddy who has disconnected his private
 
323
        connection with us.
 
324
 
 
325
        * src/message.c (otrl_message_sending): Don't show the user the
 
326
        "the last message was resent" notice if the message has never
 
327
        actually been sent before.
 
328
 
 
329
2005-02-09
 
330
 
 
331
        * src/proto.c (otrl_proto_create_data): Copy the msg before
 
332
        using since, since it may be an alias for context->lastmessage,
 
333
        which we're going to gcry_free().
 
334
 
 
335
2005-02-08
 
336
 
 
337
        * README:
 
338
        * configure.ac:
 
339
        * packaging/debian/changelog:
 
340
        * packaging/fedora/libotr.spec:
 
341
        * src/version.h: Change version to 2.0.0
 
342
 
 
343
2005-02-07
 
344
 
 
345
        * src/context.h:
 
346
        * src/context.c (new_context, otrl_context_force_setup):
 
347
        * src/message.c (otrl_message_sending, otrl_message_receiving):
 
348
        * src/proto.c (otrl_proto_accept_key_exchange): Keep track of
 
349
        whether the last message is eligible for retransmission.
 
350
 
 
351
2005-02-02
 
352
 
 
353
        * README:
 
354
        * configure.ac:
 
355
        * packaging/debian/changelog:
 
356
        * packaging/fedora/libotr.spec:
 
357
        * src/version.h: Change version to 1.99.0
 
358
 
 
359
        * packaging/debian/libotr1.dirs:
 
360
        * packaging/debian/libotr1.install:
 
361
        * packaging/debian/rules: Build and install with the correct mandir
 
362
 
 
363
        * packaging/debian/rules: Install a shlibs file
 
364
 
 
365
        * packaging/debian/control: Add Replaces: to the packages so
 
366
        that dpkg -i will install them.
 
367
 
 
368
        * toolkit/Makefile.am: Create the mandir if it's not yet there
 
369
 
 
370
        * packaging/debian/libotr1-dev.dirs:
 
371
        * packaging/debian/libotr1-dev.install:
 
372
        * packaging/fedora/libotr.spec: Package the libotr.m4 file
 
373
 
 
374
        * Protocol: Added sections on policies and TLVs
 
375
 
 
376
2005-02-01
 
377
 
 
378
        * Makefile.am:
 
379
        * src/Makefile.am:
 
380
        * toolkit/Makefile.am: Use automake-1.8
 
381
 
 
382
2005-01-31
 
383
 
 
384
        * tlv.h:
 
385
        * tlv.c:
 
386
        * src/Makefile.am: add new files tlv.c and tlv.h
 
387
 
 
388
        * src/message.c (otrl_message_sending): Allow you to specify a
 
389
        TLV chain to attach to a message.
 
390
 
 
391
        * src/message.c (otrl_message_receiving): Also return any TLV
 
392
        chain attached to the message, if present.
 
393
 
 
394
        * src/README: Document new TLV parameters to message functions.
 
395
 
 
396
        * src/message.c (otrl_message_receiving): No longer handle
 
397
        messages starting with "?OTR:" specially; that functionality now
 
398
        goes into TLVs.
 
399
 
 
400
        * src/message.c (otrl_message_disconnect): Send the notice of
 
401
        disconnect as a OTRL_TLV_DISCONNECTED TLV.
 
402
 
 
403
2005-01-30
 
404
 
 
405
        * README: update documentation for 2.0.0 API
 
406
 
 
407
        * src/message.c (otrl_message_receiving): Only send heartbeats
 
408
        in response to "real" messages.
 
409
 
 
410
        * src/message.c (otrl_message_receiving): If we receive a DATA
 
411
        message whose *plaintext* starts with "?OTR:", display it with
 
412
        display_otr_message if possible.
 
413
 
 
414
        * src/message.c (otrl_message_receiving): Display OTR_ERROR
 
415
        messages without the leading '?' using display_otr_message.
 
416
 
 
417
        * src/message.h (otrl_message_disconnect):
 
418
        * src/message.c (otrl_message_disconnect): new function
 
419
 
 
420
        * src/message.c (otrl_message_receiving): Display the "received
 
421
        unencrypted" warning message if we receive an unencrypted
 
422
        message with policy ALWAYS, even when not CONNECTED.
 
423
 
 
424
2005-01-29
 
425
 
 
426
        * src/proto.c (otrl_proto_accept_key_exchange):
 
427
        * src/message.c (otrl_message_sending, process_kem): Make the
 
428
        retransmission of an unencrypted message in ALWAYS work.
 
429
 
 
430
2005-01-28
 
431
 
 
432
        * src/message.h: New callback for checking whether a given user
 
433
        is online.
 
434
 
 
435
        * src/message.c (otrl_message_sending): Notify the user if he
 
436
        attempts to send an unencrypted message with policy ALWAYS.
 
437
 
 
438
        * src/message.h: New callback for fetching OTR policy
 
439
        * src/message.c (otrl_message_sending): Create a ConnContext if
 
440
        we don't have one already.  Use it to fetch the OTR policy.
 
441
        Just return if the policy is NEVER.  Only append the whitespace
 
442
        tag if the policy is OPPORTUNISTIC or ALWAYS.  Don't send
 
443
        unencrypted messages in ALWAYS, but store them for
 
444
        retransmission later.
 
445
        * src/message.c (otrl_message_receiving): Fetch the OTR policy.
 
446
        Just return if the policy is NEVER.  Only send a Key Exchange
 
447
        Message in response to an unexpected Data or Error Message in
 
448
        OPPORTUNISTIC and ALWAYS.  Only recognize the whitespace tag in
 
449
        OPPORTUNISTIC and ALWAYS.
 
450
 
 
451
        * src/message.h:
 
452
        * src/message.c: add accountname/protocol/username parameters to
 
453
        notify callback
 
454
 
 
455
        * src/message.h:
 
456
        * src/message.c: add display_otr_message callback for displaying
 
457
        OTR control messages
 
458
 
 
459
2005-01-27
 
460
        
 
461
        * src/privkey.h: #include <gcrypt.h> since we use things from
 
462
        libgcrypt in the .h file
 
463
 
 
464
        * src/proto.h:
 
465
        * src/proto.c: Make otrl_init take unsigned ints as arguments.
 
466
 
 
467
        * src/context.h:
 
468
        * src/context.c:
 
469
        * src/message.c:
 
470
        * src/proto.c: Keep track of the last message sent, and
 
471
        potentially resend it if sending it the first time triggered a
 
472
        rekey (because the other side had lost its OTR state, for
 
473
        example).
 
474
 
 
475
2005-01-26
 
476
 
 
477
        * packaging/debian/control: Changed debian package names to
 
478
        libotr1 and libotr1-dev.
 
479
 
 
480
        * libotr.m4: Added copyright notice, more comments
 
481
 
 
482
        * src/userstate.c:
 
483
        * src/userstate.h: New files
 
484
 
 
485
        * src/Makefile.am: Added -Wall to default CFLAGS
 
486
        * toolkit/Makefile.am: Added -Wall to default CFLAGS
 
487
 
 
488
        * src/context.c (otrl_context_find, otrl_context_forget_all):
 
489
        * src/context.h (otrl_context_find, otrl_context_forget_all):
 
490
        * src/message.c (otrl_message_sending, process_kem)
 
491
        (process_confresp, otrl_message_receiving):
 
492
        * src/message.h (otrl_message_sending, otrl_message_receiving)
 
493
        (OtrlMessageAppOps.confirm_fingerprint):
 
494
        * src/privkey.c (otrl_privkey_fingerprint, otrl_privkey_read)
 
495
        (otrl_privkey_generate, otrl_privkey_read_fingerprints)
 
496
        (otrl_privkey_write_fingerprints, otrl_privkey_find)
 
497
        (otrl_privkey_forget_all):
 
498
        * src/privkey.h (otrl_privkey_fingerprint, otrl_privkey_read)
 
499
        (otrl_privkey_generate, otrl_privkey_read_fingerprints)
 
500
        (otrl_privkey_write_fingerprints, otrl_privkey_find)
 
501
        (otrl_privkey_forget_all):
 
502
        * src/proto.c (otrl_proto_create_key_exchange)
 
503
        (otrl_proto_accept_key_exchange):
 
504
        * src/proto.h (otrl_proto_create_key_exchange)
 
505
        (otrl_proto_accept_key_exchange): Added OtrlUserState parameter
 
506
        to many calls, eliminating global state.
 
507
 
 
508
        * src/privkey.c (otrl_privkey_fingerprint): the buffer is now
 
509
        passed in, and not static
 
510
 
 
511
2005-01-25
 
512
        
 
513
        * src/version.h: bumped version number to 2.0.0 because API
 
514
        changed incompatibly
 
515
        * configure.ac: bumped version number to 2.0.0 because API
 
516
        changed incompatibly
 
517
 
 
518
        * src/message.h: added accountname parameter to
 
519
        confirm_fingerprint callback
 
520
        * src/message.c: passed accountname to confirm_fingerprint
 
521
        callback
 
522
 
 
523
        * libotr.m4: new file
 
524
        * Makefile.am: install (and uninstall) new libotr.m4 file
 
525
 
 
526
        * tools/Makefile.am: clean up manpage symlinks and add an
 
527
        uninstall rule
 
528
 
 
529
2005-01-23
 
530
 
 
531
        * src/proto.h: moved numeric version defines into version.h
 
532
        * src/version.h: moved numeric version defines into version.h
 
533
 
 
534
        * src/message.c (otrl_message_receiving): Update the context
 
535
        list if we create a new context
 
536
 
 
537
2005-01-22
 
538
 
 
539
        Released 1.0.4.
 
540
 
 
541
        Initial autoconfiscation, thanks to Greg Troxel <gdt@ir.bbn.com>.
 
542
 
 
543
        * src/message.c: log, but otherwise ignore, unrecognized OTR
 
544
        messages