bilelmoussaoui / oo7

James Bond went on a new mission as a Secret Service provider
https://bilelmoussaoui.github.io/oo7/oo7/
MIT License
57 stars 11 forks source link

Unable to change secret of dbus item #93

Closed haecker-felix closed 1 month ago

haecker-felix commented 2 months ago

Using oo7::dbus::Item::set_secret()

Could not change secret: service error org.freedesktop.zbus.Error: Type of message, “(oayays)”, does not match expected type “((oayays))”

oo7 v0.3.2

bilelmoussaoui commented 2 months ago

This might be a zbus regression. I would suggest writing a new test case, run it against main and then against some old oo7 release like 0.1/0.2 and see if it still happens. The signature is correct, at worst we can work around it by adding an extra tuple when serializing the secret for SetSecret calls

bilelmoussaoui commented 1 month ago

Might be related to https://github.com/bilelmoussaoui/ashpd/commit/5cf31e35aed98236f47e86b0bf520a44d6c6242a