[PR #2878] [CLOSED] make support string more secure #3147

Closed
opened 2026-02-05 05:14:56 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/2878
Author: @tessus
Created: 11/1/2022
Status: Closed

Base: mainHead: fix/privacy-mask


📝 Commits (2)

📊 Changes

1 file changed (+13 additions, -9 deletions)

View changed files

📝 src/config.rs (+13 -9)

📄 Description

When a support string is generated the masked entries still show certain info:

  • length of a password, user, database name in the DB URL
  • length of smtp username
  • domain length and TLD length, if subdomain is used or a sub directory
  • length and format of smtp_from

This change masks the fields with *** as it is done for passwords.


🔄 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/2878 **Author:** [@tessus](https://github.com/tessus) **Created:** 11/1/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/privacy-mask` --- ### 📝 Commits (2) - [`e5a607b`](https://github.com/dani-garcia/vaultwarden/commit/e5a607b5e9f91a200ff5e2ce6ea1446dc2d38db9) make support string more secure - [`27e1c94`](https://github.com/dani-garcia/vaultwarden/commit/27e1c947dae0c65eafcdd46afa1975c1e04cf1dd) don't mask `,` at all ### 📊 Changes **1 file changed** (+13 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/config.rs` (+13 -9) </details> ### 📄 Description When a support string is generated the masked entries still show certain info: - length of a password, user, database name in the DB URL - length of smtp username - domain length and TLD length, if subdomain is used or a sub directory - length and format of smtp_from This change masks the fields with `***` as it is done for passwords. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:14:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3147