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

AssertionConsumerServiceURL required when using --html-path #68

Closed
mauromol opened this issue Jul 27, 2021 · 1 comment
Closed

AssertionConsumerServiceURL required when using --html-path #68

mauromol opened this issue Jul 27, 2021 · 1 comment

Comments

@mauromol
Copy link
Contributor

When adding the --html-path command line argument to produce the HTML dumps of the captured landing pages, spid_sp_test crashes if the AuthnRequest does not use the pair AssertionConsumerServiceURL+ProtocolBinding, but rather AssertionConsumerServiceIndex, which however is the option "recommended" by the SPID specification.

Here is the exception:

Traceback (most recent call last): 
 File "/home/mauro/workspace/python-env/spid_sp_test/bin/spid_sp_test", line 7, in <module> 
   exec(compile(f.read(), __file__, 'exec')) 
 File "/home/mauro/git/spid-sp-test/src/spid_sp_test/spid_sp_test", line 323, in <module> 
   selective_run(response_check, profile, args.list) 
 File "/home/mauro/git/spid-sp-test/src/spid_sp_test/spid_sp_test", line 31, in selective_run 
   method() 
 File "/home/mauro/git/spid-sp-test/src/spid_sp_test/../spid_sp_test/response.py", line 359, in test_profile_spid_sp 
   self.dump_html_response( 
 File "/home/mauro/git/spid-sp-test/src/spid_sp_test/../spid_sp_test/response.py", line 295, in dump_html_response 
   url = self.authnreq_attrs["AssertionConsumerServiceURL"] 
 File "src/lxml/etree.pyx", line 2479, in lxml.etree._Attrib.__getitem__ 
KeyError: 'AssertionConsumerServiceURL'
@peppelinux peppelinux mentioned this issue Jul 28, 2021
@peppelinux
Copy link
Member

Done here
c0bd400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants