FrozenAssassine / EasePass

A simple C# password manager
https://easepass.frozenassassine.de
MIT License
12 stars 0 forks source link

Time source of TOTP generation #29

Closed finn-freitag closed 1 year ago

finn-freitag commented 1 year ago

Using the function for online time from NTPClient.cs flickers because the program is switching very fast between online time and local time. Because of this I disabled the online time feature. The problem is that even if the user is online, the token generation trusts the local time and not the online time.

Maybe the flickering is even more through the asynchronous processing of HTTPClient. Through that delay the textbox value can change faster at a specific time. Probably it's better to stop the timer while making a request.