前へ|次へ|戻る

The GNU Privacy Handbook part02

Exchanging keys

--list-keys

例 http://www.gnupg.org/gph/en/manual/x56.html

list-keys
Name
list-keys ― list information about keys

list-keys key ...

Description

This command lists the public keys specified by the key specifiers on the command line. \
If no key specifier is given, gpg will list all of the public keys.

1個しかない場合はこれで良いでしょう。

$ gpg --list-key
/home/mm/.gnupg/pubring.gpg
---------------------------
pub   1024D/42FDB7C6 2005-07-13
uid                 dokono darebbee (dousita) 
sub   2048g/2BFEBDAB 2005-07-13

Exporting a public key

$ gpg --output dokoka.gpg --export mail@dokodakokoda.dog
$ cat -v dokoka.gpg 
M-^Y^AM-"^DBM-TfM-Q^Q^D^@M-P^O[e

$ gpg --armor --export mail@dokodakokoda.dog
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.1 (GNU/Linux)

mQGiBELUZtERBADQD1tlCnp0U/uHFbd6/zfRouqlatiqzkU7tZDhpDRpQMSWG3Ji
Tt/cbb6eIyDO32TvDxxkugvHT/FuHKtPzIMsQz0QfSiuX0Ac+C9KSHYcqFt6fW3n
省略
aF/znvh+OA==
=0w94
-----END PGP PUBLIC KEY BLOCK-----

ぼち ぼち http://www.gnupg.org/gph/en/manual/book1.html

にゃんたろう 拝!
2005年 7月13日 (水) 21:21:32 JST 作成


前へ|次へ|戻る
Copyright © 2004.-2007. nyantarou All Rights Reserved.