示例#1
0
def print_engine_infos():
    print "gpgme version:", core.check_version(None)
    print "engines:"

    for engine in core.get_engine_info():
        print engine.file_name, engine.version

    for proto in [protocol.OpenPGP, protocol.CMS]:
        print core.get_protocol_name(proto), core.engine_check_version(proto)
示例#2
0
def print_engine_infos():
    print "gpgme version:", core.check_version(None)
    print "engines:"

    for engine in core.get_engine_info():
        print engine.file_name, engine.version

    for proto in [protocol.OpenPGP, protocol.CMS]:
        print core.get_protocol_name(proto), core.engine_check_version(proto)
示例#3
0
文件: support.py 项目: gpg/gpgme
def init_gpgme(proto):
    core.engine_check_version(proto)