question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FYI: spec violation in current MDS data causing parser errors

See original GitHub issue

The spec clearly states that authenticatorVersion is an unsigned short (i.e. a UInt16) but as of recently new entries from Yubico are using values well north of 2^16.

Example is AAGUID 2fc0579f-8113-47ea-b116-bb5a8db9202a which is for the YubiKey 5 NFC version 5.2.x - it looks like they’ve just padded out the firmware version to create the authenticatorVersion value.

Error initialising MDS client 'Fido2MetadataServiceRepository'
Newtonsoft.Json.JsonSerializationException: Error converting value 502000 to type 'System.UInt16'. Path 'authenticatorVersion', line 1, position 1337.
 ---> System.OverflowException: Value was either too large or too small for a UInt16.

I wonder if it’s worth just changing the model in the lib to accomodate this (i.e. just bump it up to a UInt32).

Not the first spec violation I’ve encountered with that service. Does anyone have a contact this can be reported to?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
aseiglercommented, Jun 23, 2020

No, we should not change the lib. This is definitely a typo in the MDS data that the vendor must fix, it is clearly against spec.

0reactions
aseiglercommented, Sep 2, 2021

Pretty sure this is non-issue now, particularly with the MDS3 changes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Minimum Data Set (MDS) 3.0 Technical Information
In the recent MDS vendor call, it was determined that the fixed-length string test files provided in past CAT specification packages are still ......
Read more >
UNH–IOL NVMe Testing Service
Media and Data Integrity Errors Definition (M, OF-FYI) . ... current specification release, test suites will follow a numbering scheme based ...
Read more >
Fsyncgate: errors on fsync are unrecovarable
"The fsync() function shall request that all data for the open file descriptor named by fildes is to be transferred to the storage...
Read more >
Quickfix Tag Not defined For This message type but it's ...
It was caused by my modification of the field sequence in the repeating group 'NoMDEntries'. To fix this issue, I reverted the FIX44.xml ......
Read more >
Known Issues for Oracle SOA Products and Oracle BPM ...
The following exception error that appears in the server logs is caused by several actions, from terminating the browser to closing the tab...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found