Bug 1286393

Summary: [abrt] gnupg: build_privkey_template(): gpg killed by SIGABRT
Product: [Fedora] Fedora Reporter: Eric Renfro <psi-jack>
Component: gnupgAssignee: Brian Lane <bcl>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 25CC: baptiste.millemathias, bcl, psi-jack, rdieter, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/29c8ebcc817dfe2d6ce2178558d52de051dce9ed
Whiteboard: abrt_hash:a5f5bc98f1aaeb01257fd9b0e5b518de10569ed7;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 11:10:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Eric Renfro 2015-11-28 22:50:03 UTC
Description of problem:
I tried to move my secret key I just generated in gpg to my Yubikey 4 smartcard device using keytocard in gpg while editing the key.

Version-Release number of selected component:
gnupg-1.4.19-3.fc23

Additional info:
reporter:       libreport-2.6.3
backtrace_rating: 4
cmdline:        gpg --openpgp --edit-key AC4E98D2
crash_function: build_privkey_template
executable:     /usr/bin/gpg
global_pid:     2842
kernel:         4.2.6-301.fc23.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (6 frames)
 #4 build_privkey_template at app-openpgp.c:2271
 #5 do_writekey at app-openpgp.c:2689
 #6 agent_scd_writekey at cardglue.c:1167
 #7 save_unprotected_key_to_card at keygen.c:3935
 #8 card_store_subkey at card-util.c:1620
 #9 keyedit_menu at keyedit.c:1899

Comment 1 Eric Renfro 2015-11-28 22:50:08 UTC
Created attachment 1100017 [details]
File: backtrace

Comment 2 Eric Renfro 2015-11-28 22:50:09 UTC
Created attachment 1100018 [details]
File: cgroup

Comment 3 Eric Renfro 2015-11-28 22:50:10 UTC
Created attachment 1100019 [details]
File: core_backtrace

Comment 4 Eric Renfro 2015-11-28 22:50:12 UTC
Created attachment 1100020 [details]
File: dso_list

Comment 5 Eric Renfro 2015-11-28 22:50:13 UTC
Created attachment 1100021 [details]
File: environ

Comment 6 Eric Renfro 2015-11-28 22:50:14 UTC
Created attachment 1100022 [details]
File: limits

Comment 7 Eric Renfro 2015-11-28 22:50:16 UTC
Created attachment 1100023 [details]
File: maps

Comment 8 Eric Renfro 2015-11-28 22:50:17 UTC
Created attachment 1100024 [details]
File: mountinfo

Comment 9 Eric Renfro 2015-11-28 22:50:18 UTC
Created attachment 1100025 [details]
File: namespaces

Comment 10 Eric Renfro 2015-11-28 22:50:20 UTC
Created attachment 1100026 [details]
File: open_fds

Comment 11 Eric Renfro 2015-11-28 22:50:21 UTC
Created attachment 1100027 [details]
File: proc_pid_status

Comment 12 Eric Renfro 2015-11-28 22:50:22 UTC
Created attachment 1100028 [details]
File: var_log_messages

Comment 13 Brian Lane 2015-11-30 19:33:27 UTC
Thanks for the report, can you file an upstream bug at https://bugs.g10code.com/gnupg/ or do you want me to? (They're likely to ask questions about your setup that I can't answer).

I'd also recommend trashing that key, it looks like the backtrace contains at least parts of the private key.

Comment 14 Baptiste Mille-Mathias 2016-10-06 02:18:03 UTC
Having the same issue on Fedora 25, I've opened a bug as required previously 
https://bugs.gnupg.org/gnupg/issue2738

Comment 15 Fedora End Of Life 2017-11-16 14:43:24 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2017-12-12 11:10:08 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.