|
From: <st...@us...> - 2007-01-25 14:51:07
|
Revision: 292
http://safekeep.svn.sourceforge.net/safekeep/?rev=292&view=rev
Author: stelian
Date: 2007-01-25 06:50:51 -0800 (Thu, 25 Jan 2007)
Log Message:
-----------
Fix 'safekeep -k --deploy' problem.
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2007-01-25 04:57:07 UTC (rev 291)
+++ safekeep/trunk/safekeep 2007-01-25 14:50:51 UTC (rev 292)
@@ -612,10 +612,10 @@
break
elif action is 'deploy':
info('%s: Key do not exist, generating it now: %s' % (id, privatekeyfile))
- cmd = 'ssh-keygen -q -b 1024 -t dsa -N "" -C "SafeKeep auto generated key at %s@%s" -f %s' % \
+ gencmd = 'ssh-keygen -q -b 1024 -t dsa -N "" -C "SafeKeep auto generated key at %s@%s" -f %s' % \
(os.getlogin(), os.uname()[1], privatekeyfile)
- debug(cmd)
- if os.system(cmd):
+ debug(gencmd)
+ if os.system(gencmd):
error('%s: Failed to generate key %s. Skipping client.' % (id, privatekeyfile))
break
if not os.path.isfile(publickeyfile):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|