summaryrefslogtreecommitdiff
path: root/src/leap/soledad/__init__.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2012-12-18 18:57:01 -0200
committerdrebs <drebs@leap.se>2012-12-18 18:57:01 -0200
commit4cd81148ec25cd6f1a9498345c7405a4d37a4012 (patch)
treef798e4bfbd34c271187dd0bd00bce09fc6ff1852 /src/leap/soledad/__init__.py
parentc0544a775a14f6d60b3f159c66eaff2332732346 (diff)
Correct typ0
Diffstat (limited to 'src/leap/soledad/__init__.py')
-rw-r--r--src/leap/soledad/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/__init__.py b/src/leap/soledad/__init__.py
index 835111a5..4325d773 100644
--- a/src/leap/soledad/__init__.py
+++ b/src/leap/soledad/__init__.py
@@ -45,9 +45,9 @@ class Soledad(object):
def _gen_secret(self):
self._secret = ''.join(random.choice(string.ascii_uppercase + string.digits) for x in range(self.SECRET_LENGTH))
- cyphertext = self._gpg.encrypt(self._secret, self._fingerprint, self._fingerprint)
+ ciphertext = self._gpg.encrypt(self._secret, self._fingerprint, self._fingerprint)
f = open(self.SECRET_PATH, 'w')
- f.write(str(cyphertext))
+ f.write(str(ciphertext))
f.close()