[Tkabber-dev] r2112 - in trunk/tkabber-plugins: . otr

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Jan 27 16:02:28 MSK 2014


Author: sergei
Date: 2014-01-27 16:02:28 +0400 (Mon, 27 Jan 2014)
New Revision: 2112

Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/otr/README
Log:
	* otr/README: Fixed info on how to use private keys.


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2014-01-27 11:54:30 UTC (rev 2111)
+++ trunk/tkabber-plugins/ChangeLog	2014-01-27 12:02:28 UTC (rev 2112)
@@ -15,6 +15,8 @@
 	* otr/tclotr/key.tcl: Use unix line endings when exporting the DSA
 	  private key. Refuse to import keys which aren't 1024 bit long.
 
+	* otr/README: Fixed info on how to use private keys.
+
 2014-01-26  Sergei Golovan <sgolovan at nes.ru>
 
 	* otr/tclotr/otr.tcl: Fixed refreshing private connection if the

Modified: trunk/tkabber-plugins/otr/README
===================================================================
--- trunk/tkabber-plugins/otr/README	2014-01-27 11:54:30 UTC (rev 2111)
+++ trunk/tkabber-plugins/otr/README	2014-01-27 12:02:28 UTC (rev 2112)
@@ -14,12 +14,16 @@
 For Windows this plugin also requires the Memchan package. Its [random]
 channel is used as a PRNG.
 
-At the current stage to use this plugin you'll have to save your
-long term DSA private key in PEM format to the otr.private.key.pem
-file in Tkabber's config directory.
+To actually use OTR you'll need a 1024 bit DSA private key (OTR protocol
+supports only 1024 bit keys). There are two ways of making it work:
 
-To generate it you can use OpenSSL:
+1) You can generate a new key directly in Tkabber (Main menu ->
+Tkabber -> OTR -> Manage private keys)
 
+2) You can import an existing key stored in PEM format.
+To generate it outside Tkabber you can use OpenSSL:
+
 openssl dsaparam -out dsaparam.pem 1024
-openssl gendsa -out otr.private.key.pem dsaparam.pem
+openssl gendsa -out otr.private.key dsaparam.pem
 
+Happy hacking!



More information about the Tkabber-dev mailing list