Skip to main content

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:


OpenPAYGO Token

The OpenPAYGO Token is an open source token system to enable PAYGO functionality in new products.

Project Status GitHub Workflow Status License


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

  1. Run pip install openpaygo-token
  2. 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

  1. Have a look at the general documentation: https://github.com/EnAccess/OpenPAYGO/blob/master/documentation/general_documentation.pdf

  2. The source code of the example implementation into a device (including an example for begginers implemented on Arduino): https://github.com/EnAccess/OpenPAYGO-HW

  3. 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:

  1. python setup.py sdist
  2. twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openpaygo-token-2.4.0.tar.gz (18.4 kB view details)

Uploaded Source

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

Hashes for openpaygo-token-2.4.0.tar.gz
Algorithm Hash digest
SHA256 8cf786e198059d2416d9af360daa4ee9311ee70270e08ec965f9e49bd24fa795
MD5 a0931c35395b5e024e43fdd51bb58632
BLAKE2b-256 230e3be20ec396a209b7644cf76ae46fade2ce3cd2ceaffcc318778f3f091eda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page