mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-24 21:06:02 +03:00
[PR #2797] [MERGED] Add security warnings for disabled SSL verification options #2796
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2796
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2797
Author: @CarstenGrohmann
Created: 2/1/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @gaul
Base:
master← Head:add_cert_warning📝 Commits (2)
3dd25abAdd security warnings for disabled SSL verification6d51ae6Fix ssl_verify_hostname documentation to match code📊 Changes
5 files changed (+32 additions, -11 deletions)
View changed files
📝
doc/man/s3fs.1.in(+13 -4)📝
src/curl.cpp(+3 -3)📝
src/curl.h(+1 -0)📝
src/s3fs_help.cpp(+6 -4)📝
src/s3fs_util.cpp(+9 -0)📄 Description
This PR improves user awareness when SSL/TLS verification is disabled via
no_check_certificateorssl_verify_hostname=0. Previously, these security-critical options had minimal or no warnings, making it easy to accidentally deploy insecure configurations to production.Changes:
IsCertCheck()getter toS3fsCurlclassssl_verify_hostnamedocumentation: default is "1", not "2"Additionally, the documentation now explicitly warns:
Documentation Fix:
The ssl_verify_hostname option was documented with default="2", but the code defaults to 1 and only accepts values 0 or 1. This has been corrected to default="1" with descriptions for both values.
Discussion:
What do you think about converting
ssl_verify_hostname=0to a boolean option likeno_ssl_verify_hostname?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.