Skip to content

Comments

Remove VIN vs vehicle definition match check#112

Merged
elffjs merged 1 commit intomainfrom
remove-vin-definition-match-check
Feb 12, 2026
Merged

Remove VIN vs vehicle definition match check#112
elffjs merged 1 commit intomainfrom
remove-vin-definition-match-check

Conversation

@zer0stars
Copy link
Member

Summary

Removes the check that required the VIN (from telemetry) to decode to the same device definition as the vehicle's registered definition.

Changes

  • vinvc: Drop DecodeVIN and decodedNameSlug == vehicleInfo.NameSlug validation in getValidFingerPrint
  • vinvc: Remove VINAPI dependency (struct, constructor, interface)
  • app/setup: Remove device-definitions gRPC client, vinvalidator, and deviceDefAPIClientFromSettings
  • Tests: Remove DecodeVIN expectations and the two decode-failure test cases; regenerate mocks

VIN attestation now uses the latest fingerprint VIN from paired devices without validating it against the vehicle's definition ID.

Made with Cursor

- Drop decode-VIN and compare-to-NameSlug validation in vinvc.getValidFingerPrint
- Remove VINAPI dependency from vinvc service and device-definitions gRPC from app setup
- Remove vinvalidator usage and deviceDefAPIClientFromSettings
- Update vinvc tests and regenerate mocks

Co-authored-by: Cursor <cursoragent@cursor.com>
@elffjs elffjs merged commit 6fc2878 into main Feb 12, 2026
4 checks passed
@elffjs elffjs deleted the remove-vin-definition-match-check branch February 12, 2026 18:50
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.

2 participants