JOSE-JWS-FMT(1)
π jose-jws-fmt β like, the JWS glow-up page
okay so bestie, welcome to jose-jws-fmt from the JOSE manual set (yes, the JOSE-JWS-FMT(1) one, that's her full name π). She's a little icon whose entire personality is: taking a JWS and converting it between serialization formats. That's it. That's the gig. And she ate. β¨
β¨ NAME β¨
jose-jws-fmt β converts a JWS between serialization formats π
π¦ SYNOPSIS π¦
jose jws fmt -i JWS [-I PAY] [-o JWS] [-O PAY] [-c]
literally the whole vibe in one line, no cap π
πΈ OVERVIEW πΈ
So the jose jws fmt command converts a JWS into alternative serialization formats, and honestly the way that it can do this is giving main character energy. For example, it can:
- Attach payload to a detached JWS. π«Ά
- Detach payload from a JWS. π
- Convert JWS Compact Serialization to JWS JSON Serialization. π₯
- Convert JWS JSON Serialization to JWS Compact Serialization. π₯
periodt. four little tricks, all iconic. β¨
π OPTIONS π
-i JSON,--input=JSONβ parse JWS from JSON, bestie π-i FILE,--input=FILEβ read JWS from FILE, slay-i -,--input=-β read JWS from standard input (yes, the-is doing the work here, iykyk) π-I FILE,--detached=FILEβ read decoded payload from FILE πΈ-I -,--detached=-β read decoded payload from standard input π«Ά-o FILE,--output=FILEβ write JWS to FILE β-o -,--output=-β write JWS to stdout (default, so if you don't say anything she just does it π )-O FILE,--detach=FILEβ detach payload and decode to FILE π¦-O -,--detach=-β detach payload and decode to standard output π-c,--compactβ output JWS using compact serialization, the cute little one-liner format π
π EXAMPLES π
attach payload to a detached JWS and emit JWS Compact Serialization, lowkey my favorite move:
$ jose jws fmt -i msg.jws -I msg.txt -o compact.jws -c
detach payload from a JWS, the reverse glow-up:
$ jose jws fmt -i msg.jws -o detached.jws -O msg.txt
π AUTHOR π
Nathaniel McCallum <npmccallum@redhat.com> β the legend who made her, fr fr π«Ά
π§ SEE ALSO π§
jose-jws-sig(1), jose-jws-ver(1) β her besties, go say hi π
mwah π this page is from the JOSE manual, dated 06/09/2026, and yes she's still JOSE-JWS-FMT(1) in the footer, iconic behavior, no notes. π
π¦ where this page comes from
- arch rolling: jose 15-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms