Comments (8)
Thanks, I'll add the patch then.
from repo.
mirror/busybox@fc2ce04 is the cause, will investigate further, might be due to libressl
.
from repo.
It's because of this line. libressl
does not have the -verify_hostname
/-verify_ip
flag available:
-> openssl s_client -quiet -connect duckduckgo.com:443 -servername duckduckgo.com -verify 100 -verify_return_error -verify_hostname duckduckgo.com
verify depth is 100
unknown option -verify_hostname
usage: s_client [-4 | -6] [-alpn protocols] [-bugs] [-CAfile file]...
@cemkeylan, have you encountered this on carbs ?
from repo.
On Carbs, we don't have ssl verification for busybox wget enabled, because we use bearssl, though I was planning to patch it to use bearssl. I see busybox's wget as the "if all else fails" option, and it already warns the user that the ssl verification is disabled, so I never bumped into such an issue.
from repo.
Hmm, so we can either revert the commit which fixed certificate verification or drop CONFIG_FEATURE_WGET_OPENSSL=y
, both will lead to the verification being broken. For now atleast, i am just removing that option from .config
and bumping release. Now wget
will say wget: note: TLS certificate validation not implemented
, people should use curl
instead.
from repo.
Well, it is quite easy to patch out, so this should work with libressl.
libressl.patch.txt
By it should, I mean, I tried it with libressl and it works.
from repo.
Yes @cemkeylan, but is this actually effective in verifying the certificate stuff ? Because the linked commit "fixes" the openssl flags, so maybe it was silently "failing" to verify earlier due to missing flags ?
from repo.
It is effective for verification on most cases. Without the -verify_hostname
bit, openssl
will check whether the certificate is valid, has a trusted certificate authority, not self-singed, not revoked, and not expired. The verify_hostname
bit also adds the check to verify that the hostname and DNS records match. This is also an important verification, though.
from repo.
Related Issues (20)
- proposal: use b3sum instead of sha256 in checksums file HOT 7
- proposal: switch to netbsd-curses HOT 4
- proposal: replace vim with kakoune HOT 3
- cmake: checksum mismatch HOT 1
- drop gnupg1 HOT 2
- unbundle all libs HOT 2
- firefox: possibly unneeded yasm dependency
- proposal: sandboxed builds HOT 3
- peg git packages to known good commit HOT 5
- codeberg shift
- Dead links to https://git.sr.ht/ in packages HOT 2
- proposal: decide on VERSION markers and DESTDIR HOT 11
- proposal: Write parts of KISS in C for portability/speedup HOT 4
- proposal: Bring sed -i back? HOT 3
- proposal: switch back to LibreSSL HOT 6
- proposal: DItch shithub HOT 10
- drop libtheora HOT 2
- proposal: add maintainer file HOT 8
- Figure out firefox rpath without breaking dependency detector HOT 2
- proposal: have checksums of files installed by kiss from package to find changed/broken files HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repo.