Skip to content

Fix fdo.command args encoding - #720

Open
raihio wants to merge 4 commits into
fido-device-onboard:masterfrom
raihio:fix_encodings
Open

Fix fdo.command args encoding#720
raihio wants to merge 4 commits into
fido-device-onboard:masterfrom
raihio:fix_encodings

Conversation

@raihio

@raihio raihio commented Sep 22, 2025

Copy link
Copy Markdown

Fixes #719

@raihio raihio changed the title Fix fdo.comman args encoding Fix fdo.command args encoding Sep 23, 2025
@raihio

raihio commented Sep 28, 2025

Copy link
Copy Markdown
Author

Added an additional change to also align the execute parameter with the specification.

The Java server was sending a CBOR array but the spec requires a CBOR null. This caused a deserialization error in the Go client.

I've updated the Java server to send the correct CBOR null value which resolves the incompatibility with the Go client and ensures spec compliance.

@raihio

raihio commented Sep 29, 2025

Copy link
Copy Markdown
Author

The Java server changes to args and execute will require a corresponding update in the C client.

Happy to make the changes in client-sdk-fidoiot, have started a draft PR: fido-device-onboard/client-sdk-fidoiot#300

Please take a look @ben-krieger

@ben-krieger

Copy link
Copy Markdown
Collaborator

@rftemple Are you able to help review this?

Signed-off-by: Raihan M <muhamedraihan@gmail.com>
Signed-off-by: Raihan M <muhamedraihan@gmail.com>
Signed-off-by: Raihan M <muhamedraihan@gmail.com>
Signed-off-by: Raihan M <muhamedraihan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Incorrect encoding of fdo.command args

2 participants