Skip to content

Commit

Permalink
BREAKING CHANGE: metadata with the same configuration and certificate…
Browse files Browse the repository at this point in the history
…s of spid-saml-check
  • Loading branch information
peppelinux committed Mar 24, 2021
1 parent 3140cff commit 3e2362a
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 53 deletions.
55 changes: 27 additions & 28 deletions src/spid_sp_test/idp/private.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDOiWsrKkD3NOUq
ssF0tO8dbfcxdH1G2Pjtz6BTd1+3+S/eK+MEcme9PjJXktFxQDUXiVABKjmZvCTL
3ycT7wUK+/mz5cahiOijR0sSAK110h7e0SNH3zM9e+nfABBOY4rN6/C80X6lyrbl
aPVrJhJv4JxWOohXEzaYNBYt18qI2iClvgEl5MUfSUu34Xhk5ucGnM8kABXVWo5S
x86o4BmUm7VWj2BV2hfZUOR8fiw2TpYkbDnFhfeC8Qi5Sc0XhWJnRm1Yf7AF3037
hzRZurGNsJYqlBHD64c8cLIFPuQvaDSEPiqAYJe2nmbkCt31CR4N6XiWM44mzZKA
EpecwN5xAgMBAAECggEAQDbJcyo3+KQhfB0HuNloXqYJ7P5i1NwwyP98wXaj8/ct
ws2yT3eieVwVGtUy+RsVZrPyg+o07m9ooVpINBJkZv3grOYL071VVy6bUIWVaMRj
hLNRXM8whzU3iXXjm/um9E8fEhWwYqucIcd4RlAX+2DCOq0IJsp6duf63VXySom3
nj88uqOOWXw+p4kA9VVOR8x3LCS8TbQzBxQzHXlp/hBy86fHzLI4ajUWvewHCGg6
4P2djV05+WsdmTrPJ5e6u0mJxyTTC2u0QROhfIwvDW/cpDUlWRlPONkECVb/BtHA
tachBUY4F29l/KMiD2OsMF065pXWvi7Ifi1yIGv+gQKBgQD44BkGGv22EdQT0vvI
sZW+Ca4qKiU5I8LWUAOVbAOM9q9ToFD9ccN0/m5MIvRcEgt8H31D9Wrg1r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iHKbycQrEXXo3nUN03YKiTHuXzeqk/2n3mE56HMRVo/z3eWmF/Ogb8
uPTTCUM6Lw1KNr0ghakaBUor1+NnCeQdA331vVv29CZXWWDjpieWixSci24oBfoC
t+l5AoGAOE5Q4TjS3u0AxmgPXVDf18CXFweWntSGqNoNNWjOv7GFiu6GqvfLIxZn
0sUhVQfNb+xXlQFOdbFf8ix5WvX0dC0uLEhG8tnk1kRT5BTrkedfqF0TdTzxEDd0
a6V4yb6oiC4wGkDYcfyFtZ5DE8W+8cRvsxGiAgZaU3g55/CKqMk=
-----END RSA PRIVATE KEY-----
41 changes: 22 additions & 19 deletions src/spid_sp_test/idp/public.cert
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
-----BEGIN CERTIFICATE-----
MIIDazCCAlOgAwIBAgIUHp2NGE+RVT0mHSUGtf6i/JCoJ7AwDQYJKoZIhvcNAQEL
BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMTAyMjExNzQzMjhaFw0zMTAy
MTkxNzQzMjhaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQDOiWsrKkD3NOUqssF0tO8dbfcxdH1G2Pjtz6BTd1+3
+S/eK+MEcme9PjJXktFxQDUXiVABKjmZvCTL3ycT7wUK+/mz5cahiOijR0sSAK11
0h7e0SNH3zM9e+nfABBOY4rN6/C80X6lyrblaPVrJhJv4JxWOohXEzaYNBYt18qI
2iClvgEl5MUfSUu34Xhk5ucGnM8kABXVWo5Sx86o4BmUm7VWj2BV2hfZUOR8fiw2
TpYkbDnFhfeC8Qi5Sc0XhWJnRm1Yf7AF3037hzRZurGNsJYqlBHD64c8cLIFPuQv
aDSEPi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s1CFvirGOj0bkEiGaKEs+/umzGjxIhy5JQlqXE96y1+Izp2QhJimD
K0/KNij8I1bzxseP0Ygc4SFveKS+7QO+PrLzWklEWGMs4DM5Zc3VRK7g4LWPWZhK
dImC1rnS+/lEmHSvHisdVp/DJtbSrZwSYTRvTTz5IZDSq4kAzrDfpj16h7b3t3nF
Gc8UoY2Ro4tRZ3ahJ2r3b79yK6C5phY7CAANuW3gDdhVjiBNYs0CAwEAAaOByjCB
xzAdBgNVHQ4EFgQU3/7kV2tbdFtphbSA4LH7+w8SkcwwgZcGA1UdIwSBjzCBjIAU
3/7kV2tbdFtphbSA4LH7+w8SkcyhaaRnMGUxCzAJBgNVBAYTAklUMQ4wDAYDVQQI
EwVJdGFseTENMAsGA1UEBxMEUm9tZTENMAsGA1UEChMEQWdJRDESMBAGA1UECxMJ
QWdJRCBURVNUMRQwEgYDVQQDEwthZ2lkLmdvdi5pdIIJAOrYj9oLEJCwMAwGA1Ud
EwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJNFqXg/V3aimJKUmUaqmQEEoSc3
qvXFITvT5f5bKw9yk/NVhR6wndL+z/24h1OdRqs76blgH8k116qWNkkDtt0AlSjQ
Ox5qvFYh1UviOjNdRI4WkYONSw+vuavcx+fB6O5JDHNmMhMySKTnmRqTkyhjrch7
zaFIWUSV7hsBuxpqmrWDoLWdXbV3eFH3mINA5AoIY/m0bZtzZ7YNgiFWzxQgekpx
d0vcTseMnCcXnsAlctdir0FoCZztxMuZjlBjwLTtM6Ry3/48LMM8Z+lw7NMciKLL
TGQyU8XmKKSSOh0dGh5Lrlt5GxIIJkH81C0YimWebz8464QPL3RbLnTKg+c=
-----END CERTIFICATE-----
14 changes: 8 additions & 6 deletions src/spid_sp_test/idp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@


BASE_DIR = Path(__file__).resolve().parent
BASE = "http://localhost:54321"
BASE = "http://localhost:8080"

SAML2_IDP_CONFIG = {
"entityid": "http://localhost:54321",
"name": "Test IdP",
"entityid": BASE,
"name": "SPID Test IdP",
"service": {
"idp": {
"endpoints": {
"single_sign_on_service": [
(f"{BASE}/sso", BINDING_HTTP_POST),
(f"{BASE}/redirect", BINDING_HTTP_REDIRECT)],
(f"{BASE}/samlsso", BINDING_HTTP_POST),
(f"{BASE}/samlsso", BINDING_HTTP_REDIRECT)],
"single_logout_service": [
(f"{BASE}/slop", BINDING_HTTP_POST)]
(f"{BASE}/samlsso", BINDING_HTTP_POST),
(f"{BASE}/samlsso", BINDING_HTTP_REDIRECT)
]
},
},
},
Expand Down

0 comments on commit 3e2362a

Please sign in to comment.