From 85ce409081cd9bd743f925bd1c73a0f466618555 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 13 Oct 2024 07:27:04 -0700 Subject: [PATCH] Remove publickey-credentials-get=() FIDO2 is used almost everywhere now Signed-off-by: Tommy --- etc/nginx/snippets/security.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/nginx/snippets/security.conf b/etc/nginx/snippets/security.conf index 477a169..54d257e 100644 --- a/etc/nginx/snippets/security.conf +++ b/etc/nginx/snippets/security.conf @@ -2,7 +2,7 @@ # We do not set clipboard-write() here, because it is very commonly used proxy_hide_header Strict-Transport-Security; -add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always; +add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), speaker-selection=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always; proxy_hide_header Permissions-Policy; add_header Referrer-Policy "same-origin" always; @@ -16,4 +16,4 @@ add_header X-Frame-Options "SAMEORIGIN" always; # Obsolete and replaced by Content-Security-Policy # Only here to pass Hardenize checks proxy_hide_header X-XSS-Protection; -add_header X-XSS-Protection "0" always; \ No newline at end of file +add_header X-XSS-Protection "0" always;