Skip to content
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

Change TPM manufacturer sting comparison handling #568

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

aseigler
Copy link
Collaborator

Due to what is probably a simple typo that got overlooked in the TPM spec, the manufacturer identifier assigned to IBM ended up with a lowercase 'D' character in what was supposed to be a simple ASCII to hexadecimal mapping. This change compensates for that by trimming the id: portion of the TPMManufacturer string, then converting the remainder to a hex string.

By doing this, id:49424d00 and id:49424D00 will effectively be the same, without changing the existing static strings from the spec.

Resolves #545, where more info is available.

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.97%. Comparing base (ea6cd8f) to head (ae2377e).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #568   +/-   ##
=======================================
  Coverage   76.96%   76.97%           
=======================================
  Files         100      100           
  Lines        2613     2614    +1     
  Branches      441      441           
=======================================
+ Hits         2011     2012    +1     
  Misses        496      496           
  Partials      106      106           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abergs abergs merged commit 8e2b272 into passwordless-lib:master Nov 5, 2024
11 checks passed
@abergs abergs added this to the Version 4 milestone Nov 5, 2024
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.

Possibly incorrect TPM manufacturer ID string value
3 participants