Open yvan-algoo opened 1 month ago
Hello @yvan-algoo ! I have to investigate a bit to take a look about which key is expected in secret manager. Hope find some time in next days :)
@yvan-algoo I think the documentation is wrong and the key should be (example for mon.tracim.fr) : trsync::mon.tracim.fr
.
@yvan-algoo If you are using trsync_manager
standalone (without trsync_systray
). Please not I just updated the repository with fixed version.
I'm publishing a new release.
@yvan-algoo I found how password should be manually stored. I updated the doc : https://github.com/buxx/trsync/commit/51ffeab4ac374f2ffc46121f7c70b0cd6272e92c
Thanks @buxx ! I tried what you explain but trsync still doesn't find the password. I don't know how these secret managers are queried, but maybe it is just Seahorse that is not "standard" and thus not compatible with trsync?
@yvan-algoo Seahorse is just a graphic interface for system secret manager. I tested with success deployment of trsync_manager
and manually set password with
secret-tool store --label "TrSync MyInstance" application rust-keyring service trsync::<instance address> username <linux logged username>
Are you able to "read" the password with command
secret-tool lookup application rust-keyring service trsync::<instance address like mon.tracim.fr> username <linux user like root>
?
Thanks for the explanation! It works now for me.
Here is what I understood, based on your explanations, my reading and some testing. It may be obvious but it was not for me, so it might be useful for others:
application = rust-keyring
service = trsync::<tracim instance FQDN>
username = <user running trsync_manager>
schema = org.freedesktop.Secret.Generic
is required or not.secret-tool
, as long as you provide a "filter" like:
secret-tool search --all xdg:schema org.gnome.keyring.Note
secret-tool search --all xdg:schema org.freedesktop.Secret.Generic
secret-tool search --all username <your username>
Maybe @buxx you could also add to the README.md the required attributes (application, service and username, and maybe schema)?
Thanks again :-)
Hi Bux,
I would like
trsync_manager
to retrieve the Tracim instance password has described in the README:algoo
trsync::algoo
trsync_manager
it says:Do you have a idea about what I am doing wrong?
Thanks, Yvan