JOSE-JWS-VER(1)
π
JOSE-JWS-VER(1) β bestie's guide to jose jws ver
Okay so picture this: it's the jose-jws-ver manual page, but make it make sense. We're verifying a JWS with the JWKs you hand it. That's the whole vibe. Let's get into it. π
β¨ NAME β¨
jose-jws-ver β verifies a JWS using the supplied JWKs. That's it. That's the task. Slay. π
π¦ SYNOPSIS π¦
jose jws ver -i JWS [-I PAY] -k JWK [-a] [-O PAY]
Read it slow, bestie, it's giving "small line, big power". πΈ
π OVERVIEW π
So the jose jws ver command verifies a signature over a payload using one or more JWKs. Main character energy fr fr.
When you specify more than one JWK with -k, the program will succeed when any of the provided JWKs successfully verifies a signature. Like, one of your girls shows up and the whole group chat is valid, you know? π«Ά
Alternatively, if the -a option is given, the program will succeed only when all JWKs successfully verify a signature. Now it's a full squad check-in. Nobody skips. Periodt. π
If the JWS is a detached JWS β meaning the payload is stored in binary form external to the JWS itself β the payload can be loaded using the -I parameter. External payload, iconic behaviour, no cap. π
β οΈ Okay this part matters, so listen: when you specify the -O option to output the payload, the payload is output whether or not the signature validates. The payload does not care about your feelings or your crypto. Therefore, you must check the return value of the command before trusting the data. Literally always. Don't be out here trusting unverified bytes, bestie, that's not the vibe. π
π§ OPTIONS π§
-i JSON,--input=JSONβ parse JWS from JSON.-i FILE,--input=FILEβ read JWS from FILE.-i -,--input=-β read JWS from standard input.-I FILE,--detached=FILEβ read decoded payload from FILE.-I -,--detached=-β read decoded payload from standard input.-k FILE,--key=FILEβ read JWK(Set) from FILE.-k -,--key=-β read JWK(Set) from standard input.-O FILE,--detach=FILEβ decode payload to FILE.-O -,--detach=-β decode payload to standard output.-a,--allβ ensure the JWS validates with all keys. Every. Single. One. π₯
π EXAMPLES π
Verify a regular JWS and output the payload:
$ jose jws ver -i msg.jws -k key.jwk -O msg.txt
Verify a detached JWS without outputting the payload:
$ jose jws ver -i msg.jws -I msg.txt -k key.jwk
Ensure that a JWS is signed with all specified keys:
$ jose jws ver -i msg.jws -k ec.jwk -k rsa.jwk -a
Three examples, three little wins. We ate. π
π AUTHOR π
Nathaniel McCallum <npmccallum@redhat.com> β the legend behind this whole thing. Respect where respect is due. π
πΈ SEE ALSO πΈ
Go read those too, iykyk. π¦
And that's the whole page, bestie! This gem is dated 06/09/2026 and it lives under JOSE-JWS-VER(1). Now go verify something before you trust it β mwah! ππ
π¦ 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