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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/4972
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 9/20/2024
**Status:** ✅ Merged
**Merged:** 9/20/2024
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `fix-pw-history-part-three`
---
### 📝 Commits (1)
- [`1e5e042`](https://github.com/dani-garcia/vaultwarden/commit/1e5e0428b31d924730277fd0439bee73a57ecf6e) Fix encrypted lastUsedDate
### 📊 Changes
**1 file changed** (+4 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `src/db/models/cipher.rs` (+4 -4)
</details>
### 📄 Description
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.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4972
Author: @BlackDex
Created: 9/20/2024
Status: ✅ Merged
Merged: 9/20/2024
Merged by: @dani-garcia
Base:
main← Head:fix-pw-history-part-three📝 Commits (1)
1e5e042Fix encrypted lastUsedDate📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
src/db/models/cipher.rs(+4 -4)📄 Description
It appears that some password histories have an encrypted value on the
lastUsedDateInstead 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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.