JOSE-JWE-FMT(1)
okay bestie, you're looking at jose-jwe-fmt(1) and it's literally the format-shifting friend in the jose crew πβ¨
πΈ NAME πΈ
jose-jwe-fmt β Converts a JWE between serialization formats π
π¦ SYNOPSIS π¦
jose jwe fmt -i JWE [-I CT] [-o JWE] [-O CT] [-c]
π₯ OVERVIEW π₯
The jose jwe fmt command converts a JWE into alternative serialization formats. For example, it can:
- Attach ciphertext to a detached JWE. π
- Detach ciphertext from a JWE. βοΈ
- Convert JWE Compact Serialization to JWE JSON Serialization. π
- Convert JWE JSON Serialization to JWE Compact Serialization. π
No cap, it's giving "same JWE, different outfit" energy π
π OPTIONS π
-i JSON,--input=JSONβ Parse JWE from JSON π-i FILE,--input=FILEβ Read JWE from FILE πΈ-i -,--input=-β Read JWE from standard input π«Ά-I FILE,--detached=FILEβ Read decoded ciphertext from FILE π-I -,--detached=-β Read decoded ciphertext from standard input β¨-o FILE,--output=FILEβ Write JWE to FILE π-o -,--output=-β Write JWE to stdout (default) π-O FILE,--detach=FILEβ Detach ciphertext and decode to FILE π-O -,--detach=-β Detach ciphertext and decode to standard output π-c,--compactβ Output JWE using compact serialization β
π EXAMPLES π
Attach ciphertext to a detached JWE and emit JWE Compact Serialization:
$ jose jwe fmt -i msg.jwe -I msg.ct -o compact.jwe -c
Detach ciphertext from a JWE:
$ jose jwe fmt -i msg.jwe -o detached.jwe -O detached.ct
π AUTHOR π
Shoutout to Nathaniel McCallum <npmccallum@redhat.com> β iconic behavior, fr fr π
π SEE ALSO π
Go peek at jose-jwe-dec(1) and jose-jwe-enc(1) too, bestie π¦
xoxo, your Unix bestie β JOSE-JWE-FMT(1) Β· 06/09/2026 ππ
π¦ 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