summaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2012-12-20 12:42:34 -0200
committerdrebs <drebs@leap.se>2012-12-20 12:42:34 -0200
commite0164aba2764ed36a24d7638b05c3075852ea3c1 (patch)
tree70c89abf5f018fc60e9903880053c6ff3d6f6570 /util.py
parent810d2d6ebffc560900a115c97b0fced8a594faa6 (diff)
Fix OpenPGP key generation.
Diffstat (limited to 'util.py')
-rw-r--r--util.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/util.py b/util.py
index 1485fce1..41fd4548 100644
--- a/util.py
+++ b/util.py
@@ -38,6 +38,12 @@ class GPGWrapper():
def import_keys(self, data):
return self.gpg.import_keys(data)
+ def gen_key_input(self, **kwargs):
+ return self.gpg.gen_key_input(**kwargs)
+
+ def gen_key(self, input):
+ return self.gpg.gen_key(input)
+
#----------------------------------------------------------------------------
# u1db Transaction and Sync logs.