logstash-plugins / logstash-input-tcp

Apache License 2.0
35 stars 75 forks source link

Fix: restore BC provider installation #181

Closed kares closed 3 years ago

kares commented 3 years ago

With the Ruby -> Java rewrite in https://github.com/logstash-plugins/logstash-input-tcp/pull/178 we avoided installing the BC provider at runtime. Unfortunately to be able to decrypt an openssl keys the BC class relies on the fact that the provider is available.

Otherwise reading the key-pair leads to a NoSuchAlgorithmException: PBKDF-OpenSSL SecretKeyFactory not available