Skip to content
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

Maintain cache of blinded IDs #16

Open
jagerman opened this issue Feb 16, 2023 · 0 comments
Open

Maintain cache of blinded IDs #16

jagerman opened this issue Feb 16, 2023 · 0 comments

Comments

@jagerman
Copy link
Member

jagerman commented Feb 16, 2023

Right now Session can struggle a bit with dynamically calculating unblinded IDs*, but libsession-util ought to be able to computing the blindings of known contacts quite easily and maintain either a semi-persistent (calculated on startup) or fully persistent (dumped to DB) cache of them to provide fast looking to Session clients.

* - specifically, to figure out if a given blinded ID maps to a known contact. You can't go blinded -> session ID, but given all your known session IDs, you can go from them to their blinded versions for each server pubkey and see if anything matches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant