Skip to content

Instantly share code, notes, and snippets.

@azanium
Forked from ygotthilf/jwtRS256.sh
Last active May 15, 2024 18:03

Revisions

  1. azanium revised this gist Jun 11, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion jwtRS512.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ssh-keygen -t rsa -b 4096 -e SHA512 -f jwtRS256.key
    ssh-keygen -t rsa -b 4096 -e SHA512 -f jwtRS512.key
    # Don't add passphrase
    openssl rsa -in jwtRS512.key -pubout -outform PEM -out jwtRS512.key.pub
    cat jwtRS512.key
  2. azanium revised this gist Jun 11, 2018. 2 changed files with 5 additions and 5 deletions.
    5 changes: 0 additions & 5 deletions jwtRS256.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +0,0 @@
    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
    cat jwtRS256.key
    cat jwtRS256.key.pub
    5 changes: 5 additions & 0 deletions jwtRS512.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    ssh-keygen -t rsa -b 4096 -e SHA512 -f jwtRS256.key
    # Don't add passphrase
    openssl rsa -in jwtRS512.key -pubout -outform PEM -out jwtRS512.key.pub
    cat jwtRS512.key
    cat jwtRS512.key.pub
  3. @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
  4. @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