Closed amasses closed 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?
Hi @danny-gallagher
In commit 89d7a4e it is pretty clear - I've highlighted the changes in the following screenshot:
Hi @danny-gallagher
In commit 89d7a4e it is pretty clear - I've highlighted the changes in the following screenshot:
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
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.
PR checklist
master
branchLink to issue/feature request
Description
All items below fix #20
getutc
on Time object. Unix timestamps are based on UTC so this is unnecessaryget_nonce
with SecureRandom calls. The previous code was deterministic and provided no guarantees of randomness