openssl_sign() - $private_key in signature shows array but no array in params description
Open
Nobody has claimed this yet.
bug
- Dominant language
- XML
- Stars
- 596
- Forks
- 890
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 55
Description
From manual page: https://php.net/function.openssl-sign
openssl_sign(
string $data,
string &$signature,
#[\SensitiveParameter] OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key,
string|int $algorithm = OPENSSL_ALGO_SHA1
): bool
but in description there is only
private_key
OpenSSLAsymmetricKey - a key, returned by openssl_get_privatekey()
string - a PEM formatted key
Contributor guide
No contributing guide indexed for this repository
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
Open the openssl_sign() manual page linked in the issue and locate its source in php/doc-en; compare the signature with the private_key parameter description. Document the array form alongside the existing key types, then verify the rendered description matches the signature.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100