OpenSSL: Support rsa_padding_mode:pss for openssl_sign()
Open
Nobody has claimed this yet.
Extension: openssl
Feature
Status: Needs Triage
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Use case for JWT with OAuth client credentials. I don't think this is possible with the current version of the extension, but I may be wrong.
Example command line options
openssl req -new -x509 -newkey rsa:4096 -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:64 -keyout key.pem -out pub.pem -nodes -days 365
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the openssl_sign() implementation and its handling of signing options. Compare the requested rsa_padding_mode:pss and rsa_pss_saltlen:64 options with the command-line example, then verify that JWT/OAuth-style RSA-PSS signing works and existing signing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, php
- Domain
- cryptography, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100