Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds caveat to allow_empty_value option usage #347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wetoolaguer
Copy link

Using allow_empty_value option with the default Encryptor does not work. It throws:

ArgumentError: data must not be empty

Please see:
https://github.com/ruby/openssl/blob/18ec883d6daaedbf32c66ca4ae6e41b66d0eeca4/ext/openssl/ossl_cipher.c#L389

@parterburn
Copy link

@wetoolaguer did you find a workaround for this? This exact error triggered for us on a 3.0.3 -> 3.1.0 upgrade.

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.

None yet

2 participants