-
Notifications
You must be signed in to change notification settings - Fork 480
OCPBUGS-109578: proof pr to bump library-go to fix oc macos hcp insecure login #2391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,7 @@ require ( | |
| github.com/openshift/api v0.0.0-20260805215214-cfb63858e9d7 | ||
| github.com/openshift/build-machinery-go v0.0.0-20260629141115-154a2b810491 | ||
| github.com/openshift/client-go v0.0.0-20260806041845-b74fb348f1e7 | ||
| github.com/openshift/library-go v0.0.0-20260901055840-8c76f7d75dd6 | ||
| github.com/openshift/library-go v0.0.0-20260902200604-6de66ffc2023 | ||
| github.com/openshift/osincli v0.0.0-20160924135400-fababb0555f2 | ||
| github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c | ||
| github.com/prometheus/client_golang v1.23.2 | ||
|
|
@@ -231,3 +231,5 @@ require ( | |
| replace github.com/apcera/gssapi => github.com/openshift/gssapi v0.0.0-20260819120910-d6b72669a11e | ||
|
|
||
| replace github.com/onsi/ginkgo/v2 => github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20251001123353-fd5b1fb35db1 | ||
|
|
||
| replace github.com/openshift/library-go => github.com/ehearne-redhat/library-go v0.0.0-20260909101331-46cb1db2f53d | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🛡️ Analyzed with Security Review | 🟠 Major | 🏗️ Heavy lift 🧩 Analysis chain🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
go mod verify
curl -fsSL \
https://api.github.com/repos/ehearne-redhat/library-go/commits/46cb1db2f53d |
jq -e '.commit.verification.verified == true'
curl -fsSL \
https://api.github.com/repos/openshift/library-go/pulls/2455 |
jq '{state, merged_at, merge_commit_sha}'
curl -fsSL -X POST https://api.osv.dev/v1/query \
-H 'content-type: application/json' \
-d '{"package":{"ecosystem":"Go","name":"github.com/openshift/library-go"},"version":"v0.0.0-20260902200604-6de66ffc2023"}'Repository: openshift/oc Length of output: 287 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
printf '%s\n' '--- go.mod dependency and replacement ---'
sed -n '35,48p;228,238p' go.mod
printf '%s\n' '--- fork commit verification and metadata ---'
curl -fsSL https://api.github.com/repos/ehearne-redhat/library-go/commits/46cb1db2f53d |
jq '{sha, html_url, author: .author.login, committer: .committer.login, verification: .commit.verification, message: .commit.message}'
printf '%s\n' '--- fork repository license ---'
curl -fsSL https://api.github.com/repos/ehearne-redhat/library-go |
jq '{full_name, archived, license: (.license | {key, name, spdx_id})}'
printf '%s\n' '--- OSV query for the replacement module and exact pseudo-version ---'
curl -fsSL -X POST https://api.osv.dev/v1/query \
-H 'content-type: application/json' \
-d '{"package":{"ecosystem":"Go","name":"github.com/ehearne-redhat/library-go"},"version":"v0.0.0-20260909101331-46cb1db2f53d"}' |
jq .Repository: openshift/oc Length of output: 5336 Security Misconfiguration Reachability: External Do not keep the fork as the long-term production dependency. This replacement executes forked code in the 🤖 Prompt for AI AgentsSources: Path instructions, MCP tools |
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.