Skip to content

Conversation

iluuu1994
Copy link
Member

Fixes GH-9026

@bukka
Copy link
Member

bukka commented Aug 11, 2022

Not a probably good idea at this stage - see my response in the issue.

@iluuu1994
Copy link
Member Author

Thanks for your feedback @bukka! So maybe the better approach is to provide a function to receive the expected passphrase length for a given cipher. I can look into that instead.

@iluuu1994 iluuu1994 closed this Aug 11, 2022
@bukka
Copy link
Member

bukka commented Aug 18, 2022

@iluuu1994 FYI I have created a PR for openssl_cipher_key_length: #9368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

do not silently truncate the key in openssl_encrypt()
2 participants