Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 745 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 745 Bytes

HMAC Signature Calculation

This code snipping will calculate an HMAC signature for you. Use it to troubleshoot other HMAC calculations.

Steps

Use Ngrok (localhost:4040) to:

  1. Grab the JSON object from the Summary tab.
  2. From the Headers tab
    1. Grab the X-Authy-Signature
    2. Grab the X-Authy-Signature-Nonce
  3. Edit the hmac.js variables
  4. Run node hmac.js
  5. Output will tell you if sigs match or not.

OneTouch Headers

Get the JSON object from here.

Authy

OneTouch Summary

Get the nonce and signature from here.

Authy