Expiration Date Reminders for Documents and Licenses #5983
Replies: 2 comments 4 replies
-
Hey @conroyke56 are you proposing an idea for code that you would like to contribute, or voicing a feature request? The Bitwarden Github discussions space is used only for code contributions that you wish to write. For feature requests, please visit: https://bitwarden.com/featurerequest |
Beta Was this translation helpful? Give feedback.
-
Implementation for Expiry Notifications with User Consent:
For pub expiry_date_encrypted: Option<CipherString>,
pub expiry_date_plaintext: Option<String>, // Populated only if notifications are opted in.
pub expiry_status: u8,
pub plaintext_title: Option<String>, // Populated only if notifications are opted in. For pub expiry_date: Option<String>, // Used for decrypted view and data input.
pub expiry_status: u8,
This approach ensures that only users who explicitly opt-in for expiry notifications will have their expiry date and title stored in plain text. Once that’s implemented, I’d need to start working on the front end. This logic could be implemented globally across the whole system, but I don’t think I have the capabilities to code that. |
Beta Was this translation helpful? Give feedback.
-
Code Contribution Proposal
I am proposing the introduction of an "expiry date" feature for identity-related items such as licenses. This feature, when integrated, will enable apps to dispatch push notifications or reminders as the expiration dates of these documents approach.
this is some of my thoughts:
Client-Side Implementation: This is the most feasible approach given the limitations around encryption. By running the logic on the client side, the data doesn't need to be decrypted by the server.
Field for Expiry Date: a custom field named "Expiry" could be created by users. This would store the expiry date of documents or licenses. or it could be a permanent optional field.
Client-Side Script: Develop a script or add a feature within the Bitwarden client application (be it web, desktop, or mobile). This script or feature would:
Color-Coding: As a visual cue, the client application could color-coded items nearing expiration, with colours growing more intense as the expiry date approaches.
SMTP Alerts: The suggestion to use SMTP for email alerts is feasible, but it'd require decryption of the expiry date. Given that this can't be done server-side, it might be possible on the client side, though it would introduce challenges around integrating and securing SMTP functionalities directly within the client apps.
Web UI Implementation: The feature could be implemented in the Bitwarden web UI. This would involve:
Fetch and Parse: When users access their vault via the web, the UI could fetch and parse the expiry field.
Display: Show items that are approaching their expiry dates, possibly highlighting them with different colours with a traffic light system.
Beta Was this translation helpful? Give feedback.
All reactions