diff --git a/internal/build/pgp.go b/internal/build/pgp.go index cc60d64fb5..7938df51a5 100644 --- a/internal/build/pgp.go +++ b/internal/build/pgp.go @@ -54,5 +54,5 @@ func PGPSignFile(input string, output string, pgpkey string) error { defer out.Close() // Generate the signature and return - return openpgp.ArmoredDetachSignText(out, keys[0], in, nil) + return openpgp.ArmoredDetachSign(out, keys[0], in, nil) }