Encryption key can only be string

Open
#332 1 comment 0 reactions 1 assignee View on GitHub

@cicnavi is already working on this.

Since Mar 7, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement prepared

As per https://oauth2.thephpleague.com/installation/, we should take advantage of \Defuse\Crypto\Key instance as encryption key, instead of string password only, which uses key stretching to the password to reduce vulnerability to brute force attacks. This should bring performance improvements.

Dominant language
PHP
Stars
51
Forks
27
Avg merge
12m
Merged PRs (30d)
1

Getting set up

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.

More from simplesamlphp/simplesamlphp-module-oidc

All issues in simplesamlphp/simplesamlphp-module-oidc

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.