forked from xafero/java-keyring
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
090f04f
commit fcb06de
Showing
5 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||
<busconfig> | ||
|
||
<!-- Our well-known bus type, do not change this --> | ||
<type>system</type> | ||
|
||
<!-- Fork into daemon mode --> | ||
<fork/> | ||
|
||
<!-- This is a setuid helper that is used to launch system services --> | ||
<servicehelper>/lib/dbus-1/dbus-daemon-launch-helper</servicehelper> | ||
|
||
<!-- Write a pid file --> | ||
<pidfile>/tmp/dbus-pid</pidfile> | ||
|
||
<!-- Only listen on a local socket. (abstract=/path/to/socket | ||
means use abstract namespace, don't really create filesystem | ||
file; only Linux supports this. Use path=/whatever on other | ||
systems.) --> | ||
<listen>unix:path=/tmp/test_system_bus_socket</listen> | ||
</busconfig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
keyring="$1" | ||
|
||
set -x | ||
if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ] && [ "$keyring" == "gnome" ]; then | ||
export $(dbus-launch) | ||
if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ] && [ "$keyring" == "gnome" ]; then | ||
export $(dbus-launch) # --config-file=${GITHUB_WORKSPACE}/.github/workflows/dbus.xml) | ||
eval "$(echo '\n' | gnome-keyring-daemon --unlock)" | ||
echo [email protected] | secret-tool store --label="main" email address | ||
PASS=$(secret-tool lookup email address) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters