docker/libtrust in Python