Better HN
topnewbestaskshowjobs
Log inSign up

throwaway015089

1 karma · joined Nov 2, 2020 (6y ago) · 3 submissions

Submissions

comment 6y ago · link · parent

Unfortunately Home Assistant is very difficult to package for Linux, and upstream is not cooperating.

comment 6y ago · link · parent

1) A new password is accepted using an email validation and the previous hash is replaced

2) The url with token is used only for logging in and the user is forwarded to the home, just like the email confirmation links in emails

comment 6y ago · link · parent

1) you can hash together email + randomsalt + password and then store randomsalt and the hashed value

2) you avoid passwords altogether by giving a user an authentication token to be saved as a bookmark perhaps? The token contains a cryptographic signature