Commit graph

5 commits

Author SHA1 Message Date
Radek Simko
0fe906fa8c make copyrightfix 2026-02-17 13:56:34 +00:00
Brandon Croft
7acde98806
cloudplugin: change manifest format to match releases API
Changes the release manifest format to more closely match the releases API V1 (example https://api.releases.hashicorp.com/v1/releases/terraform-cloudplugin/0.1.0-prototype)

- The new format doesn't carry the SHASUM for each build, so it made the matching_sums check in releaseauth redundant.
- Added tests for checksum parsing
- Added ID-based selection of signature file
2023-09-06 14:03:24 -06:00
CJ Horton
1706d643d6 more missing headers 2023-08-30 14:55:24 -07:00
Brandon Croft
8f4a430e41
refactor: cloudplugin VersionManager -> BinaryManager 2023-08-17 15:00:16 -06:00
Brandon Croft
6daaec5ce1
Package releaseauth
Package releaseauth helps authenticates archives downloaded from a service like releases.hashicorp.com by providing some simple authentication tools:

1. Matching reported SHA-256 hash against a standard SHA256SUMS file.
2. Calculates the SHA-256 checksum of an archive and compares it against a reported hash.
3. Ensures the checksums were signed by HashiCorp.
2023-08-14 14:07:18 -06:00