aboutsummaryrefslogtreecommitdiff
path: root/sign.go
diff options
context:
space:
mode:
Diffstat (limited to 'sign.go')
-rw-r--r--sign.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sign.go b/sign.go
index 1f4f3d7..56e7e03 100644
--- a/sign.go
+++ b/sign.go
@@ -43,7 +43,7 @@ func sign(args []string) error {
return err
}
sig := encKey.Sign(body)
- raw, err := key.Marshal(sig)
+ raw, err := sig.MarshalBinary()
if err != nil {
return err
}