Skip to content

Order of preference for Encryption Algorithm #310

@daserzw

Description

@daserzw

"SAML v2.0 Metadata Profile for Algorithm Support Version 1.0" specification states that if "multiple md:EncryptionMethod elements identifying algorithms of the same general type are present, they MUST be listed in order of preference by the entity". This is currently not permitted by Jagger, but what is worse is that the default listing is in the order of the least secure to the most one, which of course is not the order of preference.

A simple and quick fix would be to sort the current array from the most secure to the less one in:

application/helpers/metadata_elements_helper.php

Davide Vaghetti

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions