Closed kushaldas closed 4 years ago
I am thinking what if we should just hold the fingerprints in the all the other caches, and get retrieve the key from the fingerprint_cache
as required. Will make it a bit simpler I think. I am also adding a patch to store the UIDs in the Key
objects. So, we can easily identify which all places need to be updated for deletion.
@redshiftzero what do you think?
We don't need it any more as now we have a SQLite based KeyStore via https://github.com/kushaldas/johnnycanencrypt/pull/27
Right now we only delete from the
fingerprints_cache
but we also havevalues_cache
andemails_cache
andnames_cache
.