We're updating the issue view to help you get more done. 

fingerprint filter fails on Windows for SHA & MD5

Description

Using this filter causes an exception to be thrown for SHA* and MD5 (MURMUR3 worked)

1 2 3 4 fingerprint { source => "message" method => "SHA256" }

The error is:

1 2 3 4 5 6 7 8 9 10 11 NotImplementedError: (TypeError) can't convert nil into String hexdigest at org/jruby/ext/openssl/HMAC.java:99 anonymize_openssl at J:/ELK/logstash/lib/logstash/filters/fingerprint.rb:93 filter at J:/ELK/logstash/lib/logstash/filters/fingerprint.rb:76 each at org/jruby/RubyArray.java:1613 filter at J:/ELK/logstash/lib/logstash/filters/fingerprint.rb:71 initialize at (eval):87 call at org/jruby/RubyProc.java:271 filter at J:/ELK/logstash/lib/logstash/pipeline.rb:262 filterworker at J:/ELK/logstash/lib/logstash/pipeline.rb:203 start_filters at J:/ELK/logstash/lib/logstash/pipeline.rb:143

Environment

None

Status

Assignee

Logstash Developers

Reporter

Brady Vidovic

Affects versions

1.4.0
1.4.1 (bugfix only)

Priority