gpg에서 비밀번호 변경을 허용하지 않습니다.

gpg에서 비밀번호 변경을 허용하지 않습니다.

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

관련 정보