grype/test/install
Shubham Hibare 17b104771a
feat(signature): Checksum signature verification (#1670)
* feat(signature): Checksum signature verification

Signed-off-by: Shubham Hibare <shubham@hibare.in>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* Update message

Signed-off-by: Shubham Hibare <shubham@hibare.in>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* address comments

Signed-off-by: Shubham Hibare <shubham@hibare.in>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* consider -v flag across supported releases

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* add tests for install.sh signature verification

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* check that release is run from main

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* summarize install.sh flags and recommendations

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* remove regex use on cosign verify-blob

Co-authored-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* simplify the compare_semver install function

Co-authored-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* add more tests to compare_semver

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* nit copy change for install help

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* keep original compare_semver implementation

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* update copy to include default install path

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Shubham Hibare <shubham@hibare.in>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Dominique Martinet <asmadeus@codewreck.org>
2024-06-06 21:23:04 +00:00
..
environments feat(signature): Checksum signature verification (#1670) 2024-06-06 21:23:04 +00:00
test-fixtures feat(signature): Checksum signature verification (#1670) 2024-06-06 21:23:04 +00:00
.dockerignore Normalize release assets and refactor install.sh (#630) 2022-02-11 19:24:25 +00:00
.gitignore Normalize release assets and refactor install.sh (#630) 2022-02-11 19:24:25 +00:00
0_checksums_test.sh feat(signature): Checksum signature verification (#1670) 2024-06-06 21:23:04 +00:00
1_download_snapshot_asset_test.sh fix: update architecture release for to ppc64le (#1021) 2022-11-29 17:44:59 -05:00
2_download_release_asset_test.sh feat(signature): Checksum signature verification (#1670) 2024-06-06 21:23:04 +00:00
3_install_asset_test.sh fix: update architecture release for to ppc64le (#1021) 2022-11-29 17:44:59 -05:00
4_prep_signature_verification_test.sh feat(signature): Checksum signature verification (#1670) 2024-06-06 21:23:04 +00:00
github_test.sh Normalize release assets and refactor install.sh (#630) 2022-02-11 19:24:25 +00:00
Makefile feat(signature): Checksum signature verification (#1670) 2024-06-06 21:23:04 +00:00
test_harness.sh reduce PR CI pain and flakyness (#652) 2022-03-02 14:03:19 -05:00