diff --git a/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Base.xml b/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Base.xml
index 5a96cbab6..0a8f246d8 100644
--- a/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Base.xml
+++ b/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.Base.xml
@@ -101,6 +101,26 @@ along with libdnf. If not, see .
+
+
+
+
+
+
+
+
+
+
diff --git a/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.rpm.Repo.xml b/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.rpm.Repo.xml
index 5d5601b14..13c4cf1f8 100644
--- a/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.rpm.Repo.xml
+++ b/dnf5daemon-server/dbus/interfaces/org.rpm.dnf.v0.rpm.Repo.xml
@@ -80,26 +80,6 @@ along with libdnf. If not, see .
-
-
-
-
-
-
-
-
-
-
diff --git a/dnf5daemon-server/services/base/base.cpp b/dnf5daemon-server/services/base/base.cpp
index 49e4ea7be..34adbe5ae 100644
--- a/dnf5daemon-server/services/base/base.cpp
+++ b/dnf5daemon-server/services/base/base.cpp
@@ -58,6 +58,11 @@ void Base::dbus_register() {
dnfdaemon::SIGNAL_DOWNLOAD_MIRROR_FAILURE,
"ossss",
{"session_object_path", "download_id", "message", "url", "metadata"});
+ dbus_object->registerSignal(
+ dnfdaemon::INTERFACE_BASE,
+ dnfdaemon::SIGNAL_REPO_KEY_IMPORT_REQUEST,
+ "osasssx",
+ {"session_object_path", "key_id", "user_ids", "key_fingerprint", "key_url", "timestamp"});
}
sdbus::MethodReply Base::read_all_repos(sdbus::MethodCall & call) {
diff --git a/dnf5daemon-server/services/repo/repo.cpp b/dnf5daemon-server/services/repo/repo.cpp
index 1900fb328..fa0e86ee6 100644
--- a/dnf5daemon-server/services/repo/repo.cpp
+++ b/dnf5daemon-server/services/repo/repo.cpp
@@ -288,12 +288,6 @@ void Repo::dbus_register() {
dnfdaemon::INTERFACE_REPO, "disable", "as", {"repo_ids"}, "", {}, [this](sdbus::MethodCall call) -> void {
session.get_threads_manager().handle_method(*this, &Repo::disable, call, session.session_locale);
});
-
- dbus_object->registerSignal(
- dnfdaemon::INTERFACE_REPO,
- dnfdaemon::SIGNAL_REPO_KEY_IMPORT_REQUEST,
- "osasssx",
- {"session_object_path", "key_id", "user_ids", "key_fingerprint", "key_url", "timestamp"});
}
sdbus::MethodReply Repo::confirm_key(sdbus::MethodCall & call) {