Belgelere geç
CLI

openemail encryption

Bu ad alanındaki her komut; argümanları, bayrakları ve örnekleriyle.

Komutlar

The OpenPGP public keys that let senders seal mail to your addresses: list the ones you published, publish or rotate one, and look up the keys of recipients before sealing a message.

Buradaki her komut --json, --profile ve --dry-run gibi genel bayrakları da alır. Genel bayraklara bakın

openemail encryption list-keys

List your published encryption keys

Kapsamlaremails:readOturum açma gerektirir

Kullanım

openemail encryption list-keys [flags]

Resolves every OpenPGP public key published for an address in this workspace, newest first, the Encryption page of the app. Retired keys are included, with revokedAt and revokedReason set, and the live key of each address has revokedAt null.

Published keys belong to a person. A key reads and publishes the keys of the workspace owner, and an access token those of the person who connected the app. A key limited to particular addresses lists only the keys of those addresses.

Örnekler

openemail encryption list-keys
Print the raw JSON
openemail encryption list-keys --json

Şurada da var

API
GET /encryption/keys
SDK
encryption.listKeys()

openemail encryption publish-key

Publish a public key for one of your addresses

Kapsamlaremails:readOturum açma gerektirir

Kullanım

openemail encryption publish-key --address <value> --public-key <value> --fingerprint <value> [flags]
openemail encryption publish-key --data <json|@file|-> [flags]

Publishes an armored OpenPGP public key for one of your addresses, so that senders can seal mail to it, as Publish on the Encryption page does. The address has to be an address of this workspace on a verified domain, switched on, and one you may use.

An address keeps one live key. To rotate, pass the fingerprint of the live key as replaces: it is retired as the new key is published. Mail already sealed to the old key stays readable only with the old private key.

Published keys belong to a person. A key reads and publishes the keys of the workspace owner, and an access token those of the person who connected the app.

Bayraklar

--address <value>

The address the key is for. Required, here or in --data.

--public-key <value>

The armored OpenPGP PUBLIC KEY BLOCK, up to 64 KB. Required, here or in --data.

--fingerprint <value>

The fingerprint of the key, 40 upper-case hexadecimal characters. Required, here or in --data.

--algorithm <value>

The algorithm of the key, such as ed25519, for display only.

--replaces <value>

The fingerprint of the live key this one replaces, to rotate it.

--data <json|@file|->

The whole body as JSON, inline, from a file with @path, or - for standard input. Flags override its keys.

Örnekler

openemail encryption publish-key --address [email protected] --public-key example --fingerprint 3F2A9C1B7E4D5F60A1B2C3D4E5F60718293A4B5C
Read the whole body from a JSON file
openemail encryption publish-key --data @encryption.json

Şurada da var

API
POST /encryption/keys
SDK
encryption.publishKey()

openemail encryption lookup-keys

Find the keys to seal mail to

Kapsamlaremails:sendOturum açma gerektirir

Kullanım

openemail encryption lookup-keys --addresses <a,b> [flags]

Resolves the live public keys published for each recipient address, the lookup the composer makes before it seals a message. An address with no key comes back with keys empty, so mail to it cannot be sealed. Only keys published by somebody who can read the address count.

Bayraklar

--addresses <a,b>Tekrarlanabilir

Recipient addresses, at most 51, sent comma-separated. Required.

Örnekler

openemail encryption lookup-keys --addresses [email protected],[email protected]
Print the raw JSON
openemail encryption lookup-keys --addresses [email protected],[email protected] --json

Şurada da var

API
GET /encryption/keys/lookup
SDK
encryption.lookupKeys()