Skip to content

Make the database salt a lazy value so as: 1. the UI does not freeze while...

Lucas Baudin requested to merge lbaudin/secrets-salt:lazy-salt into master

In the context of database unlocking, make the database salt a lazy value so as: 1. the UI does not freeze while unlocking (the salt was not computed in a separate thread) and 2. it is not computed if it is not needed (improves unlocking time by approximately 30-50% on my safe with ~100 passwords).

Probably solves #528

I could not test the yubikey provider as I don't have one.

Edited by Lucas Baudin

Merge request reports