/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 mandos.lsm

  • Committer: Teddy Hogeborn
  • Date: 2009-09-21 21:39:25 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090921213925-jbpt6tzu99otseng
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.4.1
4
 
Entered-date:   2011-10-15
 
3
Version:        1.0.12
 
4
Entered-date:   2009-09-17
5
5
Description:    The Mandos system allows computers to have encrypted
6
6
root file systems and at the same time be capable of remote and/or
7
7
unattended reboots.
8
8
Keywords:       boot, encryption, luks, cryptsetup, network, openpgp,
9
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: http://www.recompile.se/mandos
15
 
              138K mandos_1.4.1.orig.tar.gz
16
 
Alternate-site: ftp://ftp.recompile.se/pub/mandos
17
 
                138K mandos_1.4.1.orig.tar.gz
18
 
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.6, and
 
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
19
various other libraries.  While made for Debian GNU/Linux, it is
20
20
probably portable to other distributions, but not other Unixes.
21
21
Copying-policy: GNU General Public License version 3.0 or later