Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kinda solved] virtual/secret-service without gnome-keyring?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 231

PostPosted: Tue May 16, 2023 7:10 am    Post subject: [kinda solved] virtual/secret-service without gnome-keyring? Reply with quote

Hi,

I am using net-im/element-desktop-bin but it asks me for a "Default keyring" password on every startup. This dialog seems to be coming from Gnome keyring.

This is a KDE/Plasma desktop system with -gnome and -gnome-keyring general USE flags in make.conf - which means I am using kwallet and do not want to be bothered by gnome packages I never asked for. Additionally, I was never asked to set up a password for a Gnome default keyring, so I could not use it even if I wanted to.

When I looked through the dependencies it seems that element-desktop needs libsecret which asks for virtual/secret-service and this finally pulls in the unwanted gnome keyring:

Quote:
# equery d gnome-keyring
* These packages depend on gnome-keyring:
sys-auth/pambase-20220214 (gnome-keyring ? gnome-base/gnome-keyring[pam])
virtual/secret-service-0 (gnome-base/gnome-keyring)

# equery d secret-service
* These packages depend on secret-service:
app-crypt/libsecret-0.20.5-r3 (virtual/secret-service)
dev-python/secretstorage-3.3.3 (!s390 ? virtual/secret-service)

# equery d libsecret
* These packages depend on libsecret:
app-admin/system-config-printer-1.5.18 (gnome-keyring ? app-crypt/libsecret[introspection])
app-crypt/gcr-3.41.1-r2 (>=app-crypt/libsecret-0.20)
app-crypt/pinentry-1.2.1-r1 (gnome-keyring ? app-crypt/libsecret)
dev-libs/qtkeychain-0.13.2 (gnome-keyring ? app-crypt/libsecret)
dev-vcs/git-2.39.3 (gnome-keyring ? app-crypt/libsecret)
media-video/vlc-3.0.18 (gnome-keyring ? app-crypt/libsecret)
net-im/element-desktop-bin-1.11.29 (app-crypt/libsecret)
net-im/gajim-1.4.7-r2 (python_single_target_python3_10 ? app-crypt/libsecret[crypt,introspection])
(python_single_target_python3_11 ? app-crypt/libsecret[crypt,introspection])
x11-libs/wxGTK-3.2.2.1-r2 (gnome-keyring ? app-crypt/libsecret)

equery d secretstorage
* These packages depend on secretstorage:
dev-python/keyring-23.13.1-r1 (>=dev-python/secretstorage-3.2[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?])
(test ? >=dev-python/secretstorage-3.2[python_targets_pypy3(-)?,python_targets_python3_10(-)?,python_targets_python3_11(-)?])
net-im/gajim-1.4.7-r2 (python_single_target_python3_10 ? >=dev-python/secretstorage-3.1.1[python_targets_python3_10(-)])
(python_single_target_python3_11 ? >=dev-python/secretstorage-3.1.1[python_targets_python3_11(-)])


An
Code:
eix --installed-with-use gnome-keyring
finds no matches.

Can I tell secret-service to rely on kwallet instead? And how?


Last edited by freifunk_connewitz on Tue May 16, 2023 8:44 am; edited 2 times in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Tue May 16, 2023 7:13 am    Post subject: Reply with quote

Note that KWallet will, eventually, one day, maybe have its own secret service implementation: https://bugs.kde.org/show_bug.cgi?id=313216. It was merged, but still quite buggy in practice so isn't usable yet.
Back to top
View user's profile Send private message
rab0171610
Apprentice
Apprentice


Joined: 24 Dec 2022
Posts: 299

PostPosted: Tue May 16, 2023 7:49 am    Post subject: Reply with quote

sam_ wrote:
Note that KWallet will, eventually, one day, maybe have its own secret service implementation: https://bugs.kde.org/show_bug.cgi?id=313216. It was merged, but still quite buggy in practice so isn't usable yet.

Im not gonna hold my breath waiting for that one. Ksecretservice was supposed to implement this and replace Kwallet in this aspect but never did.
The options for net-im/element-desktop-bin are:
Code:
gnome-base/gnome-keyring
app-admin/keepassxc

via virtual/secret-service. Pick your poison because, as Sam pointed out, Kwallet does not work with Element-desktop.
Back to top
View user's profile Send private message
freifunk_connewitz
Apprentice
Apprentice


Joined: 08 Feb 2006
Posts: 231

PostPosted: Tue May 16, 2023 8:43 am    Post subject: Reply with quote

Thank you both for the explanation.

... and again I really dont understand why everybody in my bubble moved away from Jabber to Matrix (and Element).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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