Zolfa 2954e0856c | 2 years ago | |
---|---|---|
pyjod | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
pyproject.toml | 2 years ago | |
setup.cfg | 2 years ago | |
test.png | 2 years ago |
Open-source implementation of the Strong Customer Authentication client agent used by the italian provider Poste Italiane S.p.A.
In conclusion: USE IT ONLY AT YOUR RISKS, UNDER YOUR RESPONSABILITY, AND IF YOU KNOW VERY WELL WHAT YOU ARE DOING!
All the following instruction assumes that you are using a BASH shell under Linux, you will have to adapt them if you use a different Operating System or a different shell.
mkdir -p ~/.venvs
python3 -m venv ~/.venvs/pyjod
source ~/.venvs/pyjod/bin/activate
pyjod
and the optional dependencies you want
# For a basic installation
pip install "git+https://projects.lilik.it/zolfa/pyjod"
# To include QR generator for OTP Authenticator apps
pip install "git+https://projects.lilik.it/zolfa/pyjod#egg=pyjod[qr]"
# To include also the QR screen scanner for instant authentication
pip install "git+https://projects.lilik.it/zolfa/pyjod#egg=pyjod[qr,scanqr]"
$PATH
ln -s ~/.venvs/pyjod/bin/posteid ~/.local/bin/posteid
posteid
in a terminal, you will be guided into logging in and
configuring the application and enroling the device to your account.
posteid
posteid
again to check the status of
your device-account enrolment.posteid otp
posteid authorize
posteid qr
posteid scanqr
posteid revoke