summaryrefslogtreecommitdiff
path: root/__init__.py
diff options
context:
space:
mode:
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(