Component validation #168
-
I have a scenario where I need to validate whether a fingerprint matches. If it doesn't match, I need to check the components using the validate-key API. The machine fingerprint consists of five components, but it is not necessary for all five to match. Only four of the components need to be validated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You would probably want the |
Beta Was this translation helpful? Give feedback.
That's not how the validation works. The fingerprint must exist before the components are also asserted. You should use a fingerprint value for the machine that is known to not change, or very unlikely to change, e.g. the OS GUID or some static value, and then add hardware components to that machine. This will allow some hardware components to be changed, but not the OS GUID.
The validation engine will look up the machine by fingerprint, and then assert that enough components satisfy the matching strategy for the given machine. If the machine does not exist, it will return a mismatch code.