katzenpost_thin_client 0.0.1

This rust crate provides an async thin client library for Katzenpost, a post quantum decryption mixnet.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python3

import asyncio

from thinclient import ThinClient, Config, pretty_print_obj

async def main():
    cfg = Config()
    client = ThinClient(cfg)
    loop = asyncio.get_event_loop()
    await client.start(loop)
    client.pretty_print_pki_doc(client.pki_document())
    client.stop()

if __name__ == '__main__':
    asyncio.run(main())