[OTR-users] PGP integration?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Jun 24 22:14:08 EDT 2013


On 06/24/2013 07:48 PM, Ximin Luo wrote:

> How do I do that?
> 
> I assume that GPG/OTR libraries have relevant APIs for manipulating keys, but
> you make it sound like there is some existing tool I can use.

GnuPG doesn't have any library interface but gpgme (which is actually a
C library that just execs the gpg executable).  I'm not sure about OTR
implementations.

Looking at ~/.irssi/otr/otr.key, it doesn't look like it would be hard
to generate the appropriate stanza based on an export of an OpenPGP key.

One possible place to start is the src/share/keytrans perl script in the
monkeysphere codebase (git://git.monkeysphere.info/monkeysphere), which
might just need a couple small changes to emit the right sort of data.
If you want to pursue that, feel free to discuss it on #monkeysphere on
irc.oftc.net or via the monkeysphere mailing list
<monkeysphere at lists.riseup.net>.  I know we'd be happy to see those changes.

Regards,

	--dkg


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cypherpunks.ca/pipermail/otr-users/attachments/20130624/0c6a3a0a/attachment.pgp>


More information about the OTR-users mailing list