=== modified file 'mandos-ctl' --- mandos-ctl 2011-12-31 23:05:34 +0000 +++ mandos-ctl 2012-01-01 01:16:15 +0000 @@ -331,8 +331,7 @@ dbus_interface=dbus.PROPERTIES_IFACE) if options.secret is not None: client.Set(client_interface, "Secret", - dbus.ByteArray(open(options.secret, - "rb").read()), + dbus.ByteArray(options.secret.read()), dbus_interface=dbus.PROPERTIES_IFACE) if options.approved_by_default is not None: client.Set(client_interface, "ApprovedByDefault",