Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed action #60

Merged
merged 3 commits into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
Expand Down Expand Up @@ -65,3 +66,5 @@ jobs:
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
spid_sp_test --profile cie-sp-public --metadata-url https://localhost:10000/cieSaml2/metadata
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consiglio di non appendere i tests ma di creare sezioni con identificativi separati, tipo

    - name: spid-sp-test CIE id
      run: |
        cd example
        spid_sp_test --profile cie-sp-public --metadata-url https://localhost:10000/cieSaml2/metadata

spid_sp_test --profile ficep-eidas-sp --metadata-url https://localhost:10000/spidSaml2/metadata
44 changes: 22 additions & 22 deletions example/pki/cert.pem
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
-----BEGIN CERTIFICATE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kx
C+PFYxzhsOntp+7r5UHrvN0WMjJEehjVNaUcowLDsTMIQGO0VIUF3jTOPikUtpRR
4V5MluDS0dysmEYyOgUvt1hYC5LkoJ2v1tBH7AxzwkFpVtvTVNtFdotO1ZDMAlpD
HA3d0LuGiM4JMfH87DkTCh+Mb4RNaeBfXDo+YCG7ueslLmjCzcjKjAr2QGdhfLnE
dx/Ozn8CnMLOj+2PQ4rrfZ2ijzvv7dUNnbOs36DTrxbNys0BEQu0MhAoMzX6xAec
Dzd+FNnc+/+TK/xQ2pDZjxTYdwitJF0szdErUt11NzK85QNBL0JjCDWH
-----END CERTIFICATE-----
74 changes: 37 additions & 37 deletions example/pki/privkey.pem
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
-----BEGIN RSA PRIVATE KEY-----
MIIG5AIBAAKCAYEAs0HaUEtNy1mVHqWWTQtHYeT9i34tzdc7ZMheNqjqBH7zehnv
faMEEXwEnaVvqkXT+ZT2cpF89pv97rJ6ZLPV12nTiU84zySd1MhaFcXuYW02oLHl
mwnxdAhBEohs3Im+GGBazhw4kBHtlPDYZibmpv2DhtAw4FgoIH/oGnKQT1l7zDNo
L/mZIwWrD2soBM/MwavmyJurT3dQz5KdU3PgjjWXoGqR2WAki914IvmGDcaXce3B
+F54lyhy9uI6FmkMsWI3YXQ4F+RB29WDzmx00z8RMI3VZTC4XgfTstvZDlb79s3r
PyshK9OysM8ZpVa1/56ZSqZjajeggAQCKPPrr4aVlLbWe21dKV+9hbwFOjL/Fz9d
7WzuwZtcGbdXFlB0MNRNLabF8HZgVo8av4+R7T2YkSxGbjLYF0V+WVCj+2ctp6L4
KKwruQJa7rTwxBIePOOsM0r0GmNNZxWaKcLM2ZjVWj2UwoZ6ibUpHH+vejUxkKFZ
1lUXpn2N6RquZvMjAgMBAAECggGANlI6aiKnzHu1KLhdN7O3Sf8uplryXnJe2Ueu
5TmC0SH3foTlglkoHnRKoctEb4EBn5x4ondcOw9CgFctp96nasPzCqUrPfqGqbid
NAP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