---
name: "sq-autocrypt-decode"
section: "1"
platform: "linux"
package: "sq"
version: "0.27.0-2+b1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://carta.tech/man/sq-autocrypt-decode"
---

# sq-autocrypt-decode(1)

Reads Autocrypt-encoded certificates

## NAME

decode - Reads Autocrypt-encoded certificates

## SYNOPSIS

**decode** \[**-o**\|**--output**\] \[**-B**\|**--binary**\] \[**-h**\|**--help**\] \[*FILE*\]

## DESCRIPTION

Reads Autocrypt-encoded certificates

Given an autocrypt header (or an key-gossip header), this command extracts the certificate encoded within it.

The converse operation is "sq autocrypt encode-sender".

## OPTIONS

- **-o**, **--output**=*FILE*

  Writes to FILE or stdout if omitted

- **-B**, **--binary**

  Emits binary data

- **-h**, **--help**

  Print help information

- \[*FILE*\]

  Reads from FILE or stdin if omitted

## EXAMPLES

 Extract all certificates from a mail

```
 sq autocrypt decode autocrypt.eml
```

## SEE ALSO

For the full documentation see \<https://docs.sequoia-pgp.org/sq/\>.

[sq(1)](/man/sq/1.md) [sq-armor(1)](/man/sq-armor/1.md) [sq-autocrypt(1)](/man/sq-autocrypt/1.md) [sq-autocrypt-encode-sender(1)](/man/sq-autocrypt-encode-sender/1.md) [sq-certify(1)](/man/sq-certify/1.md) [sq-dearmor(1)](/man/sq-dearmor/1.md) [sq-decrypt(1)](/man/sq-decrypt/1.md) [sq-encrypt(1)](/man/sq-encrypt/1.md) [sq-inspect(1)](/man/sq-inspect/1.md) [sq-key(1)](/man/sq-key/1.md) [sq-keyring(1)](/man/sq-keyring/1.md) [sq-keyserver(1)](/man/sq-keyserver/1.md) [sq-packet(1)](/man/sq-packet/1.md) [sq-revoke(1)](/man/sq-revoke/1.md) [sq-sign(1)](/man/sq-sign/1.md) [sq-verify(1)](/man/sq-verify/1.md) [sq-wkd(1)](/man/sq-wkd/1.md)
