Closed phuongnd08 closed 9 years ago
Hello. You should to use 'base64' utitity from original wmsigner tool: https://github.com/eagleas/wmsigner More information about wmsigner here: http://wiki.wmtransfer.com/projects/webmoney/wiki/WMSigner
I notice you changed the params of Webmoney#initialize a bit. I'm using it like this:
@wm = MyWM.new(
:wmid => 'MyId',
:password => 'mypassword',
:key => "/path/to/my.kwm"
)
but getting
OpenSSL::PKey::RSAError:
Neither PUB key nor PRIV key: nested asn1 error
:key => "/path/to/my.kwm" It's incorrect.
From the kwm file, how do I get the key value to use with this:
Thanks for help (I use Key Extractor but it gives me 2 value: Modulus and D)