PKI---PKCS7(1)
π NAME π
okay so bestie, welcome to the PKI --PKCS7(1) page from strongSwan β this is all about pki --pkcs7, the sub-command that provides PKCS#7 wrap/unwrap functions. It's giving container-adjacent main character energy, and honestly? Obsessed. β¨
pki --pkcs7 β provides PKCS#7 wrap/unwrap functions. Periodt. π
β¨ SYNOPSIS β¨
Here's the exact shape of it, bestie β keep the commands character-for-character:
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 pki --pkcs7 is a sub-command of pki(1), and it literally hands you the functions to wrap and unwrap PKCS#7 containers. That's the whole assignment. No cap. π«Ά
π OPTIONS π
Okay, option-by-option, group-chat style β but every flag and value stays exactly as printed:
-h,--helpβ prints usage information with a summary of the available options. Your little map, your little moment. πΊοΈ-v,--debug levelβ sets the debug level. Default:1. Turn it up when you need the tea. π΅-+,--options fileβ reads command line options fromfile. Yes, the plus sign is invited. β-s,--signβ creates PKCS#7 signed-data. Signing slay. βοΈ-u,--verifyβ verifies PKCS#7 signed-data. Vibe check, but cryptographic. β-e,--encryptβ creates PKCS#7 enveloped-data. Wrap it up. π-e,--decryptβ decrypts PKCS#7 enveloped-data. Unwrap it. π-p,--showβ shows information about the PKCS#7 container and lists certificates. Show-and-tell, but make it certificates. π-i,--in fileβ the PKCS#7 input file. If it's not given, input is read fromSTDIN. No file? STDIN is right there. π₯-k,--key fileβ private key used for--signand--decrypt. Guard this one with your life. π-c,--cert fileβ certificate for--sign,--verifyand--encrypt. Can be used multiple times. Stack 'em, bestie. π-g,--digest digestβ digest to use for signature creation. One ofmd5,sha1,sha224,sha256,sha384, orsha512. The default is determined based on the type and size of the signature key. Choose your fighter. π₯-R,--rsa-padding paddingβ padding to use for RSA signatures. Eitherpkcs1orpss, defaults topkcs1. Padding choices, but make it RSA. π§
ngl, the page lists-efor both--encryptand--decryptβ I'm keeping that exactly as printed, no edits, no cap. π
π SEE ALSO π
pki(1)β the mothership manual, go read it too. πΈ
xoxo, your Unix bestie π β signing off with main character energy. This page was strongSwan version 6.1.0, dated 2023-03-30.
π¦ where this page comes from
- arch rolling: strongswan 6.1.0-2 Β· GPL-2.0-only
- nixos 26.05: strongswan 6.1.0
- nixpkgs unstable: strongswan 6.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms