Py2fa-cli

Latest version: v1.1.1

Safety actively analyzes 688803 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.0

This release adds support for storing secrets as `otpauth://` URIs.

The hardcoded TOTP interval of 30 seconds is removed. If an `otpauth://` URI specifies a TOTP interval different from the default value of 30 seconds, the code will be generated correctly.

Full changelog: https://github.com/arcctgx/py2fa-cli/compare/v1.0.1...v1.1.0

1.0.1

This release fixes a bug where entering a malformed secret into the configuration file would cause `py2fa` to crash when trying to generate a TOTP code. The program now prints a human-readable error message instead.

Command-line arguments are now handled with `argparse`. `-v/--version` switch has been added. This release also includes some `README.md` tweaks and internal refactoring.

Full changelog: https://github.com/arcctgx/py2fa-cli/compare/v1.0.0.post2...v1.0.1

1.0.0.post2

With this post-release the project is released on PyPI. There are no functional changes to the application, only the installation method is improved and `README.md` is updated.

Release `v1.0.0.post1` is skipped. It was supposed to be the initial PyPI release, but it turned out that PyPI did not allow me to use the name `py2fa`. For this reason, the application was renamed to `py2fa-cli` in `v1.0.0.post2`, which became the initial PyPI release.

This release is dedicated to my company-issued phone that decided to suddenly die, which forced me to figure out how to replace Microsoft Authenticator with this Python application.

Full changelog: https://github.com/arcctgx/py2fa-cli/compare/v1.0.0...v1.0.0.post2

1.0.0

I wrote the first version of this program a few years ago. It only supported a single service, and its TOTP secret was hardcoded.

As 2FA is becoming widespread, I decided to update the program so that the secrets are configurable, and to release it. Maybe it will be useful to somebody.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.