diff options
author | Mathijs van Veluw <[email protected]> | 2024-09-20 20:38:42 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-20 20:38:42 +0200 |
commit | 7d6dec64138550643ee57c5a5341fa5c758c7f6f (patch) | |
tree | d3c70f9cda47ad084d0c6273eff8f7f47f4da1d3 /src/crypto.rs | |
parent | de01111082cea605ad1788e9596b0078ef4fcc73 (diff) | |
download | vaultwarden-7d6dec64138550643ee57c5a5341fa5c758c7f6f.tar.gz vaultwarden-7d6dec64138550643ee57c5a5341fa5c758c7f6f.zip |
Fix encrypted lastUsedDate (#4972)
It appears that some password histories have an encrypted value on the `lastUsedDate`
Instead of only checking if it is a string, also check if it is a valid RFC Date/Time String.
If not, set it also to epoch 0.
Signed-off-by: BlackDex <[email protected]>
Diffstat (limited to 'src/crypto.rs')
0 files changed, 0 insertions, 0 deletions