René's URL Explorer Experiment


Title: Quay registry integration test ignores insecure flag when using robot account credentials, causing test failures for self-signed certificates · Issue #18461 · stackrox/stackrox · GitHub

Open Graph Title: Quay registry integration test ignores insecure flag when using robot account credentials, causing test failures for self-signed certificates · Issue #18461 · stackrox/stackrox

X Title: Quay registry integration test ignores insecure flag when using robot account credentials, causing test failures for self-signed certificates · Issue #18461 · stackrox/stackrox

Description: The Quay registry integration test function (Test() method in pkg/registries/quay/quay.go) creates an HTTP client that doesn't respect the insecure configuration flag when using robot account credentials (username/password). This causes ...

Open Graph Description: The Quay registry integration test function (Test() method in pkg/registries/quay/quay.go) creates an HTTP client that doesn't respect the insecure configuration flag when using robot account crede...

X Description: The Quay registry integration test function (Test() method in pkg/registries/quay/quay.go) creates an HTTP client that doesn't respect the insecure configuration flag when using robot account c...

Opengraph URL: https://github.com/stackrox/stackrox/issues/18461

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Quay registry integration test ignores insecure flag when using robot account credentials, causing test failures for self-signed certificates","articleBody":"The Quay registry integration test function (Test() method in pkg/registries/quay/quay.go) creates an HTTP client that doesn't respect the insecure configuration flag when using robot account credentials (username/password). This causes test validation to fail when connecting to Quay instances with self-signed certificates, even though the actual integration works correctly for image scanning operations.\n\n**Problem Description**\nIn pkg/registries/quay/quay.go around line 158, the Test() method has conditional logic:\n\n```func (q *Quay) Test() error {\n    if q.config.GetOauthToken() != \"\" {\n        return q.Registry.Test()  // This works correctly with insecure flag\n    }\n    // When using robot credentials (no OAuth token), this path is taken:\n    url := urlfmt.FormatURL(q.config.GetEndpoint(), urlfmt.HTTPS, urlfmt.NoTrailingSlash)\n    discoveryURL := url + \"/api/v1/discovery\"\n    client := http.Client{\n        Timeout: timeout,  // Missing TLS configuration!\n    }\n```\n\nThe issue occurs specifically when:\n\n- Using robot account credentials (username/password) instead of OAuth token\n\n- insecure: true is set in the Quay integration config\n\n**Expected Behavior**\nThe test function should respect the insecure configuration flag when using robot account credentials, similar to how it works with OAuth token authentication.\n\n**Current Workaround**\nCurrently, users must set skipTestIntegration: true to avoid test failures, which disables validation entirely.\n\n**Proposed Solution**\nThe Test() function should configure the HTTP client's TLS settings when using robot credentials:\n\n```\nclient := \u0026http.Client{\n    Timeout: timeout,\n}\n\nif q.config.GetInsecure() {\n    transport := \u0026http.Transport{\n        TLSClientConfig: \u0026tls.Config{InsecureSkipVerify: true},\n    }\n    client.Transport = transport\n}\n```","author":{"url":"https://github.com/kwiatkowski-vw","@type":"Person","name":"kwiatkowski-vw"},"datePublished":"2026-01-13T11:24:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/18461/stackrox/issues/18461"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f5933cfd-2d0d-321a-c132-2db4cd530355
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA1EE:150591:4446D0F:5C7B43F:6980AFB6
html-safe-nonce557de20a92af3e4f50ee30ec457a22298a30c0629f6e2e3344b70f4240f08ee8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUVFOjE1MDU5MTo0NDQ2RDBGOjVDN0I0M0Y6Njk4MEFGQjYiLCJ2aXNpdG9yX2lkIjoiNDY5MTAxMjgyOTIwMzk2NzkyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdd74114575cd833ffa427de1cf478ec5334cc70fb68da2d187b84dc604238948
hovercard-subject-tagissue:3808409714
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackrox/stackrox/18461/issue_layout
twitter:imagehttps://opengraph.githubassets.com/968887c668b986fceb2a622581fe0f5d39755fd7a66e0181b4560c6ab0d74500/stackrox/stackrox/issues/18461
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/968887c668b986fceb2a622581fe0f5d39755fd7a66e0181b4560c6ab0d74500/stackrox/stackrox/issues/18461
og:image:altThe Quay registry integration test function (Test() method in pkg/registries/quay/quay.go) creates an HTTP client that doesn't respect the insecure configuration flag when using robot account crede...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekwiatkowski-vw
hostnamegithub.com
expected-hostnamegithub.com
Noned5070894b88d5cf03785c677c23c659b0431dfc2e6df2f35e35f2e0de9ceb94a
turbo-cache-controlno-preview
go-importgithub.com/stackrox/stackrox git https://github.com/stackrox/stackrox.git
octolytics-dimension-user_id40638982
octolytics-dimension-user_loginstackrox
octolytics-dimension-repository_id434017296
octolytics-dimension-repository_nwostackrox/stackrox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id434017296
octolytics-dimension-repository_network_root_nwostackrox/stackrox
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release821a5a2664fd1c2441fb3caded98e0f525bf913f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/stackrox/stackrox/issues/18461#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fissues%2F18461
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackrox%2Fstackrox%2Fissues%2F18461
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stackrox%2Fstackrox
Reloadhttps://patch-diff.githubusercontent.com/stackrox/stackrox/issues/18461
Reloadhttps://patch-diff.githubusercontent.com/stackrox/stackrox/issues/18461
Reloadhttps://patch-diff.githubusercontent.com/stackrox/stackrox/issues/18461
stackrox https://patch-diff.githubusercontent.com/stackrox
stackroxhttps://patch-diff.githubusercontent.com/stackrox/stackrox
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fstackrox%2Fstackrox
Fork 172 https://patch-diff.githubusercontent.com/login?return_to=%2Fstackrox%2Fstackrox
Star 1.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fstackrox%2Fstackrox
Code https://patch-diff.githubusercontent.com/stackrox/stackrox
Issues 50 https://patch-diff.githubusercontent.com/stackrox/stackrox/issues
Pull requests 386 https://patch-diff.githubusercontent.com/stackrox/stackrox/pulls
Actions https://patch-diff.githubusercontent.com/stackrox/stackrox/actions
Security 0 https://patch-diff.githubusercontent.com/stackrox/stackrox/security
Insights https://patch-diff.githubusercontent.com/stackrox/stackrox/pulse
Code https://patch-diff.githubusercontent.com/stackrox/stackrox
Issues https://patch-diff.githubusercontent.com/stackrox/stackrox/issues
Pull requests https://patch-diff.githubusercontent.com/stackrox/stackrox/pulls
Actions https://patch-diff.githubusercontent.com/stackrox/stackrox/actions
Security https://patch-diff.githubusercontent.com/stackrox/stackrox/security
Insights https://patch-diff.githubusercontent.com/stackrox/stackrox/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/stackrox/stackrox/issues/18461
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/stackrox/stackrox/issues/18461
Quay registry integration test ignores insecure flag when using robot account credentials, causing test failures for self-signed certificateshttps://patch-diff.githubusercontent.com/stackrox/stackrox/issues/18461#top
https://github.com/kwiatkowski-vw
https://github.com/kwiatkowski-vw
kwiatkowski-vwhttps://github.com/kwiatkowski-vw
on Jan 13, 2026https://github.com/stackrox/stackrox/issues/18461#issue-3808409714
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.