/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Teddy Hogeborn
  • Date: 2016-03-09 21:23:21 UTC
  • Revision ID: teddy@recompile.se-20160309212321-2qlkzj9tecepc8xq
Server: Add Python 3 compatibility

Add Python 3 compatibility by not using the python-avahi module.  Also
fix miscellaneous things which differs in Python 3.  Especially hard
to fix is loading and saving clients data between Python 3 and 2,
since pickle formats have problems with strings.

* INSTALL: Remove python-avahi (and change python-gobject to
  python-gi, which is preferred now).
* debian/control (Source: mandos/Build-Depends-Indep): Remove
  "python-avahi".
* mandos: Wrap future_builtins import in try-except clause.  Do not
  import avahi module.  Use codecs.decode(..., "base64) instead of
  .decode("base64).  Use .keys(), .values(), and .items() instead of
  .iterkeys(), .itervalues(), and .iteritems().
  (alternate_dbus_interfaces/wrapper): Python 3 still requires the
  "black magic", but luckily it still works.  The Python 3 type()
  constructor requires first argument to be a string, not a byte
  string.
  (copy_function): New.  Use throughout.
  (Avahi, avahi): New class and global variable.
  (GnuTLS._need_version): Changed to be a byte string.
  (main): Decode byte strings loaded from pickle file.
  (main/cleanup): Dump using pickle prototoc 2 which Python 2 can
  read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
3
3
 
4
 
Version 1.7.14 (2017-01-25)
5
 
* Server
6
 
** Use "Requisite" instead of "RequisiteOverridable" in systemd
7
 
   service file.
8
 
 
9
 
Version 1.7.13 (2016-10-08)
10
 
* Client
11
 
** Minor bug fix: Don't ask for passphrase or fail when generating
12
 
   keys using GnuPG 2.1 in a chrooted environment.
13
 
 
14
 
Version 1.7.12 (2016-10-05)
15
 
* Client
16
 
** Bug fix: Don't crash after exit() when using DH parameters file
17
 
 
18
 
Version 1.7.11 (2016-10-01)
19
 
* Client
20
 
** Security fix: Don't compile with AddressSanitizer
21
 
* Server
22
 
** Bug fix: Find GnuTLS library when gnutls28-dev is not installed
23
 
** Bug fix: Include "Expires" and "Last Checker Status" in mandos-ctl
24
 
   verbose output
25
 
** New option for mandos-ctl: --dump-json
26
 
 
27
 
Version 1.7.10 (2016-06-23)
28
 
* Client
29
 
** Security fix: restrict permissions of /etc/mandos/plugin-helpers
30
 
* Server
31
 
** Bug fix: Make the --interface flag work with Python 2.7 when "cc"
32
 
   is not installed
33
 
 
34
 
Version 1.7.9 (2016-06-22)
35
 
* Client
36
 
** Do not include intro(8mandos) man page
37
 
 
38
 
Version 1.7.8 (2016-06-21)
39
 
* Client
40
 
** Include intro(8mandos) man page
41
 
** mandos-keygen: Use ECDSA SSH keys by default
42
 
** Bug fix: Work with GnuPG 2 when booting (Debian bug #819982)
43
 
   by copying /usr/bin/gpg-agent into initramfs
44
 
* Server
45
 
** Bug fix: Work with GnuPG 2 (don't use --no-use-agent option)
46
 
** Bug fix: Make the --interface option work when using Python 2.7
47
 
   by trying harder to find SO_BINDTODEVICE
48
 
 
49
 
Version 1.7.7 (2016-03-19)
50
 
* Client
51
 
** Fix bug in Plymouth client, broken since 1.7.2
52
 
 
53
 
Version 1.7.6 (2016-03-13)
54
 
* Server
55
 
** Fix bug where stopping server would time out
56
 
** Make server runnable with Python 3
57
 
 
58
4
Version 1.7.5 (2016-03-08)
59
5
* Server
60
6
** Fix security restrictions in systemd service file.