Gpg
gpg 不允許我更改密碼
我想更改我的 gpg 密碼,所以我這樣做了
tweedleburg:~/.gnupg # gpg --list-secret-keys /root/.gnupg/secring.gpg ------------------------ sec 1024D/43E855BB 2008-02-03 uid Thorsten Staerk <Thorsten@Staerk.de> 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 Thorsten@Staerk.de 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 `Thorsten@Staerk.de': No secret key
我究竟做錯了什麼?
指定數字 id:
gpg --passwd 43E855BB