Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] keepassxc-2.7.1-r1 segfaulting as secret service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
oneone
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2017
Posts: 99

PostPosted: Tue May 31, 2022 5:20 pm    Post subject: [solved] keepassxc-2.7.1-r1 segfaulting as secret service Reply with quote

Hi!

I have just updated keepassxc to version 2.7.1-r1. Apparently earlier versions had a bug such that if the database was not unlocked, and an application would try to access keepassxc as a secret service (via dbus that is I think), then keepassxc would return an invalid passphrase. When using nheko-0.9.3 (matrix chat client) that always resulted in the issue of unwillingly getting logged out of my sessions. With version 2.7.1 of keepassxc, this issue should have been fixed.

After the update, however, no matter whether the database is locked or unlocked, keepassxc segfaults (no further error messages), when trying to use it as a secret service (at least with nheko). Did anybody else experience anything similar or have any suggestions?


Last edited by oneone on Tue May 31, 2022 8:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
oneone
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2017
Posts: 99

PostPosted: Tue May 31, 2022 8:56 pm    Post subject: Reply with quote

Found the corresponding issue on GitHub: https://github.com/keepassxreboot/keepassxc/pull/7850

It seems to be triggered by matching entries in keepassxc's Recycle Bin. Emptying the Recycle Bin works as a work-around for now.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1653

PostPosted: Wed Jun 01, 2022 1:17 pm    Post subject: Reply with quote

Following that pull link, there's a merged patch that can go into /etc/portage/patches/app-admin/keepassxc-2.7.1/ https://patch-diff.githubusercontent.com/raw/keepassxreboot/keepassxc/pull/8021.patch
Back to top
View user's profile Send private message
oneone
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2017
Posts: 99

PostPosted: Thu Jun 02, 2022 9:29 pm    Post subject: Reply with quote

Great! Thank you very much for pointing this out. Totally missed that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum