vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit b0e0d68632b2cfe2ba3da8d704e88ef67755ba71
parent f3c8c16d7969d2d33ef2c163680a52cfb2ce6513
Author: Jeremy Lin <jeremy.lin@gmail.com>
Date:   Tue, 11 Oct 2022 21:27:15 -0700

Update CSP for DuckDuckGo email forwarding

Upstream PR: https://github.com/bitwarden/clients/pull/3630

Diffstat:
Msrc/util.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/util.rs b/src/util.rs @@ -60,7 +60,7 @@ impl Fairing for AppHeaders { // Leaked Passwords check: api.pwnedpasswords.com // 2FA/MFA Site check: 2fa.directory // # Mail Relay: https://bitwarden.com/blog/add-privacy-and-security-using-email-aliases-with-bitwarden/ - // app.simplelogin.io, app.anonaddy.com, api.fastmail.com + // app.simplelogin.io, app.anonaddy.com, api.fastmail.com, quack.duckduckgo.com let csp = format!( "default-src 'self'; \ object-src 'self' blob:; \ @@ -83,6 +83,7 @@ impl Fairing for AppHeaders { https://app.simplelogin.io/api/ \ https://app.anonaddy.com/api/ \ https://api.fastmail.com/ \ + https://quack.duckduckgo.com/api/email/ \ ;\ ", icon_service_csp = CONFIG._icon_service_csp(),