terraform/internal/getproviders
Martin Atkins 264a3cf031 depsfile: Flatten the "hashes" locks to a single set of strings
Although origin registries return specific [filename, hash] pairs, our
various different installation methods can't produce a structured mapping
from platform to hash without breaking changes.

Therefore, as a compromise, we'll continue to do platform-specific checks
against upstream data in the cases where that's possible (installation
from origin registry or network mirror) but we'll treat the lock file as
just a flat set of equally-valid hashes, at least one of which must match
after we've completed whatever checks we've made against the
upstream-provided checksums/signatures.

This includes only the minimal internal/getproviders updates required to
make this compile. A subsequent commit will update that package to
actually support the idea of verifying against multiple hashes.
2020-09-24 14:01:54 -07:00
..
testdata internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
doc.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
errors.go internal/getproviders: HTTPMirrorSource implementation 2020-08-26 13:18:08 -07:00
filesystem_mirror_source.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
filesystem_mirror_source_test.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
filesystem_search.go internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
filesystem_search_test.go internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
hash.go depsfile: Flatten the "hashes" locks to a single set of strings 2020-09-24 14:01:54 -07:00
http_mirror_source.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
http_mirror_source_test.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
legacy_lookup.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
legacy_lookup_test.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
memoize_source.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
memoize_source_test.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
mock_source.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
multi_source.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
multi_source_test.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
package_authentication.go depsfile: Flatten the "hashes" locks to a single set of strings 2020-09-24 14:01:54 -07:00
package_authentication_test.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
public_keys.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
registry_client.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
registry_client_test.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
registry_source.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
registry_source_test.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00
source.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
types.go internal/getproviders: Allow PackageMeta to carry acceptable hashes 2020-09-24 14:01:54 -07:00