Skip to content

Commit d03a1b7

Browse files
author
Roland Hedberg
committed
Need node_name definition
1 parent 48c5c28 commit d03a1b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/saml2/mdstore.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ def __init__(self, onts, attrc, filename):
349349
def load(self):
350350
_txt = open(self.filename).read()
351351
if self.cert:
352+
node_name = "%s:%s" % (md.EntitiesDescriptor.c_namespace,
353+
md.EntitiesDescriptor.c_tag)
354+
352355
if self.security.verify_signature(_txt,
353356
node_name=node_name,
354357
cert_file=self.cert):

0 commit comments

Comments
 (0)