xsec-templatesign.pod(1)
π xmlsec-templatesign β like, the whole vibe π
okay so bestie, this is xsec-templatesign.pod(1) from the XML Security manual (section 1, yes, the user commands one π
). Sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
xmlsec-templatesign β sign a template XML signature file ποΈβ¨
πΈ SYNOPSIS πΈ
xmlsec-templatesign [-s distinguished-name] [-h string] [-c]
(-d | -e | -r) private-key password input
π¦ DESCRIPTION π¦
So xmlsec-templatesign signs a template XML signature file, using the Apache XML Security for C++ library (iconic, no notes π). The signed file it spits out gets printed to standard output β that's the whole point, she's giving main character energy to your stdout π.
Now, the signing key? You gotta pick one of these, like choosing your fighter:
-dβ for a DSA key-eβ for an EC key-rβ for an RSA key
The key itself must live in a PEM-encoded file, and β listen β the password for that file has to be given on the command line. Right there. On the line. In the open π (yes, that's a whole thing, but that's what the manpage says, so that's what we're saying).
π OPTIONS π
heads up bestie: each option must be given as a separate argument. One option, one argument. Don't smoosh them together, she's not about that life π.
--dsakey,-dβ theprivate-keyfile you handed over is a PEM-encoded DSA private key π--eckey,-eβ theprivate-keyfile you handed over is a PEM-encoded EC private key π--rsakey,-rβ theprivate-keyfile you handed over is a PEM-encoded RSA private key π--clearkeys,-cβ clears out any currentKeyInfoelements in the file π§Ήβ¨ (out with the old, fr fr)--hmackey string,-h stringβ use the HMAC key specified bystringπ--x509subjectname name,-s nameβ thenameyou provide gets set asSubjectNamein X.509 πͺͺπ
π AUTHOR π
This manual page was written by Russ Allbery for Debian. thank u king π«Ά
π 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.
(translation: it's free, it's open, take it and run bestie πβοΈπ¨ no cap)
and that's the whole page!! β¨ version 3.0.0, dated 2025-01-11, and yes the header said xsec-templatesign.pod(1) β we been knew π bye babes ππ¦
π¦ 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