From 15198a7473398a6aa66ac4ab8d6da70bda745bf7 Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 24 Dec 2012 11:31:58 -0200 Subject: GPGWrapper extends gnupg.GPG --- __init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '__init__.py') 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( -- cgit v1.2.3