Mastercard / oauth1-signer-ruby

Zero dependency library for generating a Mastercard API compliant OAuth signature.
https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/
MIT License
5 stars 0 forks source link

Minor updates for timestamp, nonce and digest functions, namespace changes #21

Closed amasses closed 1 year ago

amasses commented 1 year ago

PR checklist

Link to issue/feature request

Description

All items below fix #20

danny-gallagher commented 1 year ago

Hi @amasses,

Thanks for creating these PRs, however from the file diff we cannot see the changes you've mentioned in the description. Can you have a look?

amasses commented 1 year ago

Hi @danny-gallagher

In commit 89d7a4e it is pretty clear - I've highlighted the changes in the following screenshot:

oauth1-si… 2023-09-06 09-39-29
danny-gallagher commented 1 year ago

Hi @danny-gallagher

In commit 89d7a4e it is pretty clear - I've highlighted the changes in the following screenshot:

oauth1-si… 2023-09-06 09-39-29

If I look at the branch of your fork you're trying to merge in, I don't see any of the changes you've mentioned above. For example, I don't see the new "securerandom" import here.

https://github.com/amasses/oauth1-signer-ruby/blob/minor-fixes/lib/mastercard/oauth.rb

amasses commented 1 year ago

If I look at the branch of your fork you're trying to merge in, I don't see any of the changes you've mentioned above. For example, I don't see the new "securerandom" import here.

https://github.com/amasses/oauth1-signer-ruby/blob/minor-fixes/lib/mastercard/oauth.rb

@danny-gallagher sorry I am not sure what went on there - the commit somehow disappeared (despite that screenshot being taken from the PR... Github weirdness).

I have re-committed the changes, so hopefully you can see them now.