From b44d732f9ecaa97261c2a636b44497f944a17d09 Mon Sep 17 00:00:00 2001 From: colm29 Date: Mon, 22 Mar 2021 21:22:52 +0000 Subject: [PATCH] Pass digest method when signing timestamp node --- src/zeep/wsse/signature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zeep/wsse/signature.py b/src/zeep/wsse/signature.py index 143ca0f5f..c4aec758e 100644 --- a/src/zeep/wsse/signature.py +++ b/src/zeep/wsse/signature.py @@ -244,7 +244,7 @@ def _signature_prepare(envelope, key, signature_method, digest_method): _sign_node(ctx, signature, envelope.find(QName(soap_env, "Body")), digest_method) timestamp = security.find(QName(ns.WSU, "Timestamp")) if timestamp != None: - _sign_node(ctx, signature, timestamp) + _sign_node(ctx, signature, timestamp, digest_method) ctx.sign(signature) # Place the X509 data inside a WSSE SecurityTokenReference within