Comment 5 for bug 931672

Revision history for this message
Lorenzo Gil Sanchez (lgs) wrote : Re: [Bug 931672] Re: Bug on metadata.py?

I'll try to reproduce this bug with the information you just supplied.

2012/2/14 MaLa <email address hidden>:
> Here you are:
>
> SAML_CONFIG = {
>
>    'xmlsec_binary': '/usr/bin/xmlsec1',
>
>
>    'entityid': PEER_BASE_URL + '/saml2/metadata/',
>
>    'attribute_map_dir': '/var/peer/attribute-maps',
>
>
>    'service': {
>
>        'sp' : {
>            'name': 'PEER SP',
>            'endpoints': {
>
>                'assertion_consumer_service': [
>                    (PEER_BASE_URL + '/saml2/acs/', saml2.BINDING_HTTP_POST),
>                  ],
>
>                'single_logout_service': [
>                    (PEER_BASE_URL + '/saml2/ls/', saml2.BINDING_HTTP_REDIRECT),
>                ],
>                },
>
>            'required_attributes': ['mail'],
>
>            'optional_attributes': ['givenName', 'sn'],
>
>            },
>        },
>
>    'metadata': {
>        'local': ['/var/peer/idp_md/idp_metadata.xml'],
>        },
>
>    'debug': 1,
>
>     'key_file':'/var/peer/certs/key.pem',
>     'cert_file':'/var/peer/certs/cert.pem',
>
>    'contact_person': [
>        {'given_name': 'Lorenzo',
>         'sur_name': 'Gil',
>         'company': 'Yaco Sistemas',
>         'email_address': '<email address hidden>',
>         'contact_type': 'technical'},
>        {'given_name': 'Marco',
>         'sur_name': 'Malavolti',
>         'company': 'IDEM GARR',
>         'email_address': '<email address hidden>',
>         'contact_type': 'administrative'},
>        ],
>
>    'organization': {
>        'name': [('Idem Garr', 'it'), ('Idem Garr', 'en')],
>        'display_name': [('IDEM', 'it'), ('IDEM', 'en')],
>        'url': [('https://www.idem.garr.it/it', 'it'), ('https://www.idem.garr.it/en', 'en')],
>        },
>
>    'valid_for': 24,
>    }
>
> --
> You received this bug notification because you are a member of pysaml2
> developers, which is subscribed to pySAML2.
> https://bugs.launchpad.net/bugs/931672
>
> Title:
>  Bug on metadata.py?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pysaml2/+bug/931672/+subscriptions