/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos.lsm

Use D-Bus properties instead of our own methods.

* mandos (Client._datetime_to_milliseconds): Renamed to
                                             "_timedelta_to_milliseconds".
                                             All callers changed.
  (dbus_service_property): New decorator for D-Bus properties.
  (DBusPropertyException, DBusPropertyAccessException,
  DBusPropertyNotFound): New D-Bus exception classes.
  (DBusObjectWithProperties): New; extends "dbus.service.Object" with
                              support for properties.
  (ClientDBus): Inherit from, and call up to, "DBusObjectWithProperties".
  (ClientDBus.CheckedOK, ClientDBus.GetAllProperties,
  ClientDBus.SetChecker, ClientDBus.SetHost, ClientDBus.SetInterval,
  ClientDBus.SetSecret, ClientDBus.SetTimeout, ClientDBus.Enable,
  ClientDBus.StartChecker, ClientDBus.Disable,
  ClientDBus.StopChecker): Removed, replaced with properties.
  (ClientDBus.IsStillValid): Removed, superfluous.
  (ClientDBus.name_dbus_property,
  ClientDBus.fingerprint_dbus_property, ClientDBus.host_dbus_property,
  ClientDBus.created_dbus_property,
  ClientDBus.last_enabled_dbus_property,
  ClientDBus.enabled_dbus_property,
  ClientDBus.last_checked_ok_dbus_property,
  ClientDBus.timeout_dbus_property, ClientDBus.interval_dbus_property,
  ClientDBus.checker_dbus_property,
  ClientDBus.checker_running_dbus_property,
  ClientDBus.object_path_dbus_property,
  ClientDBus.secret_dbus_property): New D-Bus properties.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Begin4
2
2
Title:          Mandos
3
 
Version:        1.8.17
4
 
Entered-date:   2024-09-12
 
3
Version:        1.0.12
 
4
Entered-date:   2009-09-17
5
5
Description:    The Mandos system allows computers to have encrypted
6
 
                root file systems and at the same time be capable of
7
 
                remote and/or unattended reboots.
 
6
root file systems and at the same time be capable of remote and/or
 
7
unattended reboots.
8
8
Keywords:       boot, encryption, luks, cryptsetup, network, openpgp,
9
 
                tls, dm-crypt
10
 
Author:         teddy@recompile.se (Teddy Hogeborn),
11
 
                belorn@recompile.se (Björn Påhlsson)
12
 
Maintained-by:  teddy@recompile.se (Teddy Hogeborn),
13
 
                belorn@recompile.se (Björn Påhlsson)
14
 
Primary-site:   https://www.recompile.se/mandos
15
 
                241K mandos_1.8.17.orig.tar.gz
16
 
Alternate-site: ftp://ftp.recompile.se/pub/mandos
17
 
                241K mandos_1.8.17.orig.tar.gz
18
 
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.7, and
19
 
                various other libraries.  While made for Debian
20
 
                GNU/Linux, it is probably portable to other
21
 
                distributions, but not other Unixes.
22
 
Copying-policy: GNU General Public License version 3.0 or later
 
9
tls, dm-crypt
 
10
Author:         teddy@fukt.bsnet.se (Teddy Hogeborn),
 
11
                belorn@fukt.bsnet.se (Björn Påhlsson)
 
12
Maintained-by:  teddy@fukt.bsnet.se (Teddy Hogeborn),
 
13
                belorn@fukt.bsnet.se (Björn Påhlsson)
 
14
Primary-site: http://www.fukt.bsnet.se/mandos
 
15
              103K mandos_1.0.12.orig.tar.gz
 
16
Alternate-site: ftp://ftp.fukt.bsnet.se/pub/mandos
 
17
                103K mandos_1.0.12.orig.tar.gz
 
18
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.5, and
 
19
various other libraries.  While made for Debian GNU/Linux, it is
 
20
probably portable to other distributions, but not other Unixes.
 
21
Copying-policy: GNU General Public License version 3.0 or later
23
22
End