[PR #4972] [MERGED] Fix encrypted lastUsedDate #7186

Closed
opened 2026-03-07 21:12:31 -06:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: fix-pw-history-part-three


📝 Commits (1)

  • 1e5e042 Fix 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 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>
GiteaMirror added the pull-request label 2026-03-07 21:12:31 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#7186