Closed nak3 closed 1 year ago
Thanks for this! Two small changes: can you change the commit format it to that it follows our standard? We need something like fix(serviceinfo): <message>
. Then you'll have to rebase, we have handled the spellcheck warning that shows up in CI but has nothing to do with your PR.
Thank you for the review! Sure I have updated it.
This patch supports no authentication for service info by using
Option()
forservice_info_auth_token
.Current docs asks users to set
None
if no authentication is needed butserde_yaml
library does not handle theNone
as Rust'sNone
. So this patch supportsservice_info_auth_token
asOption()
to allow "no authentication is needed" when it is omitted.Alternatively it is possible to support
"None"
or""
(empty string) as a special case to disable authorization. Any suggestion is welcome.Fix https://github.com/fedora-iot/fido-device-onboard-rs/issues/403