diff --git a/lib/crypto/gpg/gpgbin/gpgbin.go b/lib/crypto/gpg/gpgbin/gpgbin.go index 3ee8139..bce3097 100644 --- a/lib/crypto/gpg/gpgbin/gpgbin.go +++ b/lib/crypto/gpg/gpgbin/gpgbin.go @@ -46,7 +46,7 @@ func parseError(s string) error { return errors.New(line) } } - return errors.New("unknown gpg error") + return errors.New(strings.Join(lines, ", ")) } // fields returns the field name from --status-fd output. See: