This was causing the check signature_valid(sdbus::Signal &) to crash, the client callback ended and the server kept waiting for result of the key_import userconfirm.
(I believe we should somehow handle when DbusCallback::signature_valid() returns false but I am not sure what would be the best approach. At least logging the event would be good (through the context?).)
Fix deserialization when checking signals
object_path
.Since https://github.com/rpm-software-management/dnf5/pull/1679
sdbus::ObjectPath
is send over to the client notstd::string
.This was causing the check
signature_valid(sdbus::Signal &)
to crash, the client callback ended and the server kept waiting for result of thekey_import
userconfirm.(I believe we should somehow handle when
DbusCallback::signature_valid()
returnsfalse
but I am not sure what would be the best approach. At least logging the event would be good (through thecontext
?).)The other commit fixes a bug for dnf5daemon offline transactions, analogous to https://github.com/rpm-software-management/dnf5/pull/1672.