2008年04月08日

GPG署名時の警告メッセージ

livedoorClipに登録 | このエントリーをはてなブックマークに追加 | del.icio.usに登録 | MM/Memoに登録

ユーザーが所有している保障のないキー

$ gpg --version
gpg (GnuPG) 1.4.6

$ gpg -se -r foo@example.com -u bar@example.net --passphrase foobar hoge

You need a passphrase to unlock the secret key for
user: "foor bar <bar@example.net>"
1024-bit DSA key, ID 12345678, created 2008-01-01

gpg: CCCCCCCC: There is no assurance this key belongs to the named user

pub  1024g/CCCCCCCC 2007-12-19 foo <foo@example.com>
 Primary key fingerprint: ASDF ASDF ASDF ASDF ASDF  ASDF ASDF ASDF ASDF ASDF
      Subkey fingerprint: 3377 3377 3377 3377 3377  3377 3377 3377 3377 3377

It is NOT certain that the key belongs to the person named
in the user ID.  If you *really* know what you are doing,
you may answer the next question with yes.

Use this key anyway? (y/N)
うへっ…



どうしても、この鍵を使わないと行けない


対話モードで「y」としてやれば先に進む。

別の解決法として、
「--always-trust」オプションを指定すると聞かれなくなる。
$ gpg --always-trust -se -r foo@example.com -u bar@example.net --passphrase foobar hoge
バッドノウハウ。


トラックバックURL

この記事にコメントする

名前:
URL:
  情報を記憶: 評価: 顔