-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix example broker D-Bus XML file #619
Conversation
"a{s}s" is not a valid GVariant type, it should be "a{ss}" instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh... Indeed!
Only thing that worries me a bit is that it also shows up in the Entra ID broker: https://github.com/ubuntu/authd-oidc-brokers/blob/2c443ba1791f326e70e0d5d042ca7aa5d13017ce/internal/dbusservice/dbusservice.go#L29. |
I've the feeling that dbus variant parsing isn't doing things properly? But we're definitely wrong there too, in fact:
Now, this doesn't seem to happen in the example broker we've in tests:
And they both work fine with the same server, so I've the feeling that in some way the go dbus implementation handles this in the same way... mhmh |
@adombeck FYI the racy failure that you got in the e.g. https://github.com/ubuntu/authd/actions/runs/11708304677/job/32609750206?pr=619 |
The .NET implementation of https://github.com/tmds/Tmds.DBus at least fails with |
I opened ubuntu/authd-oidc-brokers#193 to fix that as well |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #619 +/- ##
==========================================
+ Coverage 82.93% 82.98% +0.04%
==========================================
Files 80 80
Lines 8534 8534
Branches 75 75
==========================================
+ Hits 7078 7082 +4
+ Misses 1127 1124 -3
+ Partials 329 328 -1 ☔ View full report in Codecov by Sentry. |
Thanks for the prompt resolution on both issues! |
"a{s}s" is not a valid GVariant type, it should be "a{ss}" instead.