Linux command
sq 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Generate key
sq key generate --userid "[Name <email>]"
Encrypt file
sq encrypt --recipient-file [key.pgp] [file]
Decrypt file
sq decrypt [file.pgp]
Sign file
sq sign [file]
Verify signature
sq verify --signer-file [key.pgp] [file.sig]
Inspect packet
sq inspect [file.pgp]
说明
sq is the command-line interface for Sequoia PGP, a modern OpenPGP implementation written in Rust. It provides key generation, encryption, decryption, signing, and signature verification following the OpenPGP standard. The tool supports standard PGP workflows including key pair generation with user IDs, file encryption for recipients using public keys, and detached or inline signatures. The inspect subcommand allows examining OpenPGP packet structures for debugging and verification purposes. Sequoia PGP was developed by former GnuPG contributors as a memory-safe, modular alternative to traditional PGP implementations. sq aims to provide a cleaner command-line interface while maintaining full OpenPGP compatibility.
FAQ
What is the sq command used for?
sq is the command-line interface for Sequoia PGP, a modern OpenPGP implementation written in Rust. It provides key generation, encryption, decryption, signing, and signature verification following the OpenPGP standard. The tool supports standard PGP workflows including key pair generation with user IDs, file encryption for recipients using public keys, and detached or inline signatures. The inspect subcommand allows examining OpenPGP packet structures for debugging and verification purposes. Sequoia PGP was developed by former GnuPG contributors as a memory-safe, modular alternative to traditional PGP implementations. sq aims to provide a cleaner command-line interface while maintaining full OpenPGP compatibility.
How do I run a basic sq example?
Run `sq key generate --userid "[Name <email>]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more sq examples?
This page includes 6 examples for sq, plus related commands for nearby Linux tasks.