Bug 2150985 - [abrt] gnome-keyring: _gcry_logv(): gnome-keyring-daemon killed by SIGABRT
Summary: [abrt] gnome-keyring: _gcry_logv(): gnome-keyring-daemon killed by SIGABRT
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-keyring
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4c81d8f46907d27d3eb14c4318f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-05 18:59 UTC by Clemens Lang
Modified: 2023-12-06 11:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-06 11:38:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (25.06 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: core_backtrace (14.37 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: cpuinfo (1.95 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: dso_list (622 bytes, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: environ (315 bytes, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: limits (1.29 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: maps (3.93 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: mountinfo (3.10 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: open_fds (845 bytes, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details
File: proc_pid_status (1.37 KB, text/plain)
2022-12-05 18:59 UTC, Clemens Lang
no flags Details

Description Clemens Lang 2022-12-05 18:59:29 UTC
Description of problem:
Install using the Anaconda Web UI Preview ISO, but do it with fips=1 on the command line, then start Fedora with fips=1, and set a short (3 character) password. On startup, gnome-keyring-daemon aborts. This may be due to the short password, and maybe we do not need to fix this, since nobody should use short passwords in FIPS mode.

Version-Release number of selected component:
gnome-keyring-42.1-2.fc37

Additional info:
reporter:       libreport-2.17.4
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/gnome-keyring-daemon --daemonize --login
crash_function: _gcry_logv
executable:     /usr/bin/gnome-keyring-daemon
journald_cursor: s=bd425fc93ebd4fe1b93a267002ccd966;i=867;b=5346a975f80b4580b561f8715c31d61d;m=390f5a4;t=5ef19266a3e65;x=fb416e344150f3c8
kernel:         6.0.9-300.fc37.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Potential duplicate: bug 2093705

Comment 1 Clemens Lang 2022-12-05 18:59:33 UTC
Created attachment 1930163 [details]
File: backtrace

Comment 2 Clemens Lang 2022-12-05 18:59:35 UTC
Created attachment 1930164 [details]
File: core_backtrace

Comment 3 Clemens Lang 2022-12-05 18:59:36 UTC
Created attachment 1930165 [details]
File: cpuinfo

Comment 4 Clemens Lang 2022-12-05 18:59:38 UTC
Created attachment 1930166 [details]
File: dso_list

Comment 5 Clemens Lang 2022-12-05 18:59:39 UTC
Created attachment 1930167 [details]
File: environ

Comment 6 Clemens Lang 2022-12-05 18:59:41 UTC
Created attachment 1930168 [details]
File: limits

Comment 7 Clemens Lang 2022-12-05 18:59:42 UTC
Created attachment 1930169 [details]
File: maps

Comment 8 Clemens Lang 2022-12-05 18:59:44 UTC
Created attachment 1930170 [details]
File: mountinfo

Comment 9 Clemens Lang 2022-12-05 18:59:46 UTC
Created attachment 1930171 [details]
File: open_fds

Comment 10 Clemens Lang 2022-12-05 18:59:47 UTC
Created attachment 1930172 [details]
File: proc_pid_status

Comment 11 Clemens Lang 2022-12-05 19:06:08 UTC
Actually, the problem is likely that https://github.com/GNOME/gnome-keyring/blob/master/pkcs11/secret-store/gkm-secret-binary.c#L639-L640 uses GCRY_MD_MD5, which it shouldn't, and which will not work in FIPS mode.

Comment 12 Daiki Ueno 2022-12-06 02:27:44 UTC
It would require updating the keyring format to fix this properly. We made some effort in libsecret to define the format version 1, and the plan was to replace the gnome-keyring-daemon with a secret-service daemon provided by libsecret (bug 1899998), though the work has been stalled for quite some time for lack of resources.

One of the tricky parts is migration of the existing data, but if this bug only affects Anaconda for new user, there might be an option to bypass gnome-keyring-daemon, e.g., using the local file storage provided by libsecret, or some other means.

Comment 13 Clemens Lang 2022-12-06 10:19:03 UTC
This does not affect anaconda, this happens after installation on first startup (and probably every startup after that).
Since this code is probably also on RHEL 9, this would mean that gnome-keyring cannot be used on systems in FIPS mode on RHEL 9.

Comment 14 Fhiss 2023-01-17 20:33:20 UTC
Similar problem has been detected:

Vyt 

reporter:       libreport-2.17.4
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
cmdline:        /usr/bin/gnome-keyring-daemon --daemonize --login
crash_function: _gcry_logv
executable:     /usr/bin/gnome-keyring-daemon
journald_cursor: s=ef4e23ffd9bf4938b7231ffe62a22198;i=2c733;b=828a9ca124df4dae824b8392b59d2f10;m=2a8af94;t=5f2648de64335;x=3e5e76ac4c9f114d
kernel:         6.0.17-300.fc37.x86_64
package:        gnome-keyring-42.1-2.fc37
reason:         gnome-keyring-daemon killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 15 Aoife Moloney 2023-11-23 00:42:12 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
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
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 16 Aoife Moloney 2023-12-06 11:38:34 UTC
Fedora Linux 37 entered end-of-life (EOL) status on None.

Fedora Linux 37 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 Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

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


Note You need to log in before you can comment on or make changes to this bug.