Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sorah
Created October 5, 2018 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sorah/e64da182fa0aa690ce5dc35ab4ae1376 to your computer and use it in GitHub Desktop.
Save sorah/e64da182fa0aa690ce5dc35ab4ae1376 to your computer and use it in GitHub Desktop.
p client_data_json.unpack1('m*')
#=> "{\"challenge\":\"11CzaFXezx7YszNaYE3pag\",\"new_keys_may_be_added_here\":\"do not compare clientDataJSON against a template. See https://goo.gl/yabPex\",\"origin\":\"https://localhost:13010\",\"type\":\"webauthn.create\"}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment