Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
.. image:: https://img.shields.io/pypi/v/django-otp-yubikey?color=blue :target: https://pypi.org/project/django-otp-yubikey/ :alt: PyPI .. image:: https://img.shields.io/readthedocs/django-otp-yubikey :target: https://django-otp-yubikey.readthedocs.io/ :alt: Documentation .. image:: https://img.shields.io/badge/github-django--agent--trust-green :target: https://github.com/django-otp/django-otp-yubikey :alt: Source
This is a django-otp plugin that handles YubiKey <https://www.yubico.com/yubikey>
_ devices using the Yubico OTP algorithm. This
includes two device definitions: one to verify YubiKey tokens locally and
another to verify them against a web service <https://www.yubico.com/yubicloud>
_.
See django-otp <https://pypi.org/project/django-otp>
_ for more information on
the OTP framework.
.. end-of-doc-intro
This project is built and managed with hatch
. If you don't have hatch, I
recommend installing it with pipx
: pipx install hatch
.
pyproject.toml
defines several useful scripts for development and testing.
The default environment includes all dev and test dependencies for quickly
running tests. The test
environment defines the test matrix for running the
full validation suite. Everything is executed in the context of the Django
project in test/test_project.
As a quick primer, hatch scripts can be run with hatch run [<env>:]<script>
.
To run linters and tests in the default environment, just run
hatch run check
. This should run tests with your default Python version and
the latest Django. Other scripts include:
To run the full test matrix, run hatch run test:run
. You will need multiple
specific Python versions installed for this.
You can clean up the hatch environments with hatch env prune
, for example to
force dependency updates.
.. _hatch: https://hatch.pypa.io/ .. _pipx: https://pypa.github.io/pipx/
FAQs
A django-otp plugin that verifies YubiKey OTP tokens.
We found that django-otp-yubikey demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.