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

Implement cas encrypted attributes decryption #180

Open
dgeo opened this issue Nov 28, 2015 · 4 comments
Open

Implement cas encrypted attributes decryption #180

dgeo opened this issue Nov 28, 2015 · 4 comments

Comments

@dgeo
Copy link

dgeo commented Nov 28, 2015

I'd love phpCAS to be able to decrypt attributes from CAS server > 4.1, http://jasig.github.io/cas/4.1.x/integration/Attribute-Release.html#encrypting-attributes
It would mean (as well as I understand):

  • using some private key stored somewhere
  • dunno how to detect which attributes are to be decrypted (specify list with private key ?)
  • expose a function to decrypt attribute, or transparently decode them

Unfortunately, I miss time and skills to propose a useable patch here, it's just a whish for now :)

@gboddin
Copy link
Contributor

gboddin commented Jan 26, 2017

I don't know if it helps but there's a setCasAttributeParserCallback which you can pass your parser/decrypt class to (in master branch).

See 9376b31

@dgeo
Copy link
Author

dgeo commented Jul 15, 2017

I'd think that this is to be included in cas protocol, it'd have been nice to have the cas library take care of it :)

Anyway, thank you for the pointer, I'll keep in mind for the next time I need this.

@jfritschi
Copy link
Contributor

We are happy to receive a pull request ;-)

@dgeo
Copy link
Author

dgeo commented Jul 15, 2017

When (if) I have to use it :)

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

No branches or pull requests

3 participants