Skip to content

Instantly share code, notes, and snippets.

@rgmccaw
rgmccaw / jwtdecode
Created April 12, 2019 12:31
Quickly decode JWTs on the command line. Does not check signature. DO NOT use in production. Created for debbugging purposes.
#!/bin/bash
function usage
{
cat <<EOH
usage:
<command which outputs JWT> | ${0##*/}
example: echo -n "<jwt>" | ${0##*/}
If you have the JWT on your pasteboard you can just call: ${0##*/}
@rgmccaw
rgmccaw / keybase.md
Last active April 20, 2016 20:53
Keybase proof

Keybase proof

I hereby claim:

  • I am rgmccaw on github.
  • I am rgmccaw (https://keybase.io/rgmccaw) on keybase.
  • I have a public key whose fingerprint is 617E 8CE8 BA12 31BD 187D 7A05 742F 0D65 D4C4 5641

To claim this, I am signing this object: