bitcoin-ruby icon indicating copy to clipboard operation
bitcoin-ruby copied to clipboard

openssl 3.0 support

Open sbounmy opened this issue 1 year ago • 5 comments

  • [x] passing specs so far

    • rspec spec/unit/bitcoin/bitcoin_spec.rb
    • spec/unit/bitcoin/pkey_ec_spec.rb
    • spec/unit/bitcoin/key_spec.rb
    • spec/unit/bitcoin/builder_spec.rb
    • spec/unit/bitcoin/ext_key_spec.rb
    • spec/unit/bitcoin/network_spec.rb
    • spec/unit/bitcoin/bech32_spec.rb
    • spec/unit/bitcoin/bloom_filter_spec.rb
  • [x] added devcontainer for vscode users

  • [x] support ruby version to 3.2

sbounmy avatar Nov 22 '24 16:11 sbounmy

How Bitcoin::Key.from_base58 works now?

I need to decode my wif. I have got the error "SSL 3.0 is not supported private_key=" (smth like that) I dont't need to generate key, i already have it.

alexander-storozhenko avatar Apr 09 '25 10:04 alexander-storozhenko

@alexander-storozhenko yes I've made a separate class for this.

here is how it works, you can see the spec

https://github.com/lian/bitcoin-ruby/pull/325/files#diff-30568ee39288cffcfaed8aff00fa2e2b3912c7b06f2e687286a62c7ececc30bbR32-R42

sbounmy avatar Apr 09 '25 14:04 sbounmy

hi @sbounmy, when you run tests in your system, does you encounter some failed tests due to segmentation fault on linux?

I got some segmentation fault at this line

here is the log log.txt

tiendo1011 avatar Aug 15 '25 10:08 tiendo1011

@tiendo1011 I am able to run rake rspec without segfault but I'm on macos Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:30 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6020 arm64

sbounmy avatar Aug 15 '25 10:08 sbounmy

@sbounmy, yeah on my mac the tests passed, too. Can you take a look at the log I sent above and see how should we fix it?

tiendo1011 avatar Aug 16 '25 07:08 tiendo1011