From c05b18b907449484481d411035ccdca5caaf89b5 Mon Sep 17 00:00:00 2001 From: Fredrik Ahlgren Date: Sun, 4 Oct 2026 09:42:38 +0200 Subject: [PATCH] fix(vehicles): show only a VIN's last four characters in logs A full VIN reached a public issue (#143) through a pasted vag_vehicle log line: the driver logged the VIN at start and in every dataset file name. tesla_vehicle, tesla_cloud and teslamate_vehicle also logged it. Each of the four drivers now sends every log line through one local function that replaces the VIN with ****1234, so API errors that quote a URL with the VIN are masked too. The VIN is still used in full for API calls and as the serial. The tesla_cloud and vag_vehicle harnesses fail on any log line that holds the full VIN, and the VAG fake portal now names files as the real one does,