Giter Site home page Giter Site logo

adyen-cse-ruby's Introduction

adyen-cse-ruby's People

Contributors

jooeycheng avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adyen-cse-ruby's Issues

NoMethodError: undefined method `e=' for #<OpenSSL::PKey::RSA:0x.....>

The NoMethodError is triggered from
https://github.com/jooeycheng/adyen-cse-ruby/blob/v1.0.0/lib/adyen_cse/encrypter.rb#L49
https://github.com/jooeycheng/adyen-cse-ruby/blob/master/lib/adyen_cse/encrypter.rb#L49

as in MRI 2.4.3 the OpenSSL::PKey::RSA class changed; you are suppose to call #set_keys.
https://ruby-doc.org/stdlib-2.4.3/libdoc/openssl/rdoc/OpenSSL/PKey/RSA.html#method-i-set_key

Please check the following commit in the fork of @vbanthia, maybe he could make a PR (instead of publishing the gem himself with v2.0.0).
vbanthia-zz@898d275

Ruby Version: ruby 2.4.4p296 (2018-03-28 revision 63013)

OpenSSL::CCMError: unsupported cipher algorithm (AES)

Happening on certain environments (CircleCI), still unsure of root cause:

OpenSSL::CCMError:
  unsupported cipher algorithm (AES)
./vendor/bundle/ruby/2.5.0/gems/openssl-ccm-1.2.1/lib/openssl/ccm.rb:42:in `initialize'
./vendor/bundle/ruby/2.5.0/gems/adyen-cse-ruby-1.1.0/lib/adyen_cse/encrypter.rb:34:in `new'
./vendor/bundle/ruby/2.5.0/gems/adyen-cse-ruby-1.1.0/lib/adyen_cse/encrypter.rb:34:in `encrypt!'

Refer to SmallLars/openssl-ccm#4 for issue explanation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.