You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running this sample of code on headless linux (CentOS Linux release 8.4.2105)
``
ring, _ := keyring.Open(keyring.Config{
ServiceName: "example",
})
fmt.Printf("%s", i.Data](url))
``
i get this error message : No such interface 'org.freedesktop.DBus.Properties' on object at path /
also when trying the below:
dbus-run-session -- sh
gnome-keyring-daemon --unlock
password CTRL-D
then run the above code i again still getting an error
No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
any idea how to make the above code working with headless linux ?
The text was updated successfully, but these errors were encountered:
when running this sample of code on headless linux (CentOS Linux release 8.4.2105)
``
ring, _ := keyring.Open(keyring.Config{
ServiceName: "example",
})
err = ring.Set(keyring.Item{
Key: "foo",
Data: []byte("secret-bar"),
})
if(err != nil) {
log.Fatal(err)
}
i, _ := ring.Get("foo")
fmt.Printf("%s", i.Data](url))
``
i get this error message : No such interface 'org.freedesktop.DBus.Properties' on object at path /
also when trying the below:
dbus-run-session -- sh
gnome-keyring-daemon --unlock
password CTRL-D
then run the above code i again still getting an error
No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
any idea how to make the above code working with headless linux ?
The text was updated successfully, but these errors were encountered: