Skip to content

Commit

Permalink
rule for xmlsec1 and warning added
Browse files Browse the repository at this point in the history
  • Loading branch information
ReimarBauer committed Feb 19, 2024
1 parent 6df4172 commit 7d8400e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion localbuild/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ requirements:
- python-slugify
- flask-login
- pysaml2
- libxmlsec1
- libxmlsec1 # [not win]

test:
imports:
Expand Down
4 changes: 4 additions & 0 deletions mslib/msidp/idp_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

# Parts of the code

import logging

import os.path

from saml2 import BINDING_HTTP_ARTIFACT
Expand All @@ -38,6 +40,8 @@
from saml2.saml import NAMEID_FORMAT_TRANSIENT

XMLSEC_PATH = os.path.join(os.environ["CONDA_PREFIX"], "bin", "xmlsec1")
if not os.path.exists(XMLSEC_PATH):
logging.warning("%s not found", XMLSEC_PATH)

# CRTs and metadata files can be generated through the mscolab server.
# if configured that way CRTs DIRs should be same in both IDP and mscolab server.
Expand Down

0 comments on commit 7d8400e

Please sign in to comment.