Skip to content

Closed - #34

Closed
Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-deprecate-openssl-cipher
Closed

Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-deprecate-openssl-cipher

Conversation

@Hackwar

@Hackwar Hackwar commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

Cipher\OpenSSL takes one IV in its constructor and reuses it for every
message, so identical plaintexts produce identical ciphertexts and stream
modes reuse the key stream. It does not authenticate the ciphertext, cannot
use AEAD modes and uses the passphrase as the raw key. These flaws cannot be
fixed without changing the ciphertext format, so deprecate the class in
favour of Cipher\Crypto and trigger a deprecation when it is instantiated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Hackwar Hackwar closed this Nov 13, 2026
@Hackwar Hackwar changed the title [4.x] Deprecate the OpenSSL cipher Closed Nov 13, 2026
@Hackwar
Hackwar deleted the 4.x-deprecate-openssl-cipher branch November 13, 2026 12:49
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.

1 participant