82f604bce2
NEWS from last pkgsrc version: 2.4.1 - Septembre 28th 2014 --------------------------- 56 commits, 35 files changed, 12590 insertions(+), 31117 deletions(-) - fix bug #4455 runtime bug in perl binding on debian wheezy 32bits # - fix warning on g_type_init() on GLib > 2.36 - lot of null pointer, boundary checks, and dead code removal after validation using Coverity and Clang static analyzer (Simo Sorce) - always set NotOnOrAfter on the Condition element - fix pkg-config typo (Simon Josefsson) - Python binding now conserve the order of session indexes values - fix memory leaks - Python bindings now automatically convert unicode values to UTF-8 2.4.0 - January 7th 2014 ------------------------ 281 commits, 933 files changed, 45384 insertions, 6313 deletions Minor version number increase since ABI was extended (new methods). - Key rollover support: Lasso is now able to accept messages signed by any key declared as a signing key in a metadata and not just the last one. You can also decrypt encrypted nodes using any of a list of private keys, allowing roll-over of encryption certificates. Signing key roll-over is automatic, your provider just have to provide the new signing key in their metadata. For multiple-encryption key you can load another private key than the one loaded in the LassoServer constuctor with code like that: >>> import lasso >>> server = lasso.Server(our_metadata, first_private_key_path) >>> server.setEncryptionPrivateKey(second_private_key_path) See the FAQ file for the workflow of a proper key roll-over. - Partial logout response now produces a specific error code when parsed by lasso_logout_process_response_msg() - Bugs in lasso_assertion_query_build_request_msg() were fixed - Processing of assertions is not stopped when checking that first level status code is not success, so that later code can check the second level status code. - A new generic error for denied request was added, LASSO_PROFILE_ERROR_REQUEST_DENIED - A new API lasso_server_load_metadata() was added to load federation files (XML files containing metadata from multiple providers) and to check signatures on them. - Better warning and errors are reported in logs when failing to load a metadata file. - Bugs around missing namespace declaration for dump file were fixed, it prevented reloading dumped object (like LassoLogin). - lasso_node_get_xml_node_for_any_type() must be able to copy the content of an XML node to another (namespace, attribute and children). It did not, now it is fixed. It can be used for example to add specific attribute like xsi:type="string" to a Saml2AttributeValue. Here is a python snippet to do that: >>> import lasso >>> a = lasso.Saml2AttributeValue() >>> a.setOriginalXmlnode('<Dummy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="string">Value</Dummy>') >>> print a.debug(0) <saml:AttributeValue xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="string">Value</saml:AttributeValue> - support for symetric keys signatures: for a long time XMLDsig standard has supported HMAC signature, or signature based on a shared secret key an hash algorithm. Lasso now supports to share a key with another Lasso using service or identity provider and to verify and sign SAML exchange using this key. Performance can be 100 times more than with assymetric cryptography, i.e. RSA. - nodes able to hold any XML attribyte (like saml:AttributeValue) contains a hashtable to for holding those attributes, those hashtable have a new syntax for attributes of another namespace than the current node namespace, inspired by the Python ElementTree library: {the_namespace}the_attribute_name ex: {http://www.w3.org/2001/XMLSchema-instance}type for the classic xsi:type attribute. - xmldsig:X509Data node now possess a binding as a Lasso object. You can use it combined with the new class LassoSaml2KeyInformationDataType to use the holder-of-key subject confirmation method. - The perfs benchmarking tools now allows to select a different metadata set (for example to test with different public key sizes). - Perl minimal version for the binding was downgraded to 5 - pseudo-XSchema validation: the new XML deserializer does more to enforce constraints of the schema defining SAML messages. It means Lasso is less forgiving with non-conform implementation of SAML. - thin-sessions mode: A new flag was added named thin-session, you can set it using lasso_set_flag("thin-sessions") or by setting the LASSO_FLAG environement variable to the string "thin-sessions". The effect of this flag is to remove complete storage of assertions in the LassoSession object, which was made mainly to support logout and the artifact binding for ID-FF 1.2. A new thinner structure is used for supporting logout, and ID-FF 1.2 can now use the same storage mechanism as the SAML 2 implementation for the artifact binding (i.e. using lasso_profile_get_artifact_message after artifact generation and lasso_profile_set_artifact_message before artifact retrieval). - better initialization and access to SessionIndex in logout requests: LassoSession now store all generated SessionIndex for a session using a small structure, using it the LassoLogout profile can now initialize LassoLogout message with all of them. It's not necessary to implement this functionnalitý in your service or identity provider anymore. - new LassoKey object: this new class was introduced to simplify management of keys when using shared key signature. But you can also use it to load assymetric keys. In the future it should gain API to do XML signature and encryptiong independently of any SAML 2.0 or ID-FF 1.2 exchange. Providing the first simple binding of libxmlsec to Python. - Improvements to autoconf and automake files to compile under Darwin (Mac Os X) and Fedora. - a FAQ file was started. - added API: LASSO_LOGOUT_ERROR_PARTIAL_LOGOUT LASSO_PROFILE_ERROR_ENDPOINT_INDEX_NOT_FOUND LASSO_PROFILE_ERROR_REQUEST_DENIED LASSO_PROVIDER_ROLE_ALL LASSO_SERVER_ERROR_NO_PROVIDER_LOADED LASSO_SERVER_LOAD_METADATA_FLAG_CHECK_ENTITIES_DESCRIPTOR_SIGNATURE LASSO_SERVER_LOAD_METADATA_FLAG_CHECK_ENTITY_DESCRIPTOR_SIGNATURE LASSO_SERVER_LOAD_METADATA_FLAG_DEFAULT LASSO_SERVER_LOAD_METADATA_FLAG_INHERIT_SIGNATURE LASSO_SIGNATURE_METHOD_HMAC_SHA1 LASSO_SIGNATURE_METHOD_NONE LASSO_XMLENC_ERROR_INVALID_ENCRYPTED_DATA LASSO_XMLENC_HREF LASSO_XMLENC_PREFIX struct LassoDsX509Data { LassoDsX509DataPrivate* private_data } struct LassoKey { LassoKeyPrivate* private_data } struct LassoSaml2KeyInfoConfirmationDataType { LassoSaml2KeyInfoConfirmationDataTypePrivate* private_data } LassoServerLoadMetadataFlag LassoDsX509Data* lasso_ds_key_value_get_x509_data ( LassoDsKeyValue* key_value ) None lasso_ds_key_value_set_x509_data ( LassoDsKeyValue* key_value, LassoDsX509Data* x509_data ) const char* lasso_ds_x509_data_get_certificate ( LassoDsX509Data* x509_data ) const char* lasso_ds_x509_data_get_crl ( LassoDsX509Data* x509_data ) const char* lasso_ds_x509_data_get_subject_name ( LassoDsX509Data* x509_data ) GType lasso_ds_x509_data_get_type ( ) LassoDsX509Data* lasso_ds_x509_data_new ( ) None lasso_ds_x509_data_set_certificate ( LassoDsX509Data* x509_data, const char* certificate ) None lasso_ds_x509_data_set_crl ( LassoDsX509Data* x509_data, const char* crl ) None lasso_ds_x509_data_set_subject_name ( LassoDsX509Data* x509_data, const char* subject_name ) GType lasso_key_get_type ( ) LassoKey* lasso_key_new_for_signature_from_base64_string ( char* base64_string, char* password, LassoSignatureMethod signature_method, char* certificate ) LassoKey* lasso_key_new_for_signature_from_file ( char* filename_or_buffer, char* password, LassoSignatureMethod signature_method, char* certificate ) char* lasso_key_query_sign ( LassoKey* key, const char* query ) lasso_error_t lasso_key_query_verify ( LassoKey* key, const char* query ) xmlNode* lasso_key_saml2_xml_sign ( LassoKey* key, const char* id, xmlNode* document ) lasso_error_t lasso_key_saml2_xml_verify ( LassoKey* key, char* id, xmlNode* document ) GList* lasso_lib_logout_request_get_session_indexes ( LassoLibLogoutRequest* lib_logout_request ) None lasso_lib_logout_request_set_session_indexes ( LassoLibLogoutRequest* lib_logout_request, GList* session_indexes ) lasso_error_t lasso_provider_add_key ( LassoProvider* provider, LassoKey* key, gboolean after ) lasso_error_t lasso_provider_set_server_signing_key ( LassoProvider* provider, LassoKey* key ) int lasso_provider_verify_signature ( LassoProvider* provider, const char* message, const char* id_attr_name, LassoMessageFormat format ) GList* lasso_saml2_key_info_confirmation_data_type_get_key_info ( LassoSaml2KeyInfoConfirmationDataType* kicdt ) GType lasso_saml2_key_info_confirmation_data_type_get_type ( ) LassoNode* lasso_saml2_key_info_confirmation_data_type_new ( ) None lasso_saml2_key_info_confirmation_data_type_set_key_info ( LassoSaml2KeyInfoConfirmationDataType* kicdt, GList* key_infos ) gboolean lasso_saml_name_identifier_equals ( LassoSamlNameIdentifier* a, LassoSamlNameIdentifier* b ) lasso_error_t lasso_server_add_provider2 ( LassoServer* server, LassoProvider* provider ) lasso_error_t lasso_server_load_metadata ( LassoServer* server, LassoProviderRole role, const gchar* federation_file, const gchar* trusted_roots, GList* blacklisted_entity_ids, GList** loaded_entity_ids, LassoServerLoadMetadataFlag flags ) GList* lasso_session_get_assertion_ids ( LassoSession* session, const gchar* providerID ) GList* lasso_session_get_name_ids ( LassoSession* session, const gchar* providerID ) GList* lasso_session_get_session_indexes ( LassoSession* session, const gchar* providerID, LassoNode* name_id )
164 lines
6.6 KiB
Text
164 lines
6.6 KiB
Text
@comment $NetBSD: PLIST,v 1.9 2015/04/01 14:05:02 manu Exp $
|
|
include/lasso/backward_comp.h
|
|
include/lasso/ctypes.h
|
|
include/lasso/debug.h
|
|
include/lasso/errors.h
|
|
include/lasso/export.h
|
|
include/lasso/id-ff/defederation.h
|
|
include/lasso/id-ff/federation.h
|
|
include/lasso/id-ff/identity.h
|
|
include/lasso/id-ff/lecp.h
|
|
include/lasso/id-ff/login.h
|
|
include/lasso/id-ff/logout.h
|
|
include/lasso/id-ff/name_identifier_mapping.h
|
|
include/lasso/id-ff/name_registration.h
|
|
include/lasso/id-ff/profile.h
|
|
include/lasso/id-ff/provider.h
|
|
include/lasso/id-ff/server.h
|
|
include/lasso/id-ff/session.h
|
|
include/lasso/key.h
|
|
include/lasso/keyprivate.h
|
|
include/lasso/lasso.h
|
|
include/lasso/lasso_config.h
|
|
include/lasso/logging.h
|
|
include/lasso/registry-private.h
|
|
include/lasso/registry.h
|
|
include/lasso/saml-2.0/assertion_query.h
|
|
include/lasso/saml-2.0/ecp.h
|
|
include/lasso/saml-2.0/name_id_management.h
|
|
include/lasso/saml-2.0/profile.h
|
|
include/lasso/saml-2.0/provider.h
|
|
include/lasso/saml-2.0/saml2_helper.h
|
|
include/lasso/utils.h
|
|
include/lasso/xml/dsig/ds_key_info.h
|
|
include/lasso/xml/dsig/ds_key_value.h
|
|
include/lasso/xml/dsig/ds_rsa_key_value.h
|
|
include/lasso/xml/dsig/ds_x509_data.h
|
|
include/lasso/xml/dsig/strings.h
|
|
include/lasso/xml/dsig/xml_dsig.h
|
|
include/lasso/xml/lib_assertion.h
|
|
include/lasso/xml/lib_authentication_statement.h
|
|
include/lasso/xml/lib_authn_context.h
|
|
include/lasso/xml/lib_authn_request.h
|
|
include/lasso/xml/lib_authn_request_envelope.h
|
|
include/lasso/xml/lib_authn_response.h
|
|
include/lasso/xml/lib_authn_response_envelope.h
|
|
include/lasso/xml/lib_federation_termination_notification.h
|
|
include/lasso/xml/lib_idp_entries.h
|
|
include/lasso/xml/lib_idp_entry.h
|
|
include/lasso/xml/lib_idp_list.h
|
|
include/lasso/xml/lib_logout_request.h
|
|
include/lasso/xml/lib_logout_response.h
|
|
include/lasso/xml/lib_name_identifier_mapping_request.h
|
|
include/lasso/xml/lib_name_identifier_mapping_response.h
|
|
include/lasso/xml/lib_register_name_identifier_request.h
|
|
include/lasso/xml/lib_register_name_identifier_response.h
|
|
include/lasso/xml/lib_request_authn_context.h
|
|
include/lasso/xml/lib_scoping.h
|
|
include/lasso/xml/lib_status_response.h
|
|
include/lasso/xml/lib_subject.h
|
|
include/lasso/xml/misc_text_node.h
|
|
include/lasso/xml/saml-2.0/saml2_action.h
|
|
include/lasso/xml/saml-2.0/saml2_advice.h
|
|
include/lasso/xml/saml-2.0/saml2_assertion.h
|
|
include/lasso/xml/saml-2.0/saml2_attribute.h
|
|
include/lasso/xml/saml-2.0/saml2_attribute_statement.h
|
|
include/lasso/xml/saml-2.0/saml2_attribute_value.h
|
|
include/lasso/xml/saml-2.0/saml2_audience_restriction.h
|
|
include/lasso/xml/saml-2.0/saml2_authn_context.h
|
|
include/lasso/xml/saml-2.0/saml2_authn_statement.h
|
|
include/lasso/xml/saml-2.0/saml2_authz_decision_statement.h
|
|
include/lasso/xml/saml-2.0/saml2_base_idabstract.h
|
|
include/lasso/xml/saml-2.0/saml2_condition_abstract.h
|
|
include/lasso/xml/saml-2.0/saml2_conditions.h
|
|
include/lasso/xml/saml-2.0/saml2_encrypted_element.h
|
|
include/lasso/xml/saml-2.0/saml2_evidence.h
|
|
include/lasso/xml/saml-2.0/saml2_key_info_confirmation_data.h
|
|
include/lasso/xml/saml-2.0/saml2_key_info_confirmation_data_type.h
|
|
include/lasso/xml/saml-2.0/saml2_name_id.h
|
|
include/lasso/xml/saml-2.0/saml2_one_time_use.h
|
|
include/lasso/xml/saml-2.0/saml2_proxy_restriction.h
|
|
include/lasso/xml/saml-2.0/saml2_statement_abstract.h
|
|
include/lasso/xml/saml-2.0/saml2_strings.h
|
|
include/lasso/xml/saml-2.0/saml2_subject.h
|
|
include/lasso/xml/saml-2.0/saml2_subject_confirmation.h
|
|
include/lasso/xml/saml-2.0/saml2_subject_confirmation_data.h
|
|
include/lasso/xml/saml-2.0/saml2_subject_locality.h
|
|
include/lasso/xml/saml-2.0/saml2_xsd.h
|
|
include/lasso/xml/saml-2.0/samlp2_artifact_resolve.h
|
|
include/lasso/xml/saml-2.0/samlp2_artifact_response.h
|
|
include/lasso/xml/saml-2.0/samlp2_assertion_id_request.h
|
|
include/lasso/xml/saml-2.0/samlp2_attribute_query.h
|
|
include/lasso/xml/saml-2.0/samlp2_authn_query.h
|
|
include/lasso/xml/saml-2.0/samlp2_authn_request.h
|
|
include/lasso/xml/saml-2.0/samlp2_authz_decision_query.h
|
|
include/lasso/xml/saml-2.0/samlp2_extensions.h
|
|
include/lasso/xml/saml-2.0/samlp2_idp_entry.h
|
|
include/lasso/xml/saml-2.0/samlp2_idp_list.h
|
|
include/lasso/xml/saml-2.0/samlp2_logout_request.h
|
|
include/lasso/xml/saml-2.0/samlp2_logout_response.h
|
|
include/lasso/xml/saml-2.0/samlp2_manage_name_id_request.h
|
|
include/lasso/xml/saml-2.0/samlp2_manage_name_id_response.h
|
|
include/lasso/xml/saml-2.0/samlp2_name_id_mapping_request.h
|
|
include/lasso/xml/saml-2.0/samlp2_name_id_mapping_response.h
|
|
include/lasso/xml/saml-2.0/samlp2_name_id_policy.h
|
|
include/lasso/xml/saml-2.0/samlp2_request_abstract.h
|
|
include/lasso/xml/saml-2.0/samlp2_requested_authn_context.h
|
|
include/lasso/xml/saml-2.0/samlp2_response.h
|
|
include/lasso/xml/saml-2.0/samlp2_scoping.h
|
|
include/lasso/xml/saml-2.0/samlp2_status.h
|
|
include/lasso/xml/saml-2.0/samlp2_status_code.h
|
|
include/lasso/xml/saml-2.0/samlp2_status_detail.h
|
|
include/lasso/xml/saml-2.0/samlp2_status_response.h
|
|
include/lasso/xml/saml-2.0/samlp2_subject_query_abstract.h
|
|
include/lasso/xml/saml-2.0/samlp2_terminate.h
|
|
include/lasso/xml/saml_advice.h
|
|
include/lasso/xml/saml_assertion.h
|
|
include/lasso/xml/saml_attribute.h
|
|
include/lasso/xml/saml_attribute_designator.h
|
|
include/lasso/xml/saml_attribute_statement.h
|
|
include/lasso/xml/saml_attribute_value.h
|
|
include/lasso/xml/saml_audience_restriction_condition.h
|
|
include/lasso/xml/saml_authentication_statement.h
|
|
include/lasso/xml/saml_authority_binding.h
|
|
include/lasso/xml/saml_condition_abstract.h
|
|
include/lasso/xml/saml_conditions.h
|
|
include/lasso/xml/saml_name_identifier.h
|
|
include/lasso/xml/saml_statement_abstract.h
|
|
include/lasso/xml/saml_subject.h
|
|
include/lasso/xml/saml_subject_confirmation.h
|
|
include/lasso/xml/saml_subject_locality.h
|
|
include/lasso/xml/saml_subject_statement.h
|
|
include/lasso/xml/saml_subject_statement_abstract.h
|
|
include/lasso/xml/samlp_request.h
|
|
include/lasso/xml/samlp_request_abstract.h
|
|
include/lasso/xml/samlp_response.h
|
|
include/lasso/xml/samlp_response_abstract.h
|
|
include/lasso/xml/samlp_status.h
|
|
include/lasso/xml/samlp_status_code.h
|
|
include/lasso/xml/soap-1.1/soap_body.h
|
|
include/lasso/xml/soap-1.1/soap_detail.h
|
|
include/lasso/xml/soap-1.1/soap_envelope.h
|
|
include/lasso/xml/soap-1.1/soap_fault.h
|
|
include/lasso/xml/soap-1.1/soap_header.h
|
|
include/lasso/xml/soap-1.1/xml_soap11.h
|
|
include/lasso/xml/strings.h
|
|
include/lasso/xml/tools.h
|
|
include/lasso/xml/xml.h
|
|
include/lasso/xml/xml_enc.h
|
|
lib/liblasso.la
|
|
lib/pkgconfig/lasso.pc
|
|
share/doc/lasso/book.rst
|
|
share/doc/lasso/common-knowledge.rst
|
|
share/doc/lasso/getting-lasso.rst
|
|
share/doc/lasso/integration.rst
|
|
share/doc/lasso/language-bindings.rst
|
|
share/doc/lasso/lasso-architecture.rst
|
|
share/doc/lasso/liberty-architecture.rst
|
|
share/doc/lasso/other-profiles.rst
|
|
share/doc/lasso/preface.rst
|
|
share/doc/lasso/single-sign-on.rst
|
|
share/doc/lasso/writing-a-c-sp.txt
|
|
share/doc/lasso/writing-a-java-sp.txt
|
|
share/doc/lasso/writing-a-php-sp.txt
|
|
share/doc/lasso/writing-a-saml2-php-sp.txt
|