Blame SOURCES/0002-Revert-Remove-the-certmaster-CA-from-the-028-dbus-te.patch

0b76c1
From 73b1729b9ca740174ef2fa14332f890c5cd17a26 Mon Sep 17 00:00:00 2001
0b76c1
From: Rob Crittenden <rcritten@redhat.com>
0b76c1
Date: Tue, 10 Nov 2020 18:48:05 -0500
0b76c1
Subject: [PATCH] Revert "Remove the certmaster CA from the 028-dbus test"
0b76c1
0b76c1
This reverts commit dd8dcb899e0a159d1141b713993805565ffb6d28.
0b76c1
---
0b76c1
 tests/028-dbus/expected.out | 130 ++++++++++++++++++++++++++++++++++--
0b76c1
 1 file changed, 124 insertions(+), 6 deletions(-)
0b76c1
0b76c1
diff --git a/tests/028-dbus/expected.out b/tests/028-dbus/expected.out
0b76c1
index ca7de34f..4d6a9a59 100644
0b76c1
--- a/tests/028-dbus/expected.out
0b76c1
+++ b/tests/028-dbus/expected.out
0b76c1
@@ -34,6 +34,10 @@ CA 'IPA':
0b76c1
 	is-default: no
0b76c1
 	ca-type: EXTERNAL
0b76c1
 	helper-location: $libexecdir/ipa-submit
0b76c1
+CA 'certmaster':
0b76c1
+	is-default: no
0b76c1
+	ca-type: EXTERNAL
0b76c1
+	helper-location: $libexecdir/certmaster-submit
0b76c1
 CA 'dogtag-ipa-renew-agent':
0b76c1
 	is-default: no
0b76c1
 	ca-type: EXTERNAL
0b76c1
@@ -41,8 +45,8 @@ CA 'dogtag-ipa-renew-agent':
0b76c1
 
0b76c1
 [[ API ]]
0b76c1
 [ simpleprop.py ]
0b76c1
-/org/fedorahosted/certmonger/cas/CA5
0b76c1
-/org/fedorahosted/certmonger/cas/CA5
0b76c1
+/org/fedorahosted/certmonger/cas/CA6
0b76c1
+/org/fedorahosted/certmonger/cas/CA6
0b76c1
 : -> : -k admin@localhost -> :
0b76c1
 0 -> 1 -> 0
0b76c1
 [ walk.py ]
0b76c1
@@ -178,7 +182,7 @@ OK
0b76c1
 OK
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_known_cas ]
0b76c1
-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'))
0b76c1
+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'))
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_requests ]
0b76c1
 dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/requests/Request2')], signature=dbus.Signature('o'))
0b76c1
@@ -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
0b76c1
  <node name="CA2"/>
0b76c1
  <node name="CA3"/>
0b76c1
  <node name="CA4"/>
0b76c1
+ <node name="CA5"/>
0b76c1
 </node>
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA1: org.freedesktop.DBus.Introspectable.Introspect ]
0b76c1
@@ -937,10 +942,10 @@ dbus.Array([], signature=dbus.Signature('s'))
0b76c1
 </node>
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_config_file_path ]
0b76c1
-$tmpdir/cas/20180327134236-3
0b76c1
+$tmpdir/cas/20180327134236-2
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_nickname ]
0b76c1
-dogtag-ipa-renew-agent
0b76c1
+certmaster
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_is_default ]
0b76c1
 0
0b76c1
@@ -952,7 +957,7 @@ EXTERNAL
0b76c1
 None
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_location ]
0b76c1
-$libexecdir/dogtag-ipa-renew-agent-submit
0b76c1
+$libexecdir/certmaster-submit
0b76c1
 
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_issuer_names ]
0b76c1
 dbus.Array([], signature=dbus.Signature('s'))
0b76c1
@@ -960,3 +965,116 @@ dbus.Array([], signature=dbus.Signature('s'))
0b76c1
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.refresh ]
0b76c1
 1
0b76c1
 
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.freedesktop.DBus.Introspectable.Introspect ]
0b76c1
+
0b76c1
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
0b76c1
+
0b76c1
+<node name="/org/fedorahosted/certmonger/cas/CA5">
0b76c1
+ <interface name="org.freedesktop.DBus.Introspectable">
0b76c1
+  <method name="Introspect">
0b76c1
+   <arg name="xml_data" type="s" direction="out"/>
0b76c1
+  </method>
0b76c1
+ </interface>
0b76c1
+ <interface name="org.freedesktop.DBus.Properties">
0b76c1
+  <method name="Get">
0b76c1
+   <arg name="interface_name" type="s" direction="in"/>
0b76c1
+   <arg name="property_name" type="s" direction="in"/>
0b76c1
+   <arg name="value" type="v" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <method name="Set">
0b76c1
+   <arg name="interface_name" type="s" direction="in"/>
0b76c1
+   <arg name="property_name" type="s" direction="in"/>
0b76c1
+   <arg name="value" type="v" direction="in"/>
0b76c1
+  </method>
0b76c1
+  <method name="GetAll">
0b76c1
+   <arg name="interface_name" type="s" direction="in"/>
0b76c1
+   <arg name="props" type="a{sv}" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <signal name="PropertiesChanged">
0b76c1
+   <arg name="interface_name" type="s"/>
0b76c1
+   <arg name="changed_properties" type="a{sv}"/>
0b76c1
+   <arg name="invalidated_properties" type="as"/>
0b76c1
+  </signal>
0b76c1
+ </interface>
0b76c1
+ <interface name="org.fedorahosted.certmonger.ca">
0b76c1
+  <method name="get_config_file_path">
0b76c1
+   <arg name="path" type="s" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <method name="get_nickname">
0b76c1
+   <arg name="nickname" type="s" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <property name="nickname" type="s" access="read"/>
0b76c1
+  <property name="aka" type="s" access="read"/>
0b76c1
+  <method name="get_is_default">
0b76c1
+   <arg name="default" type="b" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <property name="is-default" type="b" access="readwrite"/>
0b76c1
+  <method name="get_type">
0b76c1
+   <arg name="type" type="s" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <method name="get_serial">
0b76c1
+   <arg name="serial_hex" type="s" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <method name="get_location">
0b76c1
+   <arg name="path" type="s" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <property name="external-helper" type="s" access="readwrite"/>
0b76c1
+  <method name="get_issuer_names">
0b76c1
+   <arg name="names" type="as" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <method name="refresh">
0b76c1
+   <arg name="working" type="b" direction="out"/>
0b76c1
+  </method>
0b76c1
+  <property name="ca-error" type="s" access="read"/>
0b76c1
+  <property name="issuer-names" type="as" access="read"/>
0b76c1
+  <property name="root-certs" type="a(ss)" access="read"/>
0b76c1
+  <property name="root-other-certs" type="a(ss)" access="read"/>
0b76c1
+  <property name="other-certs" type="a(ss)" access="read"/>
0b76c1
+  <property name="required-enroll-attributes" type="as" access="read"/>
0b76c1
+  <property name="required-renew-attributes" type="as" access="read"/>
0b76c1
+  <property name="supported-profiles" type="as" access="read"/>
0b76c1
+  <property name="default-profile" type="s" access="read"/>
0b76c1
+  <property name="root-cert-files" type="as" access="readwrite"/>
0b76c1
+  <property name="root-other-cert-files" type="as" access="readwrite"/>
0b76c1
+  <property name="other-cert-files" type="as" access="readwrite"/>
0b76c1
+  <property name="root-cert-nssdbs" type="as" access="readwrite"/>
0b76c1
+  <property name="root-other-cert-nssdbs" type="as" access="readwrite"/>
0b76c1
+  <property name="other-cert-nssdbs" type="as" access="readwrite"/>
0b76c1
+  <property name="ca-presave-command" type="s" access="read"/>
0b76c1
+  <property name="ca-presave-uid" type="s" access="read"/>
0b76c1
+  <property name="ca-postsave-command" type="s" access="read"/>
0b76c1
+  <property name="ca-postsave-uid" type="s" access="read"/>
0b76c1
+  <property name="scep-cipher" type="s" access="readwrite"/>
0b76c1
+  <property name="scep-digest" type="s" access="readwrite"/>
0b76c1
+  <property name="scep-ca-identifier" type="s" access="readwrite"/>
0b76c1
+  <property name="scep-ca-capabilities" type="as" access="read"/>
0b76c1
+  <property name="scep-ra-cert" type="s" access="read"/>
0b76c1
+  <property name="scep-ca-cert" type="s" access="read"/>
0b76c1
+  <property name="scep-other-certs" type="s" access="read"/>
0b76c1
+ </interface>
0b76c1
+</node>
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_config_file_path ]
0b76c1
+$tmpdir/cas/20180327134236-3
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_nickname ]
0b76c1
+dogtag-ipa-renew-agent
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_is_default ]
0b76c1
+0
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_type ]
0b76c1
+EXTERNAL
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_serial ]
0b76c1
+None
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_location ]
0b76c1
+$libexecdir/dogtag-ipa-renew-agent-submit
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_issuer_names ]
0b76c1
+dbus.Array([], signature=dbus.Signature('s'))
0b76c1
+
0b76c1
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.refresh ]
0b76c1
+1
0b76c1
+
0b76c1
-- 
0b76c1
2.25.4
0b76c1