aboutsummaryrefslogtreecommitdiff
path: root/src/crypto.rs
diff options
context:
space:
mode:
authorMathijs van Veluw <[email protected]>2024-09-20 20:38:42 +0200
committerGitHub <[email protected]>2024-09-20 20:38:42 +0200
commit7d6dec64138550643ee57c5a5341fa5c758c7f6f (patch)
treed3c70f9cda47ad084d0c6273eff8f7f47f4da1d3 /src/crypto.rs
parentde01111082cea605ad1788e9596b0078ef4fcc73 (diff)
downloadvaultwarden-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