Sympa::Tools::SMIME(3Sympa)
π NAME π
Sympa::Tools::SMIME β the toolbox for S/MIME messages and X.509 certificates, from the sympa 6.2.80 manual page (section 3Sympa, bestie, in case you were wondering).
β¨ DESCRIPTION β¨
Okay so this module is giving "I handle your certs and your signed mail" energy and honestly? Iconic.
π Functions
π find_keys ( $that, $operation )
Finds the right S/MIME keys/certs for $operation of $that. Like, it literally goes shopping for the correct key situation for you.
$operation can be:
'sign'β hands you back the preferred signing key/cert. main character of signatures fr.'decrypt'β hands you back a list of possible decryption keys/certs. choices!! we love options π«Ά'encrypt'β hands you back the preferred encryption key/cert.
Returns "($certs, $keys)".
Heads up bestie, the shapes are different depending on the vibe: for'sign'and'encrypt', these are strings containing the absolute filename. For'decrypt', these are arrayrefs containing absolute filenames. Don't mix them up or it's giving π.
π parse_cert ( "text"|"file" => $content )
Parses an X.509 certificate. She's reading the whole thing, no skimming. π
Options:
"file" => $filename"text" => $textβ specifies PEM-encoded certificate.
Returns a hashref containing these items:
{email}β hashref with email addresses from cert as keys.{emails}β arrayref with email addresses from cert. This was added on Sympa 6.2.67b. β¨ new-ish drop alert β¨{subject}β distinguished name.{purpose}β hashref containing:{enc}β true if v3 purpose is encryption.{sign}β true if v3 purpose is signing.
TBD.
If parsing failed, returns undef. π she said nope, nothing, void, silence.
πΈ HISTORY πΈ
TBD.
And that's the whole page, bestie! This was sympa 6.2.80, dated 2026-10-19, and the manual page is Sympa::Tools::SMIME(3Sympa). Go forth and certify your little heart out! π¦β¨π
π¦ where this page comes from
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms