From f19f16477329bf563e76ef30ce9719f40087a4ff Mon Sep 17 00:00:00 2001 From: postmannen Date: Thu, 3 Feb 2022 11:41:46 +0100 Subject: [PATCH] added flag for allowing empty signature --- process.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/process.go b/process.go index 2c35e99..530668c 100644 --- a/process.go +++ b/process.go @@ -551,6 +551,11 @@ func (p process) messageSubscriberHandler(natsConn *nats.Conn, thisNode string, // verifySignature func (p process) verifySignature(m Message) bool { + if p.configuration.AllowEmptySignature { + fmt.Printf(" * verifySignature: AllowEmptySignature set to TRUE\n") + return true + } + fmt.Printf(" * verifySignature, fromNode: %v, method: %v, signature: %v\n", m.FromNode, m.Method, m.ArgSignature) return true