Matthieu MOREL
|
f1d5979e7d
|
chore(internal): refactor: convert tests to testify assert/require part 5
refactor: convert tests to testify assert/require in internal/plugin/installer
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
2 weeks ago |
Matthieu MOREL
|
07259ecc86
|
chore: fix several checks issues from gocritic
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
4 weeks ago |
George Jenkins
|
087736b66e
|
fix: unnecessary-format lint issues from merge
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
|
4 months ago |
George Jenkins
|
586eb57338
|
fix: Plugin missing provenance bypass
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
|
4 months ago |
Matthieu MOREL
|
7edfff33eb
|
chore: fix unnecessary-format issues from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
4 months ago |
Mads Jensen
|
36cb3a2fe9
|
Replace unneeded use of t.Fatalf with t.Fatal
Signed-off-by: Mads Jensen <atombrella@users.noreply.github.com>
|
5 months ago |
Scott Rigby
|
9ea35da0d0
|
[HIP-0026] Plugin packaging, signing, and verification (#31176)
* Plugin packaging, signing and verification
Signed-off-by: Scott Rigby <scott@r6by.com>
* wrap keyring read error with more explicit message
Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
* skip unnecessary check
Co-authored-by: Evans Mungai <mbuevans@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
* Change behavior for installing plugin with missing .prov file (now warns and continues instead of failing)
Signed-off-by: Scott Rigby <scott@r6by.com>
* Add comprehensive plugin verification tests
- Test missing .prov files (warns but continues)
- Test invalid .prov file formats (fails verification)
- Test hash mismatches in .prov files (fails verification)
- Test .prov file access errors (fails appropriately)
- Test directory plugins don't support verification
- Test installation without verification enabled (succeeds)
- Test with valid .prov files (fails on empty keyring as expected)
---------
Signed-off-by: Scott Rigby <scott@r6by.com>
Co-authored-by: Jesse Simpson <jesse.simpson36@gmail.com>
Co-authored-by: Evans Mungai <mbuevans@gmail.com>
|
11 months ago |