Heads up, if you use home assistant, any credentials in your config have been hoovered up without your knowledge

you are viewing a single comment's thread
view the rest of the comments
[–] 20 points 3 weeks ago (1 child)

it only send the first 5 characters of the sha1 hash, thats pretty much useless for finding the password

  • source
  • parent
  • hideshow 1 child comment
  • [–] 16 points 3 weeks ago* (last edited 3 weeks ago)

    This is such a nothing burger, they’re using those first five to get partial matches then doing the actual checks locally on the hash…

    To be transparent: this check isn't new, it has been part of the Supervisor for years. It checks app options that are marked as passwords. A recent release fixed the warning that surfaces it, which is why you're seeing it now. Privacy was a design requirement for this feature from the start, which is why your secrets never leave your system. The Supervisor hashes them locally and sends only the first 5 characters of the SHA-1 hash to Have I Been Pwned. HIBP returns every hash starting with that prefix, and the matching happens on your own instance. You can see exactly what it does here: https://github.com/home-assistant/supervisor/blob/main/supervisor/utils/pwned.py. You are right that our documentation should have explained this, including how to turn it off. We'll get that page updated. ../Frenck

  • source
  • parent