Task #2183
how should GnuPG identities be mapped to XMPP/OTR?
Status: | New | Start date: | 10/22/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | 0.3 | |||
Component: |
Description
KeySync should parse the account uid when it is looking for DSA subkeys to import. The tricky part is how to associate a given uid with a given subkey. If there is only one DSA subkey, then it can be used to represent all of the UIDs in the key. The current assumption is to use all DSA subkeys for OTR. But we don't want to copy secret key material around when we don't have to, so that should be changed.
We're going to start with only XMPP since its an open standard, its the most widely implemented, it uses email uids, and everything we are interested in supports it.
possible regex for uid otr detect, finds otr: keyid
:otr_key = re.search(r'otr\\x3a(.{8})', uid ).group(1)