Skip to content

Commit

Permalink
Use bare output for octet keys
Browse files Browse the repository at this point in the history
  • Loading branch information
boazy committed Mar 24, 2020
1 parent db9c2db commit 0d6ba59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jwkgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func printSymmetricKey() {
if *onlyPEM {
return // Write nothing
}
bareOutput = true
key := generateOctKey()
err := writeJSONFor(ObjectInfo{".json", "Key (JWK)"}, &key)
checkKeyError(err)
Expand Down

0 comments on commit 0d6ba59

Please sign in to comment.