Make the database salt a lazy value so as: 1. the UI does not freeze while...
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