Browse Source

internal/build: call correct signer method

Péter Szilágyi 9 năm trước cách đây
mục cha
commit
df30ef5177
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
 }