/mandos/release

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

  • Committer: Teddy Hogeborn
  • Date: 2019-03-30 07:03:04 UTC
  • Revision ID: teddy@recompile.se-20190330070304-dqgch62lsaaygg46
mandos-ctl: Refactor D-Bus operations

* mandos-ctl (dbus): Rename imported module to "dbus_python".
  (main): Only create a bus object and do everything via that object.
  (get_mandos_dbus_object): Remove and move code into dbus or
                            dbus_python_adapter namespaces.
  (if_dbus_exception_log_with_exception_and_exit): - '' -
  (SilenceLogger): - '' -
  (dbus): New; move everything dbus-specific into this module-like
          namespace.
  (dbus_python_adapter): New; move everything specific to the
                         dbus-python D-Bus module into this
                         module-like namespace.
  (command.Base.run): Take only a bus argument; use only that.  Pass
                      "client" argument as a D-Bus object path string,
                      not a dbus-python proxy object.  All derivatives
                      adjusted.
  (command.IsEnabled.is_enabled): Remove.
  (command.Approve, command.Deny, command.Remove,
  command.PropertySetter): Do no logging of D-Bus commands, and use
  only bus, not client, to do D-Bus calls.
  (command.DumpJSON.dbus_boolean_to_bool): Remove; move filtering to
                                           dbus_python_adapter.
  (command.Enable, command.Disable, command.StopChecker,
  command.ApproveByDefault): Use normal Python booleans instead of
  dbus-python's special Boolean types.
  (Unique): New; move here out from inside TestPropertySetterCmd.
  (Test_get_mandos_dbus_object): Remove.
  (Test_get_managed_objects): - '' -
  (Test_dbus_exceptions): New.
  (Test_dbus_MandosBus): - '' -
  (Test_dbus_python_adapter_SystemBus): - '' -
  (Test_dbus_python_adapter_CachingBus): - '' -
  (Test_commands_from_options): Don't create mock client proxy
  objects, define dict of client properties and use a mock dbus to
  verify that the correct D-Bus calls are made.  Also remove any types
  specific to dbus-python.
  (TestEnableCmd, TestDisableCmd, TestStartCheckerCmd,
  TestStopCheckerCmd, TestApproveByDefaultCmd, TestDenyByDefaultCmd):
  Use normal Python booleans instead of dbus-python's special Boolean
  types.
  (TestPropertySetterValueCmd.runTest): Remove; unnecessary.
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
debian 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in Diff
network-hooks.d 237.16.10 12 years ago Teddy Hogeborn * network-hooks.d: New directory. * network-hooks. Diff
plugin-helpers 237.25.1 9 years ago Teddy Hogeborn Add a plugin helper directory, available to all pl Diff
plugins.d 13 16 years ago Björn Påhlsson Added following support: Pluginbased client handle Diff
.bzrignore 237.7.133 12 years ago Teddy Hogeborn * .bzrignore (statedir): Added. 188 bytes Diff Download File
bugs.xml 237.7.369 8 years ago Teddy Hogeborn Add bug reporting information to manual pages * b 539 bytes Diff Download File
clients.conf 237.7.512 5 years ago Teddy Hogeborn Doc fix: Change some "/etc/mandos" to "/etc/keys/m 3.3 KB Diff Download File
common.ent 377 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.3. * NEWS (Ver 93 bytes Diff Download File
COPYING 24.1.51 16 years ago Björn Påhlsson Added configuration files support for mandos-clien 34.2 KB Diff Download File
DBUS-API 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 5.9 KB Diff Download File
dbus-mandos.conf 24.1.186 13 years ago Björn Påhlsson transitional stuff actually working documented cha 820 bytes Diff Download File
default-mandos 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 174 bytes Diff Download File
init.d-mandos 237.7.475 6 years ago Teddy Hogeborn Remove unnecessary text left from old example init 4.2 KB Diff Download File
initramfs-tools-conf 237.7.502 6 years ago Teddy Hogeborn Move UMASK setting to more proper place * Makefil 695 bytes Diff Download File
File initramfs-tools-hook 237.7.502 6 years ago Teddy Hogeborn Move UMASK setting to more proper place * Makefil 7.6 KB Diff Download File
File initramfs-tools-script 237.7.501 6 years ago Teddy Hogeborn Adapt to changes in cryptsetup; use "cryptroot-unl 4.5 KB Diff Download File
File initramfs-tools-script-stop 237.7.504 6 years ago Teddy Hogeborn Set executable permissions on new files * initram 1.8 KB Diff Download File
File initramfs-unpack 237.7.471 6 years ago Teddy Hogeborn Update copyright year to 2018 * DBUS-API: Update 2.3 KB Diff Download File
INSTALL 237.7.510 5 years ago Teddy Hogeborn Add support for using raw public keys in TLS (RFC 5.4 KB Diff Download File
intro.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 16.3 KB Diff Download File
legalnotice.xml 237.7.455 7 years ago Teddy Hogeborn Alter copyright notices slightly. Actual license 1 KB Diff Download File
Makefile 377 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.3. * NEWS (Ver 18.7 KB Diff Download File
File mandos 237.7.636 5 years ago Teddy Hogeborn mandos: Refactor; use classes, not instances, as n 142 KB Diff Download File
mandos-clients.conf.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 19.4 KB Diff Download File
File mandos-ctl 237.7.638 5 years ago Teddy Hogeborn mandos-ctl: Refactor D-Bus operations * mandos-ct 83.2 KB Diff Download File
mandos-ctl.xml 237.7.591 5 years ago Teddy Hogeborn mandos-ctl: Add new --debug option to show D-Bus c 17.3 KB Diff Download File
File mandos-keygen 377 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.3. * NEWS (Ver 12.6 KB Diff Download File
mandos-keygen.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 16.3 KB Diff Download File
File mandos-monitor 377 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.3. * NEWS (Ver 29.1 KB Diff Download File
mandos-monitor.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 6.3 KB Diff Download File
mandos-options.xml 237.7.510 5 years ago Teddy Hogeborn Add support for using raw public keys in TLS (RFC 5 KB Diff Download File
File mandos-to-cryptroot-unlock 237.7.504 6 years ago Teddy Hogeborn Set executable permissions on new files * initram 2.5 KB Diff Download File
mandos.conf 237.7.325 9 years ago Teddy Hogeborn Bug fix for GnuTLS 3: be compatible with old 2048- 1.6 KB Diff Download File
mandos.conf.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 8.9 KB Diff Download File
mandos.lsm 377 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.3. * NEWS (Ver 907 bytes Diff Download File
mandos.service 237.7.453 7 years ago Teddy Hogeborn Add some more restrictions to the systemd service 1.2 KB Diff Download File
mandos.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 24.1 KB Diff Download File
NEWS 377 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.3. * NEWS (Ver 19.5 KB Diff Download File
overview.xml 237.7.510 5 years ago Teddy Hogeborn Add support for using raw public keys in TLS (RFC 923 bytes Diff Download File
plugin-runner.c 237.7.523 5 years ago Teddy Hogeborn Fix warnings from -Wimplicit-fallthrough * plugin 34.8 KB Diff Download File
plugin-runner.conf 237.2.105 15 years ago Teddy Hogeborn * initramfs-tools-hook: Bug fix: Add "--userid" an 380 bytes Diff Download File
plugin-runner.xml 237.7.517 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 22.6 KB Diff Download File
README 237.7.392 8 years ago Teddy Hogeborn Use HTTPS in home page links Since we have a real 410 bytes Diff Download File
tmpfiles.d-mandos.conf 237.7.386 8 years ago Teddy Hogeborn Server: New tmpfiles.d file for persistent state d 38 bytes Diff Download File
TODO 237.7.628 5 years ago Teddy Hogeborn mandos-ctl: Refactor tests * mandos-ctl (Test_str 4.6 KB Diff Download File