Works out of the box?
sudo apt install libsecret-1-0 libsecret-1-dev
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
Make sure VcXsrv / XLaunch is running without access controls.
sudo service dbus start
dbus-launch
gnome-keyring-daemon --components=secrets --start
keytar storage results:
secret-tool search account abjurstrom-test
[/org/freedesktop/secrets/collection/Default_5fkeyring/9]
label = keytar-workbench/abjurstrom-test
secret = HelloWorld
created = 2022-05-18 13:14:08
modified = 2022-05-18 13:14:08
schema = org.freedesktop.Secret.Generic
attribute.account = abjurstrom-test
attribute.service = keytar-workbench