import-local might need gpg key for <email address hidden>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Medium
|
Nish Aravamudan |
Bug Description
I have this in my ~/.gitconfig:
[commit]
gpgsign = true
I tried locally importing a dsc file, but it blew up because at some point git needed the private gpg key for the importer ID, which I shouldn't (and don't) have:
$ git ubuntu import-local artful ~/x/libpam-
07/20/2017 14:31:45 - INFO:Using git repository at /tmp/tmpshx0pg2c
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
You need a passphrase to unlock the secret key for
user: "Andreas Hasenack <email address hidden>"
1024-bit DSA key, ID F3DDC290, created 2000-03-28
07/20/2017 14:31:50 - ERROR:Command exited 1: git commit-tree e1bf2c71f059a61
07/20/2017 14:31:50 - ERROR:stdout:
07/20/2017 14:31:50 - ERROR:stderr: gpg: skipped "usd-importer <email address hidden>": secret key not available
gpg: signing failed: secret key not available
error: gpg failed to sign the data
07/20/2017 14:31:50 - ERROR:Unable to commit tree, savedtemp commit message as /tmp/tmpps110vro
Traceback (most recent call last):
File "/snap/
cp = run(commit_tree, env=commit_env)
File "/snap/
raise e
File "/snap/
stdout=stdout, stderr=stderr, stdin=stdin)
File "/snap/
output=stdout, stderr=stderr)
subprocess.
Related branches
- Nish Aravamudan: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 13 lines (+1/-1)1 file modifiedgitubuntu/git_repository.py (+1/-1)
Changed in usd-importer: | |
status: | Triaged → In Progress |
assignee: | nobody → Nish Aravamudan (nacc) |
Changed in usd-importer: | |
status: | In Progress → Fix Released |
On 20.07.2017 [17:34:23 -0000], Andreas Hasenack wrote:
> Public bug reported:
>
> I have this in my ~/.gitconfig:
> [commit]
> gpgsign = true
Can you provide the DSC file as an attachment to this bug? And perhaps
the corresponding files for the srcpkg so that is reasonably importable.
Thanks,
Nish