-
Notifications
You must be signed in to change notification settings - Fork 75
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
Extract iv from ciphertext #941
Comments
Hi @vaboston ! Can you provide an example of the VRL code you would like to write but can't currently? I think that'll help me understand the request better. |
Hi, i can decrypt my cipher text, but i need to use slice with bytes manipulation on a raw data, it's not very intuitive. Before i used logstash and there was a dedicated field for the size of the IV, it seemed more logical to me that the extraction operation was done in the code. My code in vector :
It's more an improvement proposal than en issue. |
Thanks @vaboston . I appreciate you sharing the code you currently have. Could you share the code you want to write? That is, what would your example look like, ideally? |
Ideally, something like :
or in a env var or somtehing like that. I don't know the vector configuration well enough to propose something consistent with the rest of the configuration. |
Thanks! I think I see. It would need to be a parameter to the Let me move this to the VRL repository. |
Hi ! Nice idea @vaboston ! Experiencing same problem. |
Based on what the following Logstash plugin does:
https://github.com/logstash-plugins/logstash-filter-cipher/blob/main/lib/logstash/filters/cipher.rb#L179
Would it be possible to add an option to specify the IV size, and do the extraction in the code? Currently, I am extracting via slices, but it would be much more convenient to have a dedicated option.
Thanks !
The text was updated successfully, but these errors were encountered: