We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need to store keys in a database, not as files on disk.
The sample provided by netopia allows passing keys both as Buffers and filenames: https://github.com/mobilpay/Node.js/blob/b92ad2fac6b3b522959db2f08cf57371fc87c86f/encrypt.js#L17 https://nodejs.org/api/crypto.html#crypto_crypto_publicencrypt_key_buffer
Would you please allow the same in MobilPay() library? eg
const mobilPay = new MobilPay({ signature: '', sandbox: true, publicKey: 'filename or buffer', privateKey: 'filename or buffer', });
Thanks!
The text was updated successfully, but these errors were encountered:
@mariusa sure, but currently I don't have the bandwidth to implement the change. I would be happy to review a PR with the changes and merge them.
Sorry, something went wrong.
No branches or pull requests
We need to store keys in a database, not as files on disk.
The sample provided by netopia allows passing keys both as Buffers and filenames:
https://github.com/mobilpay/Node.js/blob/b92ad2fac6b3b522959db2f08cf57371fc87c86f/encrypt.js#L17
https://nodejs.org/api/crypto.html#crypto_crypto_publicencrypt_key_buffer
Would you please allow the same in MobilPay() library? eg
Thanks!
The text was updated successfully, but these errors were encountered: