SAMLSIGN(1)
π SAMLSIGN β bestie edition π
okay so this is the OpenSAML manual page for samlsign, and honestly? it's giving "i sign your XML and i verify your XML and i look cute doing it" β¨
β¨ NAME β¨
samlsign β sign and verify XML documents ποΈπ
πΈ SYNOPSIS πΈ
samlsign <options>
π¦ DESCRIPTION π¦
samlsign signs or verifies signed XML documents. no cap, that's the whole job and it's iconic.
Wanna sign a document? use -s. Wanna verify one? literally just omit -s, that's it, that's the vibe.
When you're verifying, one of -c, -R, or -T is required. and when you're signing, either -k or -R is required. no skipping, bestie, the tool will simply not know what you want from it π
By default, samlsign signs or verifies standard input. if you'd rather it pull the document from somewhere else, pass -u (URL) or -f (file path) π«Ά
And the glow-up: signed documents are always printed to standard output. always always. periodt. π
π OPTIONS π
-uURL β the URL of the document you wanna sign or verify π-fPATH β the full path of the document you wanna sign or verify π-idID β instead of acting on the whole entire document, only act on the object with the specified ID. only that one object (with its shiny new signature) gets printed to standard output. main character object energy, lowkey π-sβ sign, rather than the default action of verify βοΈ-kKEY β the full path to the key you're using to sign π-cCERT β the full path to the certificate you're using to verify π-RRESOLVER β specifies a credential resolver to use, either for signing or for verification π§°-TTRUST β specifies the trust engine for TrustEngine-based verification π‘οΈ-MMETADATA β specifies the metadata for TrustEngine-based verification π-iISSUER β specifies the issuer for verification π·οΈ-pPROT β specifies the protocol for TrustEngine-based verification. this one lets you name an arbitrary protocol by name, but honestly you'd more commonly use one of the options listed below for the standard protocol names π«-rRNAME β specifies the resource name for TrustEngine-based verification. again, arbitrary resource name by name is allowed, but you'd more commonly reach for one of the options listed below for the standard resource names ποΈ-nsRNS β specifies the namespace for TrustEngine-based verification. if you don't give one, the default isSAML20MD_NSπ-saml10β use the SAML1.0 protocol for TrustEngine-based verification π°οΈ-saml11β use the SAML1.1 protocol for TrustEngine-based verification π°οΈ-saml2β use the SAML2.0 P NS protocol for TrustEngine-based verification π-idpβ set the resource name toIDPSSODescriptorfor TrustEngine-based verification πͺͺ-aaβ set the resource name toAttributeAuthorityDescriptorfor TrustEngine-based verification ποΈ-pdpβ set the resource name toPDPDescriptorfor TrustEngine-based verification βοΈ-spβ set the resource name toSPSSODescriptorfor TrustEngine-based verification π€-Vβ validate the document while you're signing or verifying it. the path to the schemas used for validation can be overridden by setting theOPENSAML_SCHEMASenvironment variable π¬-algalgorithm β specifies the signature algorithm to use, overriding the default. only used when signing β¨-digalgorithm β specifies the digest algorithm to use, overriding the default. only used when signing β¨
π EXIT STATUS π
0β success π-1β an error in howsamlsignwas called (incorrect arguments, for example) π-2β an error occurred when initializing the configuration π΅-10β an exception was caught π
π EXAMPLES π
To sign SAML 2.0 metadata, use:
samlsign -k /path/to/key -c /path/to/cert -f /path/to/metadata
that's it. that's the whole recipe. slay π
π AUTHOR π
This manpage were written by Ferenc WΓ‘gner and Russ Allbery for Debian GNU/Linux π«Ά
π COPYRIGHT π
Copyleft (C) 2008 Ferenc WΓ‘gner This is free software in the public domain.
ok bestie that's the whole page, every flag accounted for, not a single detail left behind π
and the cute little sign-off at the bottom: this one's from UCAID, dated 2011 Jul 25 πΈ go forth and sign responsibly β¨π
π¦ where this page comes from
- debian bookworm: opensaml-tools 3.2.1-3+deb12u1 Β· Apache-2.0
- debian trixie: opensaml-tools 3.3.1-2 Β· Apache-2.0
- ubuntu jammy: opensaml-tools 3.2.1-1 Β· Apache-2.0
- ubuntu jammy: opensaml-tools 3.2.1-1ubuntu0.1 Β· Apache-2.0
- ubuntu noble: opensaml-tools 3.2.1-4.1build2 Β· Apache-2.0
- ubuntu noble: opensaml-tools 3.2.1-4.1ubuntu0.24.04.1 Β· Apache-2.0
- ubuntu questing: opensaml-tools 3.3.1-2
- ubuntu resolute: opensaml-tools 3.3.1-4 Β· Apache-2.0
- ubuntu stonking: opensaml-tools 3.3.1-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms