SQ(1) User Commands SQ(1)

sq toolbox armor - Convert binary to ASCII

sq toolbox armor [OPTIONS] FILE

Convert binary to ASCII.

To make encrypted data easier to handle and transport, OpenPGP data can be transformed to an ASCII representation called ASCII Armor. sq emits armored data by default, but this subcommand can be used to convert existing OpenPGP data to its ASCII-encoded representation.

The converse operation is `sq toolbox dearmor`.

Select the kind of armor header
[default: auto]
[possible values: auto, message, cert, key, sig, file]
Write to FILE or stdout if omitted
[default: -]
Read from FILE or stdin if FILE is '-'
[default: -]

See sq(1) for a description of the global options.

Convert a binary OpenPGP message to an ASCII armored OpenPGP message.

sq toolbox armor message.bin

Convert a binary OpenPGP message to an ASCII armored OpenPGP message explicitly choosing the armor label.

sq toolbox armor --label=message message.bin

sq(1), sq-toolbox(1).

For the full documentation see https://book.sequoia-pgp.org.

0.39.0 (sequoia-openpgp 1.21.2)

0.39.0 Sequoia PGP