Skip to content

Commit

Permalink
Pass digest method when signing timestamp node
Browse files Browse the repository at this point in the history
  • Loading branch information
colm29 authored and mvantellingen committed Aug 15, 2021
1 parent 221d923 commit b44d732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeep/wsse/signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b44d732

Please sign in to comment.