-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add nostr-keyring
#392
Comments
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
Closes #392 Signed-off-by: Yuki Kishimoto <[email protected]>
would love to learn more about what this is about :) just integrated keyring.rs in my project: https://forge.ftt.gmbh/janek/mostr/commit/b9f1d461fb2e113ae50b9afbfa6c972c69812ccc |
The idea is to provide an easy way to save the secret key on any platform (including mobile), using the OS keyring when available otherwise a custom Later could be implemented the It may be something like: NostrKeyring::create(<keys>);
let list = NostrKeyring::list();
let keyring = NostrKeyring::open(<public-key>);
let client = Client::new(keyring); It's just an idea :) |
I see you have some works at https://github.com/rust-nostr/nostr/tree/keyring-v2, what more needs to be done? I can help you on it, this feature quite useful for desktop app. |
Closes rust-nostr#392 Signed-off-by: Yuki Kishimoto <[email protected]>
That version was more focused on the custom I think could be good to just implement a I thought to another solution, that will involve the persistent database instead of a
|
I think the the persistent database solution a bit complex, since OS keyring is almost ready and fully tested. Or I wonder can we have something like |
I think going with keyring.rs directly is perfectly fine, because it allows providing custom storage backends: https://docs.rs/keyring/latest/keyring/#client-provided-credential-stores So an Android implementation could be made directly for the library for the benefit of everyone. |
No description provided.
The text was updated successfully, but these errors were encountered: