notes/os/linux/internals/dbus/dbus-secret-service.txt
Ihar Hancharenka 2230446e86 m
2025-06-11 07:46:14 +03:00

66 строки
2.2 KiB
Plaintext

https://github.com/brotskydotcom/dbus-secret-service
/usr/share/dbus-1/
integration
https://lib.rs/crates/dbus-secret-service
https://github.com/swiesend/secret-service
https://github.com/hypfvieh/dbus-java
https://specifications.freedesktop.org/secret-service-spec/latest-single/
https://rtfm.co.ua/en/what-is-linux-keyring-gnome-keyring-secret-service-and-d-bus/
https://superuser.com/questions/536433/what-applications-provide-org-freedesktop-secrets-service
https://bilelmoussaoui.github.io/oo7/oo7/
https://github.com/bilelmoussaoui/oo7
gnome-keyring
files ~/.local/share/keyrings/
sudo dnf install gnome-keyring seahorse
keepassxc
https://gist.github.com/GrabbenD/6658c36a1c7fc7ee30ee2498647ca4c6
cp /usr/share/dbus-1/services/org.freedesktop.secrets.service ~/.local/share/dbus-1/services
cat $HOME/.local/share/dbus-1/services/org.freedesktop.secrets.service
[D-BUS Service]
Name=org.freedesktop.secrets
# Exec=/usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
Exec=/usr/bin/keepassxc
/usr/share/dbus-1/
/usr/share/dbus-1/services/
/usr/share/dbus-1/services/org.freedesktop.secrets.service
echo $XDG_RUNTIME_DIR
/run/user/1000
sudo dnf install xdg-desktop-portal xdg-desktop-portal-wlr xdg-desktop-portal-gtk libsecret
# everything is already installed
Register as the default Secret Service provider (DBus service)
https://github.com/keepassxreboot/keepassxc/issues/6274#issuecomment-2061095854
systemctl status --user xdg-desktop-portal{,-wlr,-gtk} | grep Active
systemctl status --user dbus-broker.service | grep Active
https://stackoverflow.com/questions/31702465/how-to-define-a-d-bus-activated-systemd-service
$ cat /usr/lib/systemd/system/systemd-hostnamed.service
...
[Service]
BusName=org.freedesktop.hostname1
...
$ readlink /usr/lib/systemd/system/dbus-org.freedesktop.hostname1.service
systemd-hostnamed.service
?
$ loginctl session-status
Unable to save Github Credentials on Linux
https://github.com/microsoft/vscode/issues/120392
[VSCode] default keyring
https://github.com/microsoft/live-share/issues/1782