security: suppress GO-2026-5932 (openpgp not used in this codebase) - #51
Open
sudeeshjohn wants to merge 2 commits into
Open
sudeeshjohn wants to merge 2 commits into
sudeeshjohn wants to merge 2 commits into
Conversation
sudeeshjohn
force-pushed
the
main
branch
2 times, most recently
from
September 19, 2026 01:25
b17fa2c to
a2ea53a
Compare
Signed-off-by: SUDEESH JOHN <sudeeshjohn@in.ibm.com>
The Trivy scan flags golang.org/x/crypto for GO-2026-5932 which covers the golang.org/x/crypto/openpgp sub-packages (unmaintained, unsafe by design, no fixed version available). golang.org/x/crypto is an indirect dependency pulled in via github.com/IBM/infra-go-sdk for its ssh sub-package only — openpgp is never imported anywhere in this codebase — so the vulnerability is not reachable. Add .trivyignore to suppress the false-positive advisory. Ref: https://pkg.go.dev/vuln/GO-2026-5932 Signed-off-by: SUDEESH JOHN <sudeeshjohn@in.ibm.com>
Karthik-K-N
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Trivy scan flags
golang.org/x/cryptofor GO-2026-5932 which covers thegolang.org/x/crypto/openpgpsub-packages (unmaintained, unsafe by design, no fixed version available).golang.org/x/cryptois an indirect dependency pulled in viagithub.com/IBM/infra-go-sdkfor itssshsub-package only —openpgpis never imported anywhere in this codebase — so the vulnerability is not reachable.Adding
.trivyignoreto suppress the false-positive advisory closes code scanning alert #16.Ref: https://pkg.go.dev/vuln/GO-2026-5932
Signed-off-by: SUDEESH JOHN sudeeshjohn@in.ibm.com