Comments (5)
It works both, and it is unclear what is more future-safe. I guess when in doubt, http is more compatible (if users change from wget to something else).
from squashmount.
Thanks for your response.
I guess when in doubt, http is more compatible (if users change from wget to something else).
What something else would users change to that wouldn’t support HTTPS? The only utility comparable to wget
I can think of is curl
, which also supports HTTPS (and indeed often works better in that regard, in my experience); and I don’t see that an alternative that doesn’t support so common a protocol as HTTPS would be worth changing to — and many ebuilds in the Portage tree already use SRC_URI
s pointing to GitHub tarballs via HTTPS.
I suppose the Manifest
already provides an integrity check, but I don’t see that another layer would hurt.
(I hope I don’t seem like I’m demanding that you change the protocol. And, this seems like a good utility; thanks for it.)
from squashmount.
What something else would users change
There are several "parallel fetchers" or user-written scripts out there; I also suppose that neither curl nor wget support https if compiled with USE=-ssl.
However, this question is not really related.
There seems to be a misunderstanding: Using https in SRC_URI is not more secure (when you use wget with USE=ssl which is the only case I tested): github will redirect then anyway to a https address. So the only thing that would change if I would put https into the SRC_URI is that one redirection is saved. But it would have the disadvantage that it would take github the (current or future) possibility to fallback/use some other redirection.
from squashmount.
Although the main vulnerability remains DNS, there is of course an additional MITM attack vector when relying on correct https redirection. After thinking it over, I think it is worth to avoid this attack scenario at the possible cost of compatibility/future-safety. I changed all ebuilds and references in all my github projects correspondingly. Closing as fixed
from squashmount.
Okay, thanks!
from squashmount.
Related Issues (12)
- Check for squashfs support before deleting source dir HOT 2
- emerge --sync error after resquashing HOT 4
- Ghost files after deletion on JFS filesystem HOT 6
- Failure to mount rw overlay with built-in modules HOT 2
- fuse: unknown option(s): `-o nonempty' HOT 3
- Perl errors after first mount in 7.3 HOT 2
- [/etc/squashmount.pl] comments minor modifications HOT 1
- Is there any way to use this without root? HOT 3
- running squashmount in a cron script HOT 3
- MemoryDenyWriteExecute option not met HOT 12
- Conflicts of squashmount and qt5 directory? HOT 3
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 squashmount.