Title: macOS self-hosted runners: Temurin signature verification fails because the gpg home under RUNNER_TEMP pushes the gpg-agent socket path past 104 bytes · Issue #1263 · actions/setup-java · GitHub
Open Graph Title: macOS self-hosted runners: Temurin signature verification fails because the gpg home under RUNNER_TEMP pushes the gpg-agent socket path past 104 bytes · Issue #1263 · actions/setup-java
X Title: macOS self-hosted runners: Temurin signature verification fails because the gpg home under RUNNER_TEMP pushes the gpg-agent socket path past 104 bytes · Issue #1263 · actions/setup-java
Description: actions/setup-java@v6 creates its temporary gpg home as ${RUNNER_TEMP}/verify-signature-gpg-home-XXXXXX. On a self-hosted macOS runner whose work folder is longer than the hosted runners' /Users/runner/work, gpg-agent's socket S.gpg-agen...
Open Graph Description: actions/setup-java@v6 creates its temporary gpg home as ${RUNNER_TEMP}/verify-signature-gpg-home-XXXXXX. On a self-hosted macOS runner whose work folder is longer than the hosted runners' /Users/ru...
X Description: actions/setup-java@v6 creates its temporary gpg home as ${RUNNER_TEMP}/verify-signature-gpg-home-XXXXXX. On a self-hosted macOS runner whose work folder is longer than the hosted runners' /User...
Opengraph URL: https://github.com/actions/setup-java/issues/1263
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macOS self-hosted runners: Temurin signature verification fails because the gpg home under RUNNER_TEMP pushes the gpg-agent socket path past 104 bytes","articleBody":"`actions/setup-java@v6` creates its temporary gpg home as `${RUNNER_TEMP}/verify-signature-gpg-home-XXXXXX`. On a self-hosted macOS runner whose work folder is longer than the hosted runners' `/Users/runner/work`, gpg-agent's socket `S.gpg-agent.browser` inside that home exceeds macOS's 104-byte `sun_path` limit. gpg then prints `can't connect to the gpg-agent: IPC connect call failed` and exits 2 on `--import` even though the key imported, and the action reports \"Failed to verify signature for Temurin version …: The process 'gpg' failed with exit code 2\".\n\nReproduced on two Apple Silicon macs (GnuPG 2.5.20 and 2.5.21, v6.0.0 at dd06d9cb): with an 84-character gpg home the import fails; with an 81-character home the same command succeeds. Moving the runner's work folder to a short path (`~/gh-runner`) fixes it.\n\nSuggested fix: create the gpg home under `os.tmpdir()` (short on macOS) instead of `RUNNER_TEMP`, or fail early with a clear message when the resulting socket path would exceed the limit. The warning-only default from #1262 hides this instead of fixing it.\n","author":{"url":"https://github.com/bidadh","@type":"Person","name":"bidadh"},"datePublished":"2026-09-05T00:11:00Z","url":"https://github.com/actions/setup-java/issues/1263"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ad35ab0c-0430-0f76-1ee1-eef2860c2301 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE36:203847:13B6E4:1A9EFF:6AED373D |
| html-safe-nonce | 70595df9de6ad691614bd75e70a950336d7c30cbc57232672d1876ff4ac0e076 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTM2OjIwMzg0NzoxM0I2RTQ6MUE5RUZGOjZBRUQzNzNEIiwidmlzaXRvcl9pZCI6IjgwODg0MzYxNzc3NDUyOTUxNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aed9737adc6c03fe87c221ae23d51b37622e47db3841d9d1b2e4125605646307 |
| hovercard-subject-tag | issue:5354332807 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-java/1263/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e1209a9aef7a81cae33e55fb41489a6b1e072867056f7de64460463f29deecc4/actions/setup-java/issues/1263 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e1209a9aef7a81cae33e55fb41489a6b1e072867056f7de64460463f29deecc4/actions/setup-java/issues/1263 |
| og:image:alt | actions/setup-java@v6 creates its temporary gpg home as ${RUNNER_TEMP}/verify-signature-gpg-home-XXXXXX. On a self-hosted macOS runner whose work folder is longer than the hosted runners' /Users/ru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bidadh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 26c92a9388ddfad3fa88d132b5d5f0b4747030233dcc4e5efb05f1cbae152184 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-java git https://github.com/actions/setup-java.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 196057608 |
| octolytics-dimension-repository_nwo | actions/setup-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 196057608 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c629ad99c254d306375fc8354d04321c2c362236 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width