Explorar o código

internal/build: call correct signer method

Péter Szilágyi %!s(int64=9) %!d(string=hai) anos
pai
achega
df30ef5177
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      internal/build/pgp.go

+ 1 - 1
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)
 }