-
Notifications
You must be signed in to change notification settings - Fork 423
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
Support for consuming assertions encrypted using GCM #671
Comments
pysaml2 uses
I am not sure we need something more than the support in the backends; that seems to be there already. We should definitely make a test and check. |
I did a quick test in one of our test deployments and it seems to work. We got an encrypted assertion with The machine I tested has the following gcm ciphers available
So as @c00kiemon5ter if there's support for GCM by openssl (and therefore by xmlsec) everything will work as usual |
So, this just works. That is both good and bad. Part of this experiment shows that we do not actually check if actually want to support the incoming algo and whether we want to accept such a response. We should wrap all of this and actually be able to define which algos we support and use. As we have discussed elsewhere that "support algo list" should actually be a blacklist; ie we should define which algos we do not support. This will allows to automatically support new algo additions in the underlying backends. I am closing this but we should give more attention to #597 #628 #645 in the above context. |
The Shibboleth IdP v4 will set the default encryption to be GCM instead of CBC. See
https://wiki.shibboleth.net/confluence/display/IDP4/GCMEncryption
pysaml2 needs to support GCM so that SAML SPs built using pysaml2 can consume and decrypt assertions sent by the Shib IdP v4 that are encrypted using GCM.
The text was updated successfully, but these errors were encountered: