summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2012-12-24 11:31:58 -0200
committerdrebs <drebs@leap.se>2012-12-24 11:31:58 -0200
commit15198a7473398a6aa66ac4ab8d6da70bda745bf7 (patch)
tree5494d578e605d367dfb9bbdbb34b8dc07c3e2632 /__init__.py
parente6fc834f64863a7b3b9a60e540107bbcbd554981 (diff)
GPGWrapper extends gnupg.GPG
Diffstat (limited to '__init__.py')
-rw-r--r--__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index 6a3707ea..abec6488 100644
--- a/__init__.py
+++ b/__init__.py
@@ -7,7 +7,7 @@ import string
import random
import cStringIO
import hmac
-from soledad.util import GPGWrapper
+from util import GPGWrapper
class Soledad(object):
@@ -85,3 +85,6 @@ class Soledad(object):
def decrypt_symmetric(self, doc_id, data):
h = hmac.new(self._secret, doc_id).hexdigest()
return self.decrypt(data, passphrase=h)
+
+ #def publish_pubkey(self):
+ # return self._gpg.export_keys(