From 73b1729b9ca740174ef2fa14332f890c5cd17a26 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 10 Nov 2020 18:48:05 -0500 Subject: [PATCH] Revert "Remove the certmaster CA from the 028-dbus test" This reverts commit dd8dcb899e0a159d1141b713993805565ffb6d28. --- tests/028-dbus/expected.out | 130 ++++++++++++++++++++++++++++++++++-- 1 file changed, 124 insertions(+), 6 deletions(-) diff --git a/tests/028-dbus/expected.out b/tests/028-dbus/expected.out index ca7de34f..4d6a9a59 100644 --- a/tests/028-dbus/expected.out +++ b/tests/028-dbus/expected.out @@ -34,6 +34,10 @@ CA 'IPA': is-default: no ca-type: EXTERNAL helper-location: $libexecdir/ipa-submit +CA 'certmaster': + is-default: no + ca-type: EXTERNAL + helper-location: $libexecdir/certmaster-submit CA 'dogtag-ipa-renew-agent': is-default: no ca-type: EXTERNAL @@ -41,8 +45,8 @@ CA 'dogtag-ipa-renew-agent': [[ API ]] [ simpleprop.py ] -/org/fedorahosted/certmonger/cas/CA5 -/org/fedorahosted/certmonger/cas/CA5 +/org/fedorahosted/certmonger/cas/CA6 +/org/fedorahosted/certmonger/cas/CA6 : -> : -k admin@localhost -> : 0 -> 1 -> 0 [ walk.py ] @@ -178,7 +182,7 @@ OK OK [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_known_cas ] -dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA1'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA2'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA3'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA4')], signature=dbus.Signature('o')) +dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA1'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA2'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA3'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA4'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA5')], signature=dbus.Signature('o')) [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_requests ] dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/requests/Request2')], signature=dbus.Signature('o')) @@ -504,6 +508,7 @@ After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.Stri + [ /org/fedorahosted/certmonger/cas/CA1: org.freedesktop.DBus.Introspectable.Introspect ] @@ -937,10 +942,10 @@ dbus.Array([], signature=dbus.Signature('s')) [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_config_file_path ] -$tmpdir/cas/20180327134236-3 +$tmpdir/cas/20180327134236-2 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_nickname ] -dogtag-ipa-renew-agent +certmaster [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_is_default ] 0 @@ -952,7 +957,7 @@ EXTERNAL None [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_location ] -$libexecdir/dogtag-ipa-renew-agent-submit +$libexecdir/certmaster-submit [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_issuer_names ] dbus.Array([], signature=dbus.Signature('s')) @@ -960,3 +965,116 @@ dbus.Array([], signature=dbus.Signature('s')) [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.refresh ] 1 +[ /org/fedorahosted/certmonger/cas/CA5: org.freedesktop.DBus.Introspectable.Introspect ] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_config_file_path ] +$tmpdir/cas/20180327134236-3 + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_nickname ] +dogtag-ipa-renew-agent + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_is_default ] +0 + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_type ] +EXTERNAL + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_serial ] +None + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_location ] +$libexecdir/dogtag-ipa-renew-agent-submit + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_issuer_names ] +dbus.Array([], signature=dbus.Signature('s')) + +[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.refresh ] +1 + -- 2.25.4