This repository was archived by the owner on May 29, 2025. It is now read-only.

Description
I have this piece of code to initialize my client prevouilsy associated to my bitpay account
path = File.join(Rails.root, 'config', 'bitpaykey.pem')
pem = File.read(path)
client = BitPay::SDK::Client.new(api_uri: 'https://test.bitpay.com', pem: pem, insecure: true, debug: true)
But when I try to create an invoice, I get this error:
OpenSSL::PKey::ECError: invalid curve name
I'm using this sdk version
gem 'bitpay-sdk', :git => 'git://github.com/bitpay/ruby-client.git'
Rails 5.1.0
Ruby 2.4