Update of /cvsroot/tmda/tmda/bin
In directory usw-pr-cvs1:/tmp/cvs-serv9838/bin
Modified Files:
ChangeLog tmda-keygen
Log Message:
CRYPT_KEY is now longer a tmdarc variable, but is read from
CRYPT_KEY_FILE (defaulting to ~/.tmda/crypt_key).
Including CRYPT_KEY in the .tmdarc was a historical relic of TMS. In
retrospect, it makes more sense to stash the key in a separate file.
For one, it greatly reduces the risk of accidental key compromise
(e.g, newbies continually forget to remove CRYPT_KEY when including
their .tmdarc in mailing list messages).
It also makes .tmdarc contents safe to share since it will no longer
contain any sensitive information.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/ChangeLog,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -r1.194 -r1.195
--- ChangeLog 6 May 2002 22:22:55 -0000 1.194
+++ ChangeLog 14 May 2002 16:47:04 -0000 1.195
@@ -1,3 +1,7 @@
+2002-05-14 Jason R. Mastaler <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
+
+ * tmda-keygen (main): Print only the unquoted key.
+
2002-05-06 Jason R. Mastaler <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
* tmda-rfilter (logit): Log Reply-To if it exists in the message.
Index: tmda-keygen
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-keygen,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- tmda-keygen 27 Feb 2002 22:01:42 -0000 1.16
+++ tmda-keygen 14 May 2002 16:47:04 -0000 1.17
@@ -140,12 +140,12 @@
print "Oops, generated key is not 40-characters long, exiting!"
sys.exit()
- print "CRYPT_KEY =", '"' + key + '"'
-
+ print key
+
if not batch:
print
- print "Now paste the above line into your ~/.tmdarc file,"
- print "and make sure to keep your key secret!"
+ print "Now paste the above key into ~/.tmda/crypt_key"
+ print "and make sure to keep your key secret! (chmod 600
~/.tmda/crypt_key)"
# This is the end my friend.
_______________________________________________
tmda-cvs mailing list
http://libertine.org/lists/listinfo/tmda-cvs
|