all repos — honk @ 2ad825a1eeb961ef5fd618f55150bf72180e38f5

my fork of honk

log the error message for key failure
Ted Unangst tedu@tedunangst.com
Fri, 11 Sep 2020 13:26:23 -0400
commit

2ad825a1eeb961ef5fd618f55150bf72180e38f5

parent

2230037fafe6c01f7491fe757485a786d28e1cfb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M web.goweb.go

@@ -445,7 +445,7 @@ savingthrow(keyname)

keyname, err = httpsig.VerifyRequest(r, payload, zaggy) } if err != nil { - log.Printf("inbox message failed signature for %s from %s", keyname, r.Header.Get("X-Forwarded-For")) + log.Printf("inbox message failed signature for %s from %s: %s", keyname, r.Header.Get("X-Forwarded-For"), err) if keyname != "" { log.Printf("bad signature from %s", keyname) io.WriteString(os.Stdout, "bad payload\n")