xsec-checksig.pod(1)
β¨ NAME β¨
xmlsec-checksig β okay bestie, this is the little tool that checks a digital signature embedded in an XML file π it lives inside the xsec-checksig.pod manual page, section 1, and it's giving "I verify things and I'm lowkey iconic about it" β¨
πΈ SYNOPSIS πΈ
xmlsec-checksig [-s] [-h string] [-x] [-d ns-uri name]
[-i] [--id name] input
π¦ DESCRIPTION π¦
So here's the vibe: xmlsec-checksig checks a digital signature that's embedded in an XML file, and it does it using the Apache XML Security for C++ library π
It reads the XML document you want to check from the input file you hand it, and it expects the signature to follow the XML Digital Signature and Encryption specifications. That's the whole assignment. That's what it does. Slay π
π OPTIONS π
Heads up bestie: each option has to be given as a separate argument. No squishing them together, no cap π ββοΈ
--hmackeystring,-hstring β use the HMAC key that you specify with string π--idname β use the attributeidwith the name name. And if you also wanna specify the namespace? Use--idnsinstead, okurrr π«Ά--idnsns-uri name,-dns-uri name β use the attributeidthat's specified by the namespace URI ns-uri and the name name π--interop,-i* β use the interop resolver for the Baltimore interop examples π§--skiprefs,-s* β skip checking references and only check the signature. Just the signature. Nothing else. Focused queen β¨--xsecresolver,-x* β use the Apache XML Security for C++ test XMLDSig URI resolver π
β RETURN STATUS β
Okay so the exit codes are basically a vibe check for your signature:
xmlsec-checksigexits with status 0 if the signature is valid π- it exits with status 1 if the signature is not valid π
- and if it cannot process the input file for some reason, it exits with status 2 π
π AUTHOR π
This manual page was written by Russ Allbery for Debian π«Ά
π MANUAL LICENSE π
The authors hereby relinquish any claim to any copyright that they may have in this work, whether granted under contract or by operation of law or international treaty, and hereby commit to the public, at large, that they shall not, at any time in the future, seek to enforce any copyright in this work against any person or entity, or prevent any person or entity from copying, publishing, distributing or creating derivative works of this work.
and that's the whole page, bestie!! π this was XML Security version 3.0.0, dated 2025-01-11 β go forth and verify those signatures, mwah πβ¨π¦
π¦ where this page comes from
- debian trixie: xml-security-c-utils 3.0.0-2 Β· Apache-2.0
- ubuntu questing: xml-security-c-utils 3.0.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms