logstash-filter-cipher 4.0.2 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d993068808d76530c423f9dd3d9ca8953c975d4c5db23516b8240ca116ecf365
4
- data.tar.gz: 2fded845fe2b19cbcd18c5cc04752d30a069410322f900d961982cc2dbced2d9
3
+ metadata.gz: 0c3eb41889ee584dce65767ef7518238af87608d317fadc3e2249de2a6fe56f4
4
+ data.tar.gz: 02c7507bcfb6fed841f921a90ff228525f048681d627d22155fb9ee48c8d9884
5
5
  SHA512:
6
- metadata.gz: 25a9558d86374002d5e28df0a02ab6fa620672ec5af0ee7727e65e906d723efef90cb8841594ef38d4d1a34206d01a82ea5dcb1d8e0e8411b0c024e2fc68c09b
7
- data.tar.gz: e8e4fe428cb66c9860da58c2ed3c8f9202fa808b2cf0680dc48ca5e680e360dfb545f5e50d12bb856b65ad8e35fb6b9e6ac7cdd5a82c73a65078cc2d7d3ac489
6
+ metadata.gz: fea22d9f560f3ed26ac7a5bc730203fb9d354a204fdbf1a74e264a03a5447c9a6ca1d7f0c1fc13989f1f430b75b769c2918ec4ad7591bb596e7c7599e3a2a9a1
7
+ data.tar.gz: 8c23ed370e522055bf8dcec7a630d2969130b67e69c1777355c6e4ff2d98a90f6d4de805f8fbd315a524d47858d0a94910142357d31d9a83fb3756a148309a9a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 4.0.3
2
+ - Fix: Debug statement doesn't use .value fetch key's value [#33](https://github.com/logstash-plugins/logstash-filter-cipher/pull/33)
3
+
1
4
  ## 4.0.2
2
5
  - [DOC] Fixes "Note" formatting for the Key setting [#30](https://github.com/logstash-plugins/logstash-filter-cipher/pull/30)
3
6
 
@@ -122,7 +122,7 @@ class LogStash::Filters::Cipher < LogStash::Filters::Base
122
122
  end
123
123
 
124
124
  if @key.value.length != @key_size
125
- @logger.debug("key length is " + @key.length.to_s + ", padding it to " + @key_size.to_s + " with '" + @key_pad.to_s + "'")
125
+ @logger.debug("key length is " + @key.value.length.to_s + ", padding it to " + @key_size.to_s + " with '" + @key_pad.to_s + "'")
126
126
  @key = @key.class.new(@key.value[0,@key_size].ljust(@key_size,@key_pad))
127
127
  end
128
128
  end # def register
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-cipher'
4
- s.version = '4.0.2'
4
+ s.version = '4.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Applies or removes a cipher to an event"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-cipher
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-11 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement