From 9d26477548875a167a68556d746016f1f146223b Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sat, 12 Dec 2020 12:15:44 +0000 Subject: curl HSTS cache support (#3813) * add curl HSTS support * add HSTS support --- etc/profile-a-l/curl.profile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/profile-a-l/curl.profile') diff --git a/etc/profile-a-l/curl.profile b/etc/profile-a-l/curl.profile index 996ff51d3..5a5a7496a 100644 --- a/etc/profile-a-l/curl.profile +++ b/etc/profile-a-l/curl.profile @@ -7,6 +7,12 @@ include curl.local # Persistent global definitions include globals.local +# curl 7.74.0 introduces experimental support for HSTS cache +# https://daniel.haxx.se/blog/2020/11/03/hsts-your-curl/ +# technically this file can be anywhere but let's assume users have it in ${HOME}/.curl-hsts +# if your setup diverts, add 'blacklist /path/to/curl/hsts/file' to your disable-programs.local +# and 'noblacklist /path/to/curl/hsts/file' to curl.local to keep the sandbox logic intact +noblacklist ${HOME}/.curl-hsts noblacklist ${HOME}/.curlrc blacklist /tmp/.X11-unix -- cgit v1.2.3-70-g09d2