OTP Generator
A Python tool to generate and verify One Time Password (OTP)
This tool is designed to enable developers generate and verify OTP using Python cyrptophy package.
An OtpServer class provides basic operations for generating and verifying OTP. There is no database support provided for saving to a given database rather hooks are provided as functions. The function hooks take two parameters: a callable and a data. The callable is any class, method, or function which should be executed when an event occurs. The data parameter is used to pass any set of information or data to the callable during execution.
The hooks simply perform a function call without any data processing or checks. Developers are expected to perform necessary modifications to make this tool fit their designed system(s).
Motivation
The OTP generator was developed as a means of authenticating user's email, mobile or identity.
Dependencies
This application depends on cryptography package. The target Python for current implementation is Python 3.8
Build Status
Version: 0.1.0
Current development of otp_generator is version 0.1.0. This is considered the Alpha Edition.
Features
Current build features include:
- Generate OTP with corresponding data for later verification of the generated code
- Verify OTP code using stored data that does not identify the generated OTP code.
It is assumed that all data generated for a given OTP code are securely saved. Developers are to ensure storage and retrieval of data. Various function hooks are provided to this end.
Contributing
Please visit application repo for further information on extending project. Ideas and comments will be reasonably appreciated.
Author
Current development is by Aniefiok Friday @frier17.
License
MIT License
For details read license contract here
Copyright 2021 @frier17
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://mit-license.org/
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an " AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for otp-generator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| otp_generator-0.1.0.tar.gz | 5.9 kB | Without provenance | Details for otp_generator-0.1.0.tar.gz |
Release files / otp_generator-0.1.0.tar.gz
| Download URL | otp_generator-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
392e45c066f5c2a8bf117e05750b915df82ced5d70674c8175fcc33e8814284e
|
|
BLAKE2b-256 checksum How to use checksums |
f7d563aa35419df0e56a1e6eccdfd1cd8ba7ff3064acc6427c79ffe737dfbdca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for otp-generator 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.