Skip to content

gpg: Can't check signature: No public key #798

@Vexcited

Description

@Vexcited

Describe the bug

- uses: swift-actions/setup-swift@v3

produces

Downloading Swiftly
/usr/bin/gpg --verify /home/runner/work/_temp/2f950fc5-c30d-4a29-beaa-9c4fcc07c17e /home/runner/work/_temp/f5b1de6f-e291-4fc7-b21d-3bc0cb406161
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: Signature made Fri Oct 17 15:00:17 2025 UTC
gpg:                using RSA key E813C892820A6FA13755B268F167DF1ACF9CE069
gpg: Can't check signature: No public key
Error: Unexpected error, unable to continue. Please report at [https://github.com/swift-actions/setup-swift/issues](https://github.com/swift-actions/setup-swift/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen)
The process '/usr/bin/gpg' failed with exit code 2
Stacktrace:
Error: The process '/usr/bin/gpg' failed with exit code 2
    at ExecState._setResult (/home/runner/work/_actions/kkebo/setup-swift/fix-ci/dist/index.js:2357:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/kkebo/setup-swift/fix-ci/dist/index.js:2340:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/kkebo/setup-swift/fix-ci/dist/index.js:2234:27)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)

Workflow configuration:

  • Action version (uses): swift-actions/setup-swift@v3
  • Platform (runs-on): ubuntu-latest
  • Swift version (swift-version): 6.2.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions