From 8198a0367816ae4604bea63ffde0b06799fc389c Mon Sep 17 00:00:00 2001 From: Giuseppe De Marco Date: Tue, 22 Nov 2022 11:31:48 +0100 Subject: [PATCH] fix: Metadata, certificates and Continuous integration - removed CIE id metadata --- .github/workflows/python-app.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 1dc8415a..8007ebe8 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -48,11 +48,14 @@ jobs: flake8 --count --select=E9,F63,F7,F82 --show-source --statistics example ## exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 --max-line-length 120 --count --exit-zero --statistics example - - name: run djangosaml2 sp + - name: run djangosaml2 SP run: | cd example_sp/djangosaml2_sp/ bash run.sh & sleep 5 + - name: djangosaml2 SP metadata to Proxy + run: | + wget http://localhost:8000/saml2/metadata -O example/metadata/sp/djangosaml2_sp.xml - name: run satosa-saml2spid run: | cd example @@ -61,19 +64,19 @@ jobs: export SATOSA_APP=`python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])'` uwsgi --wsgi-file $SATOSA_APP/satosa/wsgi.py --https 0.0.0.0:10000,./pki/cert.pem,./pki/privkey.pem --callable app -b 32768 & sleep 5 - - name: Metadata exchange + - name: Metadata proxy to djangosaml2 SP run: | wget --no-check-certificate https://localhost:10000/Saml2IDP/metadata -O example_sp/djangosaml2_sp/saml2_sp/saml2_config/satosa-saml2spid.xml - - name: spid-sp-test SPID metadata, requests and responses run: | cd example spid_sp_test --idp-metadata > metadata/idp/spid-sp-test.xml spid_sp_test --metadata-url https://localhost:10000/spidSaml2/metadata --authn-url "http://localhost:8000/saml2/login/?idp=https://localhost:10000/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https%253A%252F%252Flocalhost%253A8080" -ap spid_sp_test.plugins.authn_request.SatosaSaml2Spid --extra --debug ERROR -tr - - name: spid-sp-test CIE id metadata - run: | - cd example - spid_sp_test --profile cie-sp-public --metadata-url https://localhost:10000/cieSaml2/metadata + # TODO - PR WiP for CIE id integration + # - name: spid-sp-test CIE id metadata + # run: | + # cd example + # spid_sp_test --profile cie-sp-public --metadata-url https://localhost:10000/cieSaml2/metadata - name: spid-sp-test eIDAS FiCEP metadata run: | cd example