Commit d10daea
authored
sca: fix SCA for go-fips-1.25 (#2153)
Ensure that Melange SCA generates depends for packages that use the
new go-msft-1.25 toolchain.
Tried to create a test case for this, but failed in:
- #2152
It would require enterprise-packages access which is not great.
Separately test cases are available as, currently:
- 1.24 works chainguard-dev/enterprise-packages#33090
- 1.25 doesn't chainguard-dev/enterprise-packages#33091
And with this PR both should start working again.
Suggestions on how to make test cases work are welcomed to catch this.
My plan is to add SCA check to go-msft packages themselves, such that it breaks when there are changes to build-info in the future:
- chainguard-dev/enterprise-packages#32952
Also note that libssl.so is unused, and only libcrypto is dlopened.1 parent 54a57bc commit d10daea
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
705 | 708 | | |
706 | 709 | | |
707 | 710 | | |
708 | 711 | | |
709 | 712 | | |
710 | | - | |
711 | 713 | | |
712 | 714 | | |
713 | 715 | | |
| |||
0 commit comments