lix/scripts
Philip Potter 4f3cf06c97 Verify TLS certificate before downloading binaries
The --insecure flag to curl tells curl not to bother checking if the TLS
certificate presented by the server actually matches the hostname
requested, and actually is issued by a trusted CA chain.  This almost
entirely negates any benefit from using TLS in the first place.

This removes the --insecure flag to ensure we actually have a secure
connection to the intended hostname before downloading binaries.

Manually tested locally within a dev-shell; was able to download
binaries from https://cache.nixos.org without issue.

[Note: --insecure was only used for fetching NARs, whose integrity is
verified by Nix anyway using the hash from the .narinfo. But if we can
fetch the .narinfo without --insecure, we can also fetch the .nar, so
there is not much point to using --insecure. --Eelco]
2016-01-05 14:19:46 +01:00
..
build-remote.pl.in nix-copy-closure: Add -v flag 2015-07-20 01:52:07 +02:00
copy-from-other-stores.pl.in
download-from-binary-cache.pl.in Verify TLS certificate before downloading binaries 2016-01-05 14:19:46 +01:00
download-using-manifests.pl.in Verify TLS certificate before downloading binaries 2016-01-05 14:19:46 +01:00
find-runtime-roots.pl.in
install-nix-from-closure.sh Update cacert locations 2015-06-08 11:40:35 +02:00
local.mk Add resolve-system-dependencies.pl 2015-10-21 12:38:52 -07:00
nix-build.in propagate NIX_BUILD_SHELL also in pure builds document NIX_BUILD_SHELL in the nix-shell command documentation 2016-01-05 14:11:20 +01:00
nix-channel.in Drop newline in error message 2015-08-07 05:32:17 +02:00
nix-copy-closure.in Fix bad characters in "copying 7 missing paths from ..." 2015-11-10 16:12:26 +01:00
nix-generate-patches.in
nix-http-export.cgi.in
nix-install-package.in
nix-profile.sh.in Revert "add the manpath to the installer" 2015-07-01 13:04:15 +02:00
nix-pull.in
nix-push.in nix-push: Support -j 2015-06-08 14:16:06 +02:00
nix-reduce-build.in
resolve-system-dependencies.pl.in reintroduce host deps in tandem with sandbox profiles 2015-11-21 15:57:06 -08:00
show-duplication.pl