mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-21 18:23:48 +01:00
refactor(core): take the keyring store from proton-auth-rs
The Secret Service connection that reconnects after the provider restarts (B285) and the item replacement that oo7 before 0.7.0 needs (B291) moved to proton-auth-rs, shared with Proton Gallery and Proton Stream. pdfs-core keeps one KeyringStore per process; the session format, service and user are unchanged. The two secretservice tests moved with the code.
This commit is contained in:
1 parent
370abd58dc
commit
26272cda6c
9 files changed
+112
-242
No files matched your search
+1
-1
@@ -432,7 +432,7 @@ the build Fedora 45 and 46 ship as stable, from before oo7's
|
||||
[7fb11dd](https://github.com/linux-credentials/oo7/commit/7fb11dd111c4be8fec01996e3caa31c44fa962b3)
|
||||
("server: Write item changes to the keyring file"). See
|
||||
[the investigation](ISSUE-78.md#setsecret-is-kept-only-in-memory-in-fedoras-oo7).
|
||||
**Where:** `crates/pdfs-core/src/auth.rs`, `write_stored`; `crates/pdfs-core/src/secretservice.rs`
|
||||
**Where:** `crates/pdfs-core/src/auth.rs`, `write_stored`; `proton-auth-rs` (`secret_service.rs`, moved from `crates/pdfs-core/src/secretservice.rs`)
|
||||
|
||||
**Repro:** With oo7-daemon at e91b98a, save the session blob, save it again with a new refresh
|
||||
token, and restart oo7-daemon. The read after the restart returns the first blob. The keyring
|
||||
|
||||
Reference in new issue
Block a user