Skip to content

Commit 4ad4f5f

Browse files
committed
update: crypto genrsa command, add use to jwk
1 parent 906fad9 commit 4ad4f5f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/flow/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3814,6 +3814,7 @@ func main() {
38143814
"e": base64.RawURLEncoding.EncodeToString(big.NewInt(int64(publicKey.E)).Bytes()),
38153815
"kid": fmt.Sprintf("%x", kid),
38163816
"alg": "RS256",
3817+
"use": "sig",
38173818
}
38183819

38193820
var keys []map[string]interface{}

0 commit comments

Comments
 (0)