linuxboot / heads-wiki

Documentation for the Heads firmware project
85 stars 44 forks source link

Totp mismatch #78

Open Siproqu opened 3 years ago

Siproqu commented 3 years ago

Had to refork the repo. So this is the new version of this pull request

Any remarks are welcome!

tlaurion commented 2 years ago

Needs review and adaptation.

tlaurion commented 2 years ago

Clock skew (time drift) can be years ahead or behind.

Year month date should be forced to reduce user error.

"date -s 'yyyy-mm-dd hh:mm:ss' && hwclock -w"

More adapted.

Again, automatic time sync through network-recovery-init or an entree in menu to do it with network cable connected should be proposed to users from TOTP/HOTP menu

tlaurion commented 1 year ago

PR should be modified accordingly to code changes upstream.