You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2026/03/20 23:39:56 UTC
(couchdb) branch dont-need-to-set-verify-peer updated (d3119d3ab -> 1d1122273)
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a change to branch dont-need-to-set-verify-peer
in repository https://gitbox.apache.org/repos/asf/couchdb.git
discard d3119d3ab Don't need to set verify_peer any longer
new 1d1122273 Don't need to set verify_peer any longer
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (d3119d3ab)
\
N -- N -- N refs/heads/dont-need-to-set-verify-peer (1d1122273)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/couch_replicator/src/couch_replicator_parse.erl | 2 --
1 file changed, 2 deletions(-)
(couchdb) 01/01: Don't need to set verify_peer any longer
Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch dont-need-to-set-verify-peer
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 1d1122273c53028ff7313a35c5d2340a3b343e7b
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Fri Mar 20 19:38:01 2026 -0400
Don't need to set verify_peer any longer
As of OTP 26 it's the new default.
[1] https://www.erlang.org/doc/apps/ssl/ssl.html#t:client_option_cert/0
> The default for Verify was changed to verify_peer in Erlang/OTP 26.
---
src/couch_replicator/src/couch_replicator_parse.erl | 1 -
src/couch_replicator/src/couch_replicator_utils.erl | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/couch_replicator/src/couch_replicator_parse.erl b/src/couch_replicator/src/couch_replicator_parse.erl
index f2d40acbe..000108acd 100644
--- a/src/couch_replicator/src/couch_replicator_parse.erl
+++ b/src/couch_replicator/src/couch_replicator_parse.erl
@@ -491,7 +491,6 @@ ssl_verify_options(true) ->
% https://security.erlef.org/secure_coding_and_deployment_hardening/ssl.html
ssl_ca_cert_opts() ++
[
- {verify, verify_peer},
{customize_hostname_check, [
{match_fun, public_key:pkix_verify_hostname_match_fun(https)}
]}
diff --git a/src/couch_replicator/src/couch_replicator_utils.erl b/src/couch_replicator/src/couch_replicator_utils.erl
index 5e8187200..d784b8a84 100644
--- a/src/couch_replicator/src/couch_replicator_utils.erl
+++ b/src/couch_replicator/src/couch_replicator_utils.erl
@@ -355,7 +355,6 @@ check_ssl_certificates(#rep{} = Rep, Type) ->
{is_ssl, true},
{ssl_options, [
{cacertfile, CACertFile},
- {verify, verify_peer},
{customize_hostname_check, [
{match_fun, public_key:pkix_verify_hostname_match_fun(https)}
]},