apereo / apereo/phpCAS

Implement cas encrypted attributes decryption

Open
#180 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
PHP
Stars
798
Forks
419
PR merge metrics
No merged PRs in 30d

Description

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 :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CAS 4.1 attribute-release documentation linked in the issue, then locate phpCAS's attribute parsing and configuration entry points. Determine how a private key is supplied and how encrypted attributes are identified. Done means encrypted attributes can be decrypted through a documented, tested behavior without breaking existing attributes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.