Commit 20810ac
X509 trust handler (#387)
* fix: get date from cert itself
* feat: added utility
* fix: docstring
* fix: name conversion
* feat: initial implementation of X509Hanlder
* fix: added utility
* fix: vaious fix
* tests: adapted tests
* fix: exp retrieval
* fix: cert handling
* tests: added test for x509 handler
* fix: function parameter
* fix: get chains from configuration
* tests: adapted tests
* fix: fail if configuration is wrong
* feat: added utility
* fix: convert to pem list
* tests: added configuration failure tests
* chore: added x509 handler configuration
* tests: test x5c trust parameter
* chore: updated example documentation
* feat: utility
* fix: accept bot pem and der
* fix: check for an invalid CA name
* tests: added tests
* fix: ca leaf diversification
* fix: return cryptographic material in order of insert if valid
* fix: ca name
* tests: added test
* Update example/satosa/pyeudiw_backend.yaml
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update example/satosa/pyeudiw_backend.yaml
Co-authored-by: Giuseppe De Marco <[email protected]>
* fix: if chain is invalid remove it
* fix: remove chain if invalid
* fix: removed leaf check
* fix: added client id and client id scheme
* fix: default client_id_scheme value
* fix: san support
* fix: check for the client id in the tail of certificates
* fix: right order for x509 chain
* fix: order
* chore: removed unused
* Update example/satosa/pyeudiw_backend.yaml
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update example/satosa/pyeudiw_backend.yaml
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update example/satosa/pyeudiw_backend.yaml
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update pyeudiw/trust/handler/x509.py
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update pyeudiw/trust/handler/x509.py
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update pyeudiw/tests/x509/test_x509.py
Co-authored-by: Giuseppe De Marco <[email protected]>
* fix: tests
* Update pyeudiw/trust/handler/x509.py
Co-authored-by: Giuseppe De Marco <[email protected]>
* Update pyeudiw/trust/handler/x509.py
Co-authored-by: Giuseppe De Marco <[email protected]>
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Giuseppe De Marco <[email protected]>1 parent 239c50a commit 20810ac
File tree
9 files changed
+367
-115
lines changed- example/satosa
- pyeudiw
- tests
- satosa
- trust/handler
- x509
- trust/handler
- x509
9 files changed
+367
-115
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
231 | 236 | | |
232 | 237 | | |
233 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
849 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
850 | 855 | | |
851 | 856 | | |
852 | 857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
236 | 264 | | |
237 | 265 | | |
238 | 266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
0 commit comments