Skip to content

Instantly share code, notes, and snippets.

@cxjava
Forked from ygotthilf/jwtRS256.sh
Created June 22, 2021 06:06

Revisions

  1. @ygotthilf ygotthilf revised this gist Dec 13, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jwtRS256.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ssh-keygen -t rsa -b 4096 -f jwtRS256.key
    ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
    # Don't add passphrase
    openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
    cat jwtRS256.key
  2. @ygotthilf ygotthilf revised this gist Sep 30, 2015. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions jwtRS256.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    ssh-keygen -t rsa -b 4096 -f jwtRS256.key
    # Don't add passphrase
    openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub

    // Don't add passphrase
    cat jwtRS256.key
    cat jwtRS256.key.pub
  3. @ygotthilf ygotthilf created this gist Sep 30, 2015.
    4 changes: 4 additions & 0 deletions jwtRS256.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    ssh-keygen -t rsa -b 4096 -f jwtRS256.key
    openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub

    // Don't add passphrase