Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.
Both sides previous revision Попередня ревізія | |||
gpg [2015/01/18 22:16] wombat [Генерация ключа] |
gpg [2015/02/07 23:39] (поточний) wombat [Экспорт открытого ключа] |
||
---|---|---|---|
Рядок 66: | Рядок 66: | ||
To send your public key to a correspondent you must first export it. The command-line option --export is used to do this. It takes an additional argument identifying the public key to export. As with the --gen-revoke option, either the key ID or any part of the user ID may be used to identify the key to export. | To send your public key to a correspondent you must first export it. The command-line option --export is used to do this. It takes an additional argument identifying the public key to export. As with the --gen-revoke option, either the key ID or any part of the user ID may be used to identify the key to export. | ||
- | alice% gpg --output alice.gpg --export alice@cyb.org | + | $ gpg --output alice.gpg --export alice@cyb.org |
The key is exported in a binary format, but this can be inconvenient when the key is to be sent though email or published on a web page. GnuPG therefore supports a command-line option --armor[2] that causes output to be generated in an ASCII-armored format similar to uuencoded documents. In general, any output from GnuPG, e.g., keys, encrypted documents, and signatures, can be ASCII-armored by adding the --armor option. | The key is exported in a binary format, but this can be inconvenient when the key is to be sent though email or published on a web page. GnuPG therefore supports a command-line option --armor[2] that causes output to be generated in an ASCII-armored format similar to uuencoded documents. In general, any output from GnuPG, e.g., keys, encrypted documents, and signatures, can be ASCII-armored by adding the --armor option. | ||
- | alice% gpg --armor --export alice@cyb.org | + | $ gpg --armor --export alice@cyb.org |
-----BEGIN PGP PUBLIC KEY BLOCK----- | -----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Version: GnuPG v0.9.7 (GNU/Linux) | Version: GnuPG v0.9.7 (GNU/Linux) |