New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New gnome keyring #73
base: main
Are you sure you want to change the base?
Conversation
31b6649
to
758f4be
Compare
Does it make sense to store the
and then, store the same session inside Collection,
with this way we get access to all the available sessions and we can retrieve a session based on an objectpath. wdyt? |
Storing the session is required yes, but not just it ObjectPath. Instead you need to store the Sesssion itself which would contain more information than just the object path. Ideally we can store it as |
b23a796
to
2ab4b4b
Compare
1f012ae
to
b1df587
Compare
Since Collection is not using and cannot be implemented (easily) Copy or Clone traits, the only way to clone a struct Collection is call Collection::new() passing getter values. Removed set_collections() setter. See: #73 (comment) Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
b1df587
to
9163fa1
Compare
e149b7c
to
7d584ae
Compare
95ebf46
to
d3d7410
Compare
01d1fa7
to
dd9a71a
Compare
Removed RwLock wrapper from sessions Removed async from all the methods See: #73 (comment) Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
989307f
to
1ea5e4e
Compare
69c5d72
to
9a7f106
Compare
This change fixes the login.keyring being missing from the `org.freedesktop.secrets` objects tree. Also, Implemented Clone trait for Service. Implemented Clone trait for Item. Updated Item::create_item. Fixed all the server side clippy warnings. Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
Login password can't be empty. So, included a `panic!` to handle it. Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
6b45d4b
to
9670b42
Compare
Need this change for the server side Prompt implementation. Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
a2b198b
to
872361c
Compare
Needed for server side SecretExchange implementation. Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
SecretExchange allows exchange of secrets between two processes on the same system without exposing those secrets. See https://gnome.pages.gitlab.gnome.org/gcr/gcr-4/class.SecretExchange.html Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
872361c
to
efacb95
Compare
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
3f33e2a
to
5297310
Compare
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
5297310
to
35e56b3
Compare
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
3ee5fc6
to
3049017
Compare
Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
3049017
to
6b1e08f
Compare
Switches #56 to use a branch from this repo so we can easily collaborate on it
I have also fixed most of my review comments on that PR so we can replace it with this one