<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1bf52186c511d29db335b20cfa7265dfe805b0fa">https://github.com/macports/macports-ports/commit/1bf52186c511d29db335b20cfa7265dfe805b0fa</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 1bf52186c51 privoxy: ECC changes
</span>1bf52186c51 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1bf52186c511d29db335b20cfa7265dfe805b0fa
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Tue Jan 16 16:49:54 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> privoxy: ECC changes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Use (much faster) prime256v1 for generated certificates and default SHA-256 digest
</span><span style='display:block; white-space:pre;color:#404040;'> * Use appropriate SHA-384 digest for P-384 CA example
</span>---
www/privoxy/Portfile | 8 ++++----
www/privoxy/files/openssl.cnf | 2 +-
www/privoxy/files/patch-ssl_common.h.diff | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/privoxy/Portfile b/www/privoxy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4e2e1987db6..6a7aa2dd649 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/privoxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/privoxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name privoxy
version 3.0.34
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories www security net
platforms darwin
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -352,7 +352,7 @@ if {${name} eq ${subport}} {
</span> "sh <<TLS_PRIVOXY_ROOT_CA
# initialize
touch index.txt
<span style='display:block; white-space:pre;background:#ffe0e0;'>- echo 1000 > serial
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo '01' > serial
</span>
# CA encrypted key
# EC
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -369,7 +369,7 @@ if {${name} eq ${subport}} {
</span>
# CA certificate
openssl req -config openssl.cnf \\
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -new -x509 -days 1460 -sha256 \\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -new -x509 -days 1460 -sha384 \\
</span> -extensions v3_ca \\
-out certs/ca.cert.pem -key private/ca.key.pem \\
-passin file:private/passphrase.txt -batch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -456,7 +456,7 @@ TLS_PRIVOXY_ROOT_CA
</span> # -pass file:private/passphrase.txt
# Certificate PEM, DER, and P12
<span style='display:block; white-space:pre;background:#ffe0e0;'>- openssl req -config openssl.cnf -new -x509 -days 3650 -sha256 \\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openssl req -config openssl.cnf -new -x509 -days 3650 -sha384 \\
</span> -extensions v3_ca -out certs/ca.cert.pem \\
-key private/ca.key.pem -passin file:private/passphrase.txt \\
-batch
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/privoxy/files/openssl.cnf b/www/privoxy/files/openssl.cnf
</span><span style='display:block; white-space:pre;color:#808080;'>index 7287b256f62..b957fdae62b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/privoxy/files/openssl.cnf
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/privoxy/files/openssl.cnf
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +45,7 @@
</span>
# CA certificate
# openssl req -config openssl.cnf \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# -new -x509 -days 3650 -sha256 -extensions v3_ca -out certs/ca.cert.pem \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -new -x509 -days 3650 -sha384 -extensions v3_ca -out certs/ca.cert.pem \
</span> # -key private/ca.key.pem -passin file:private/passphrase.txt -batch
# CA certificate text verification
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/privoxy/files/patch-ssl_common.h.diff b/www/privoxy/files/patch-ssl_common.h.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 9233330b76d..8ddd584d574 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/privoxy/files/patch-ssl_common.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/privoxy/files/patch-ssl_common.h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,7 +19,7 @@
</span> +/*
+ * See <openssl/obj_mac.h>
+ */
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define EC_GROUP_NAME SN_secp384r1 /* EC group name */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define EC_GROUP_NAME SN_X9_62_prime256v1 /* EC group name */
</span> +#endif
+
#define ERROR_BUF_SIZE 1024 /* Size of buffer for error messages */
</pre><pre style='margin:0'>
</pre>