Monorepo for Tangled tangled.org

genjwks: add "use" claim

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li 5f4f1c9f c0774b75

verified
Changed files
+4
cmd
genjwks
+4
cmd/genjwks/main.go
··· 30 panic(err) 31 } 32 33 b, err := json.Marshal(key) 34 if err != nil { 35 panic(err)
··· 30 panic(err) 31 } 32 33 + if err := key.Set("use", "sig"); err != nil { 34 + panic(err) 35 + } 36 + 37 b, err := json.Marshal(key) 38 if err != nil { 39 panic(err)