| Summary: | gpg sometimes fails to find secret key for default user-id. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sir Raorn <raorn> | ||||
| Component: | git-core | Assignee: | placeholder <placeholder> | ||||
| Status: | ASSIGNED --- | QA Contact: | qa-sisyphus | ||||
| Severity: | minor | ||||||
| Priority: | P2 | CC: | glebfm, ldv, placeholder, vt | ||||
| Version: | unstable | ||||||
| Hardware: | all | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
Created attachment 1621 [details]
0001-gpg-sometimes-fails-to-find-secret-key-for-default-user-id.txt
I'm not sure that gnupg match algorithm is reasoned enough to patch git. |
$ git-tag -s -m test test gpg: skipped "Sir Raorn <raorn@...>": secret key not available gpg: signing failed: secret key not available failed to sign the tag with GPG. [1] 28905 exit 1 git-tag -s -m test test $ expr "z$(git-var GIT_COMMITTER_IDENT)" : 'z\(.*>\)' Sir Raorn <raorn@...> $ gpg --list-secret-keys 'Sir Raorn <raorn@..>' gpg: error reading key: secret key not available [1] 28931 exit 2 gpg --list-secret-keys 'Sir Raorn <raorn@..>' $ gpg --list-secret-keys 'Alexey I. Froloff <raorn@..>' gpg: error reading key: secret key not available [1] 28933 exit 2 gpg --list-secret-keys 'Alexey I. Froloff <raorn@..>' $ gpg --list-secret-keys 'Alexey I. Froloff (Sir Raorn) <raorn@..>' ... uid Alexey I. Froloff (Sir Raorn) <raorn@..> ... Patch attached.