Closed qrkourier closed 2 years ago
I reproduced this by creating a fresh identity enrollment token and running commands:
❯ python tools/get_zitilib.py
platform=Linux-x86_64
Downloading 1202029 from https://github.com/openziti/ziti-sdk-c/releases/download/0.28.7/ziti-sdk-0.28.7-Linux-x86_64.zip
# install latest from main after merging the enroll command fix for missing param 'args'
❯ pip install -i https://test.pypi.org/simple/ openziti==0.5.0.post0.dev7
...
Successfully installed openziti-0.5.0.post0.dev7
❯ pip show openziti
Name: openziti
Version: 0.5.0.post0.dev7
Summary: Ziti Python SDK
Home-page: https://github.com/openziti/ziti-sdk-py
Author: OpenZiti Developers
Author-email: developers@openziti.org
License: Apache 2.0
Location: /home/kbingham/.pyenv/versions/3.7.0/lib/python3.7/site-packages
Requires:
Required-by:
❯ ulimit -c unlimited
❯ export ZITI_LOG=4; valgrind -v python -m openziti enroll --jwt=/tmp/pyclient1.jwt --identity=/tmp/pyclient.json
...
resolved by @sabedevops in https://github.com/openziti/ziti-sdk-py/pull/18
This failed enrollment produces an empty identity config file
I have the Py SDK module installed as "editable" and have separately installed libziti.so with
python tools/get_zitilib.py
.My libc and OS versions