-
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.
.. |
.bzr-builddeb
|
185
|
17 years ago |
Teddy Hogeborn |
* .bzr-builddeb/default.conf: New.
* Makefile (in |
|
|
|
debian
|
185
|
17 years ago |
Teddy Hogeborn |
* .bzr-builddeb/default.conf: New.
* Makefile (in |
|
|
|
network-hooks.d
|
505.3.10
|
14 years ago |
Teddy Hogeborn |
* network-hooks.d: New directory.
* network-hooks. |
|
|
|
plugin-helpers
|
738.1.1
|
10 years ago |
Teddy Hogeborn |
Add a plugin helper directory, available to all pl |
|
|
|
plugins.d
|
13
|
17 years ago |
Björn Påhlsson |
Added following support:
Pluginbased client handle |
|
|
|
.bzrignore |
585
|
13 years ago |
Teddy Hogeborn |
* .bzrignore (statedir): Added. |
188 bytes |
|
|
bugs.xml |
821
|
9 years ago |
Teddy Hogeborn |
Add bug reporting information to manual pages
* b |
539 bytes |
|
|
clients.conf |
964
|
6 years ago |
Teddy Hogeborn |
Doc fix: Change some "/etc/mandos" to "/etc/keys/m |
3.3 KB |
|
|
common.ent |
237.4.108
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.3.
* NEWS (Ver |
93 bytes |
|
|
COPYING |
24.1.51
|
17 years ago |
Björn Påhlsson |
Added configuration files support for mandos-clien |
34.2 KB |
|
|
DBUS-API |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
5.9 KB |
|
|
dbus-mandos.conf |
24.1.186
|
14 years ago |
Björn Påhlsson |
transitional stuff actually working
documented cha |
820 bytes |
|
|
default-mandos |
185
|
17 years ago |
Teddy Hogeborn |
* .bzr-builddeb/default.conf: New.
* Makefile (in |
174 bytes |
|
|
init.d-mandos |
927
|
7 years ago |
Teddy Hogeborn |
Remove unnecessary text left from old example init |
4.2 KB |
|
|
initramfs-tools-conf |
954
|
7 years ago |
Teddy Hogeborn |
Move UMASK setting to more proper place
* Makefil |
695 bytes |
|
|
initramfs-tools-hook |
954
|
7 years ago |
Teddy Hogeborn |
Move UMASK setting to more proper place
* Makefil |
7.6 KB |
|
|
initramfs-tools-script |
953
|
7 years ago |
Teddy Hogeborn |
Adapt to changes in cryptsetup; use "cryptroot-unl |
4.5 KB |
|
|
initramfs-tools-script-stop |
956
|
7 years ago |
Teddy Hogeborn |
Set executable permissions on new files
* initram |
1.8 KB |
|
|
initramfs-unpack |
923
|
7 years ago |
Teddy Hogeborn |
Update copyright year to 2018
* DBUS-API: Update |
2.3 KB |
|
|
INSTALL |
962
|
6 years ago |
Teddy Hogeborn |
Add support for using raw public keys in TLS (RFC |
5.4 KB |
|
|
intro.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
16.3 KB |
|
|
legalnotice.xml |
907
|
8 years ago |
Teddy Hogeborn |
Alter copyright notices slightly. Actual license |
1 KB |
|
|
Makefile |
237.4.108
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.3.
* NEWS (Ver |
18.7 KB |
|
|
mandos |
1088
|
6 years ago |
Teddy Hogeborn |
mandos: Refactor; use classes, not instances, as n |
142 KB |
|
|
mandos-clients.conf.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
19.4 KB |
|
|
mandos-ctl |
1090
|
6 years ago |
Teddy Hogeborn |
mandos-ctl: Refactor D-Bus operations
* mandos-ct |
83.2 KB |
|
|
mandos-ctl.xml |
1043
|
6 years ago |
Teddy Hogeborn |
mandos-ctl: Add new --debug option to show D-Bus c |
17.3 KB |
|
|
mandos-keygen |
237.4.108
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.3.
* NEWS (Ver |
12.6 KB |
|
|
mandos-keygen.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
16.3 KB |
|
|
mandos-monitor |
237.4.108
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.3.
* NEWS (Ver |
29.1 KB |
|
|
mandos-monitor.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
6.3 KB |
|
|
mandos-options.xml |
962
|
6 years ago |
Teddy Hogeborn |
Add support for using raw public keys in TLS (RFC |
5 KB |
|
|
mandos-to-cryptroot-unlock |
956
|
7 years ago |
Teddy Hogeborn |
Set executable permissions on new files
* initram |
2.5 KB |
|
|
mandos.conf |
777
|
10 years ago |
Teddy Hogeborn |
Bug fix for GnuTLS 3: be compatible with old 2048- |
1.6 KB |
|
|
mandos.conf.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
8.9 KB |
|
|
mandos.lsm |
237.4.108
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.3.
* NEWS (Ver |
907 bytes |
|
|
mandos.service |
905
|
8 years ago |
Teddy Hogeborn |
Add some more restrictions to the systemd service |
1.2 KB |
|
|
mandos.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
24.1 KB |
|
|
NEWS |
237.4.108
|
6 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.3.
* NEWS (Ver |
19.5 KB |
|
|
overview.xml |
962
|
6 years ago |
Teddy Hogeborn |
Add support for using raw public keys in TLS (RFC |
923 bytes |
|
|
plugin-runner.c |
975
|
6 years ago |
Teddy Hogeborn |
Fix warnings from -Wimplicit-fallthrough
* plugin |
34.8 KB |
|
|
plugin-runner.conf |
342
|
16 years ago |
Teddy Hogeborn |
* initramfs-tools-hook: Bug fix: Add "--userid" an |
380 bytes |
|
|
plugin-runner.xml |
969
|
6 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
22.6 KB |
|
|
README |
844
|
9 years ago |
Teddy Hogeborn |
Use HTTPS in home page links
Since we have a real |
410 bytes |
|
|
tmpfiles.d-mandos.conf |
838
|
9 years ago |
Teddy Hogeborn |
Server: New tmpfiles.d file for persistent state d |
38 bytes |
|
|
TODO |
1080
|
6 years ago |
Teddy Hogeborn |
mandos-ctl: Refactor tests
* mandos-ctl (Test_str |
4.6 KB |
|
|