Open kjvalencik opened 2 years ago
Just to clarify, you're talking about SwiftPM, but the errors shown are from Xcode. Does this reproduce when using swift build
as well?
It appears to only happen from Xcode and not when using swift package
directly. Apologies if this is the wrong place or if I'm describing things incorrectly. I am not an Apple or Swift developer.
Description
Git 2.34 added the ability to sign commits with SSH keys.
When enabled, SPM fails to resolve tags on dependencies.
Expected behavior
SPM would be able to resolve tags, optionally verifying tags if enabled and trusted keys are configured.
Actual behavior
SPM fails to parse the git config when
gpg.format = ssh
is seen as an invalid option.This error continues even when tag verification is disabled with
git config --global tag.forcesignannotated false
.Steps to reproduce
Enable SSH key signing in
~/.gitconfig
Swift Package Manager version/commit hash
Swift Package Manager - Swift 5.6.0
Swift & OS version (output of
swift --version && uname -a
)