gpgパスワードを変更したいので、これをしました。
tweedleburg:~/.gnupg # gpg --list-secret-keys
/root/.gnupg/secring.gpg
------------------------
sec 1024D/43E855BB 2008-02-03
uid Thorsten Staerk <[email protected]>
ssb 2048g/2220D430 2008-02-03
したがって、キーとユーザーIDがあります。しかし、gpgはこれを受け入れません。
tweedleburg:~/.gnupg # gpg --passwd
gpg (GnuPG) 2.0.26; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
usage: gpg [options] --passwd <user-id>
tweedleburg:~/.gnupg # gpg --passwd [email protected]
gpg (GnuPG) 2.0.26; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: error changing the passphrase for `[email protected]': No secret key
私は何が間違っていましたか?
ベストアンサー1
数値IDの指定:
gpg --passwd 43E855BB