OpenPAYGO-Token
Project description
⚠️ IMPORTANT NOTE
This is repository is deprecated. Please upgrade to OpenPAYGO-python.
Background:
The OpenPAYGO suite consists of multiple components (Token, Pass, Link, etc..). In the past this repository only hosted the Python code for the Token component. To improve user experience all OpenPAYGO functionality is now hosted in a shared library OpenPAYGO-python.
Further information:
The OpenPAYGO Token is an open source token system to enable PAYGO functionality in new products.
OpenPAYGO Token v2
This project is supported by the EnAccess Foundation (https://enaccess.org/)
Hardware implementation with generic C version + Arduino + schematics: https://github.com/EnAccess/OpenPAYGO-HW
INSTALLATION
- Run
pip install openpaygo-token
- That's it, you're ready to go. Check the test scenarios to see how to use the libraries to generate and check tokens.
GETTING STARTED
-
Have a look at the general documentation: https://github.com/EnAccess/OpenPAYGO/blob/master/documentation/general_documentation.pdf
-
The source code of the example implementation into a device (including an example for begginers implemented on Arduino): https://github.com/EnAccess/OpenPAYGO-HW
-
The guide for the example, including a quick test to see if you have implemented the code properly into your system: https://github.com/EnAccess/OpenPAYGO/blob/master/documentation/example_implementation_documentation.pdf
CHANGELOG
2022-09-05: v2.2.0 release
- Packaged into a PIP package (thanks to the work of @wan5xp)
- Folder structure cleanup
- Tests improvements
2021-06-24: v2.1.5 release
- Added padding of tokens with 0 directly to the generator
- Modified tests to work with recommended settings for unordered token entry
2021-05-04: v2.1.4 release
- Added tool to automatically generate spreadsheets with tokens for the test procedure
- Clarify ambiguity about the re-enabling of PAYG
- Ensured the example implementations used the recommended values
- Added full test procedure for the device simulator
- Clarified UI to differentiate between invalid and already used
2020-10-23: v2.1.1 release
- Added tool to generate CSV files with device data; the data can then be used for factory setup and software setup
- Added a tool to flash device data onto devices in factory (from the CSV file); it is compatible with the Arduino examples of the hardware repository
2019-11-15: v2.1.0 release
- Added documentation about how to allow entry of slightly older tokens on device (unordered token entry)
- Added an example of unordered token entry (with test scenario) on the Python implementation
- Ensured compatibility of the Python code with Python v2.7+ (in addition to Python 3+ already supported).
Note: This version is fully retro-compatible with the v2.0, the tokens themselves do not change. Changes can be implemented on devices that wish to support unordered token entry but are not required. No change is required on servers.
2019-10-10: v2.0.0 release
- Improved the test suite
- Added an extra example in the implementation documentation
- Bugfix in the example server implementation leading to count not always being updated correctly
- Bugfix in the update of count in the python device simulator
2019-09-27:
- Added signed independent security audit
- Added documentation as PDF
2019-09-06: v2.0 rc1
- Added extended token example implementation
2019-08-28: v2.0 beta
- Fully functional version with all v2.0 features
2019-07-19: v2.0 alpha
- First functional pre-release version
Note: The v1.0 version was only provided to a few partners for a limited beta test and to gather feedback useful to make the v2.0, it is not published here, is not compatible with the v2.0 and should not be used in production.
PUBLISHING
(For internal use of Solaris Offgrid) To publish run:
python setup.py sdist
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file openpaygo-token-2.4.0.tar.gz
.
File metadata
- Download URL: openpaygo-token-2.4.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf786e198059d2416d9af360daa4ee9311ee70270e08ec965f9e49bd24fa795 |
|
MD5 | a0931c35395b5e024e43fdd51bb58632 |
|
BLAKE2b-256 | 230e3be20ec396a209b7644cf76ae46fade2ce3cd2ceaffcc318778f3f091eda |