diff --git a/notify/impl.go b/notify/impl.go index b81efed0..f184919f 100644 --- a/notify/impl.go +++ b/notify/impl.go @@ -987,5 +987,5 @@ func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) { func hashKey(s string) string { h := sha256.New() h.Write([]byte(s)) - return string(h.Sum(nil)) + return fmt.Sprintf("%x", h.Sum(nil))) }