aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/gpg/gpgbin/gpgbin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/gpg/gpgbin/gpgbin.go b/lib/crypto/gpg/gpgbin/gpgbin.go
index 3ee81399..bce30970 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: