Karol Bucek
Karol Bucek
e.g. `java.security.Security.setProperty("jdk.tls.disabledAlgorithms", "SSLv3, DHE")` ## --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25061010-use-security-setproperty-instead-of-system-setproperty?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136995&utm_medium=issues&utm_source=github).
... due BC not really supporting CFB-1 : http://www.bouncycastle.org/jira/browse/BJA-530 attempts to use such JCE `Cipher` instance will end as **java.lang.ArithmeticException: / by zero** ``` java.lang.ArithmeticException: / by zero at org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.getUpdateOutputSize(Unknown...
before https://github.com/logstash-plugins/logstash-codec-json/pull/37 there were 2 error handlers: ```ruby rescue LogStash::Json::ParserError => e @logger.info("JSON parse failure. Falling back to plain-text", :error => e, :data => json) yield LogStash::Event.new("message" => json, "tags"...
As a part of the effort to make plugins able to run in an ECS-Compatible manner by default in an upcoming release of Logstash, this plugin needs to either implement...
similar to how `java_import` works we should check whether the constant was already set and not set it again - this effectively avoids emitting a lot of *"already initialized constant"*...
this PR was initiated from looking into a 'weird' (JRuby work-around) commit: https://github.com/collectiveidea/delayed_job/commit/f37ca9e29cfd1811aefe7026134167dd10ee40b5 ... which seems like its already fixed with latest JRuby 9.1 (master also seems fine) [according to...
this is to support cases where e.g. a Java thread pool is running Ruby code. if the ruby code uses any fiber/thread local state e.g. `Thread.current[:foo] = :bar` than there...
e.g. ```java org.bouncycastle.jcajce.provider.asymmetric.util.ECUtil.getNamedCurveOid(" "); ``` is going to lead to a `java.lang.StringIndexOutOfBoundsException: String index out of range: 0` [due the assumption](https://github.com/bcgit/bc-java/blob/1.78.1/prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ECUtil.java#L325) that after a `' '` char there's still another...
seems that the [`fd` ends up `null`](https://github.com/jruby/jruby/blob/9.4.8.0/core/src/main/java/org/jruby/util/io/OpenFile.java#L2523) on occasions: ``` Exception in thread "Ruby-0-Thread-39: /home/runner/work/jruby-openssl/jruby-openssl/src/test/ruby/ssl/test_helper.rb:100" java.lang.AssertionError at org.jruby.util.io.OpenFile.channel(OpenFile.java:2523) at org.jruby.RubyIO.getChannel(RubyIO.java:432) at org.jruby.RubyThread.select(RubyThread.java:2105) at org.jruby.ext.socket.RubyTCPServer.accept(RubyTCPServer.java:153) at org.jruby.ext.socket.RubyTCPServer$INVOKER$i$0$0$accept.call(RubyTCPServer$INVOKER$i$0$0$accept.gen) at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:193) at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:346)...