def gen_key(self, input):
        args = ["--gen-key --batch"]
        result = self.result_map['generate'](self)
        f = _make_binary_stream(input, self.encoding)
        self._handle_io(args, f, result, binary=True)
        f.close()
        return result
Generate a key; you might use gen_key_input() to create the
dataset/ETHPy150Open buanzo/jiffy/gnupg.py/GPG.gen_key