gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: import CA into Icecat


From: gnunet
Subject: [gnunet] branch master updated: import CA into Icecat
Date: Tue, 10 Mar 2020 20:46:55 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9d5af0464 import CA into Icecat
9d5af0464 is described below

commit 9d5af046481ce1d5a0eeb0b4cb8496b6a2c9f22b
Author: Tanguy Le Carrour <address@hidden>
AuthorDate: Tue Mar 10 17:42:04 2020 +0100

    import CA into Icecat
---
 src/gns/gnunet-gns-proxy-setup-ca.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/gns/gnunet-gns-proxy-setup-ca.in 
b/src/gns/gnunet-gns-proxy-setup-ca.in
index 602aadb2a..412e53f8d 100644
--- a/src/gns/gnunet-gns-proxy-setup-ca.in
+++ b/src/gns/gnunet-gns-proxy-setup-ca.in
@@ -224,6 +224,16 @@ importbrowsers()
                 certutil -A -n "GNS Proxy CA" -t CT,, -d "$f" < $GNSCERT
             fi
         done
+        for f in ~/.mozilla/icecat/*.*/
+        do
+            if [ -d $f ]; then
+                infomsg "Importing CA into Icecat at $f"
+                # delete old certificate (if any)
+                certutil -D -n "GNS Proxy CA" -d "$f" >/dev/null 2>/dev/null
+                # add new certificate
+                certutil -A -n "GNS Proxy CA" -t CT,, -d "$f" < $GNSCERT
+            fi
+        done
         # TODO: Error handling?
         if [ -d ~/.pki/nssdb/ ]; then
             statusmsg "Importing CA into Chrome at ~/.pki/nssdb/"

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]