GnuPG always has secring.gpg and pubring.gpg, breaking key detection method
|Status:||In Progress||Start date:||10/30/2013|
KeySync tries to guess whether there are any keys available from a given app based on the presence of the files that that app stores its OTR keys in. For example, pidgin stores them in
otr.fingerprints. If those files are not present, then OTR has not been used and there is no key material.
~/.gnupg/secring.gpg are created no matter what, but with 0 size. So we should check for the presence and whether size > 0
#2 Updated by abeluck about 4 years ago
- Status changed from New to In Progress
- Assignee set to abeluck
So at the abstract otrapp level, the key detection shouldn't be file based. We should use something like
has_keys() that each otrapp implements. For those apps where file detection makes sense, then they can still use it.
Implementing this should also fix 2050