We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e992a0 commit a73ccb4Copy full SHA for a73ccb4
modules/git/repo_gpg.go
@@ -14,7 +14,7 @@ import (
14
15
// LoadPublicKeyContent will load the key from gpg
16
func (gpgSettings *GPGSettings) LoadPublicKeyContent() error {
17
- if gpgSettings.Format == KeyTypeOpenPGP {
+ if gpgSettings.Format == KeyTypeSSH {
18
content, err := os.ReadFile(gpgSettings.KeyID)
19
if err != nil {
20
return fmt.Errorf("unable to read SSH public key file: %s, %w", gpgSettings.KeyID, err)
0 commit comments