logstash-plugins/logstash-filter-cipher

Any plan to merge outstanding existing pull request before starting yet another project?

bitsofinfo opened this issue · 10 comments

Here is one I submitted last summer which has still to be evaluated/merged.

elastic/logstash-contrib#79

jsvd commented

hey @bitsofinfo, sorry that this pr has been neglected for so long..would you mind applying it to this repo and assigning it to me? I'll do a review asap so that we can set it up for merging.

@jsvd is that necessary? According to Jordon's comment @ elastic/logstash-contrib#79 it sounds like it could just be merged from the old contrib project. I was looking at the code diffs last night and its looks like this new logstash-filter-cipher code is a straight copy from the contrib project.

jsvd commented

Indeed it can, I was just going to suggest first some minor cleanups regarding spacing in that PR, since it seems to have tabs in there, that misalign all the code (examples here, here and here).

Also having just if @iv_random_length instead of if !@iv_random_length.nil? is, for most cases, equivalent and would simplify the code a lot since there are many checks like this in the code.

That aside, the PR looks good and we're good to merge.

jsvd commented

I'll move the PR here so we can iterate on it.

Please do, then I'll fork it again and fix whatever is required. Thanks

thanks, I'll hopefully be able to get to this, this week

This pull request now incorporates all the changes #3

I'm also waiting on this pull request. A static IV is a big no-no for encryption.

All relevant stuff is in referenced PRs above