Skip to content

[Sync-EN] Document the padding constants for openssl_sign() and openssl_verify() - #1786

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1613
Open

[Sync-EN] Document the padding constants for openssl_sign() and openssl_verify()#1786
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1613

Conversation

@lacatoire

@lacatoire lacatoire commented Aug 31, 2026

Copy link
Copy Markdown
Member

Syncs reference/openssl/functions/openssl-sign.xml and reference/openssl/functions/openssl-verify.xml with php/doc-en#5758.

The padding parameter said only "RSA PSS padding to use". It now names the accepted values: OPENSSL_PKCS1_PADDING, OPENSSL_PKCS1_PSS_PADDING or 0.

While aligning the structure, one more gap turned up: the private_key parameter of openssl_sign() was missing the #[\SensitiveParameter] attribute that the English synopsis carries. It is added here.

EN-Revision bumped to ddcd63907372580151daf69458d6a8268232b703 on both files.

Fixes: #1613

@lacatoire
lacatoire requested a review from a team as a code owner August 31, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Document padding constants for OpenSSL functions.

1 participant