Herramienta para OpenPGP, estructurada mediante subcomandos e implementada en Rust que ofrece algoritmos criptográficos modernos por defecto, como Ed25519 y Curve25519. Los subcomandos incluyen: help, decrypt, encrypt, sign, verify, armor, dearmor, autocrypt, inspect, key, keyring, certify y packet. La herramienta permite cifrado, descifrado, firma, verificación y certificación, y es interoperable con otras implementaciones importantes de OpenPGP como GnuPG.
$ sq key generate --own-key --name USER --email USER@gmail.com
Nota.- Fingerprint es el identificador único de la clave principal
$ sq pki link retract --cert=DE02509D1421...DAD721C68E212AB1BE --all
$ sq cert export --cert=DE02509D1421...DAD721C68E212AB1BE > mi-clave_publica.asc
$ sq key export --cert=DE02509D1421...DAD721C68E212AB1BE > mi-clave_privada.asc
$ sq network keyserver publish --cert=DE02509D1421...DAD721C68E212AB1BE
hkps://keyserver.ubuntu.com: ok
hkps://keys.openpgp.org: ok
hkps://sks.pod01.fleetstreetops.com: ok
hkps://keys.mailvelope.com: ok
$ sq key list
$ sq key delete --cert DE02509D1421...DAD721C68E212AB1BE
$ sq sign --signer-email=USER@gmail.com --signature-file=document.sig document.txt
$ sq sign --signer-email=USER@gmail.com --message document.txt
$ sq sign --signer-email=USER@gmail.com --cleartext document.txt
$ sq verify --signature-file=document.sig document.txt
$ sq verify --message document.sig
$ sq verify --signatures 1 --message document.sig
$ sq cert list
$ sq inspect --cert=C38D004AAD6...88AB89C8A33A877
$ sq encrypt --for-email=USER@gmail.com --signer-email=USER@gmail.com document.txt --output document.gpg
$ sq decrypt document.gpg
$ sq decrypt document.gpg --output archivo_descifrado.txt
$ sq encrypt --overwrite --for-email=USER@gmail.com --signer-email=USER@gmail.com document.txt --output document.gpg