STRONGSWAN_PKI---PKCS7(1)
π pki --pkcs7 β the PKCS#7 wrap/unwrap era π
okay bestie, so this is a sub-command of pki(1) from the strongSwan manual (that's the PKI --PKCS7(1) page, if you're keeping receipts), and it is literally your one-stop shop for wrapping and unwrapping PKCS#7 containers. PKCS#7 my beloved π
β¨ SYNOPSIS β¨
pki --pkcs7 --sign|--verify|--encrypt|--decrypt|--show [--in file]
[--cert file] [--key file] [--digest digest]
[--rsa-padding padding] [--debug level]
pki --pkcs7 --options file
pki --pkcs7 -h | --help
πΈ DESCRIPTION πΈ
So this sub-command of pki(1) gives you the functions to wrap and unwrap PKCS#7 containers. That's it, that's the job. Wrap. Unwrap. Slay. π
π¦ OPTIONS π¦
-h,--helpβ prints usage info plus a lil summary of everything you can do. your girl is helpful like that π«Ά-v,--debug levelβ sets the debug level. default:1. turn it up if you want to see everything, no cap.-+,--options fileβ reads the command line options from file. yes the flag is literally-+. iconic behaviour only β¨-s,--signβ creates PKCS#7 signed-data. put a signature on it, it's giving certified.-u,--verifyβ verifies PKCS#7 signed-data. vibe check on that signature, fr fr.-e,--encryptβ creates PKCS#7 enveloped-data. wrap it up, it's a gift π-e,--decryptβ decrypts PKCS#7 enveloped-data. and yes bestie,-eis used for both--encryptand--decryptin the original β that's not me being messy, that's just how it's written π don't come for me.-p,--showβ shows information about the PKCS#7 container, and lists the certificates. the gossip option, lowkey π-i,--in fileβ the PKCS#7 input file. if you don't give it one, the input gets read fromSTDIN. so it's flexible like that.-k,--key fileβ the private key used for--signand--decrypt. keep it secret, keep it safe π-c,--cert fileβ the certificate for--sign,--verifyand--encrypt. and the way that it can be used multiple times? obsessed. stack those certs π-g,--digest digestβ the digest to use when creating the signature. one ofmd5,sha1,sha224,sha256,sha384, orsha512. the default is determined based on the type and size of the signature key β so it picks for you, main character energy.-R,--rsa-padding paddingβ the padding to use for RSA signatures. eitherpkcs1orpss, and it defaults topkcs1. no thoughts, just padding.
π SEE ALSO π
strongSwan 6.0.7, dated 2023-03-30 β that's the whole page bestie, go forth and wrap/unwrap responsibly ππ¦β¨
π¦ where this page comes from
- fedora 43: strongswan 6.0.7-2.fc43 Β· GPL-2.0-or-later
- fedora 44: strongswan 6.0.7-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms