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 from file. 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 from STDIN. No file? STDIN is right there. πŸ“₯
  • -k, --key file β€” private key used for --sign and --decrypt. Guard this one with your life. πŸ”‘
  • -c, --cert file β€” certificate for --sign, --verify and --encrypt. Can be used multiple times. Stack 'em, bestie. πŸ“œ
  • -g, --digest digest β€” digest to use for signature creation. One of md5, sha1, sha224, sha256, sha384, or sha512. 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. Either pkcs1 or pss, defaults to pkcs1. Padding choices, but make it RSA. 🧚
ngl, the page lists -e for both --encrypt and --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