mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-28 10:31:29 +02:00
The skip-TLS exemption added a hole of its own. Such a record is stored without being checked at all, and the re-check on update watched only the upstream, the key and the catalog entry — so turning verification back on left a provider that had never been checked now running as if it had. That transition is the first moment the record can be checked, and it now is. An update that preserves the stored key trims it on the way through, so a record saved before keys were normalised is repaired by the next edit rather than carrying whitespace the proxy still sends. That makes the comparison see a change, which is right: the key has never been tested in the form it is about to be sent in. The create description also claimed more of the upstream than the check reads. Only the host is used — the listing goes to the catalog's own path over HTTPS — so a configured scheme or path is neither used nor validated there.