dotpla


Namedotpla JSON
Version 0.1.0 PyPI version JSON
download
home_page
SummaryDjango One Time Password Link Authentication
upload_time2023-01-16 16:08:50
maintainer
docs_urlNone
authorThe Epic
requires_python>=3.8,<4.0
license
keywords django authentication
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dotpla: Django One Time Password Link Authentication

This app adds a new Authentication method to Django, which allows you to generate links with a one-time password so you can allow users to log in directly, without having to define a password. It is **not** an implementation of two-factor authentication (2FA).

## Status

**Warning:** this project is currently in development, and only supports Wagtail, for now. It is likely to change as/if I have time, but I am developing it primarily for my own uses, so it may not always be the highest priority.

## Rationale and Use Cases

This app can be used to share data with selected users from the deep web, without requiring them to register or login. You can create the user account for them, generate a one-time password, and send them a link that will log them in automatically. This allows you to protect data from unauthorized access, but also makes it easy for end-users to access it.

Some potential use cases:

- Share a tailored version of your CV or cover letter with potential employers.
- Write a tailored sales pitch for potential customers.
- Share files with select users.

## Installation

### Pre-requirements

- Django 3.2 or greater.
- Python 3.8 or greater.
- The [Django Messages Framework](https://docs.djangoproject.com/en/dev/ref/contrib/messages/) must be enabled for your project if you want passwords to be displayed in the admin interface.
- *Optional:* [Wagtail CMS](https://wagtail.org/). Tested with Wagtail 4.0.

## Usage

TODO.

## Caveats

- The `authenticate_with_otp` method has potential race conditions allowing users to log in more times than they should. As I only use this with trusted users, it's insignificant enough for me to ignore.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "dotpla",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "django,authentication",
    "author": "The Epic",
    "author_email": "theepic.dev.83@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/39/8a/bd70122c41c64eb4c3ef1ec231baa8a5f8ddbc79af974123effc0aeac92e/dotpla-0.1.0.tar.gz",
    "platform": null,
    "description": "# dotpla: Django One Time Password Link Authentication\n\nThis app adds a new Authentication method to Django, which allows you to generate links with a one-time password so you can allow users to log in directly, without having to define a password. It is **not** an implementation of two-factor authentication (2FA).\n\n## Status\n\n**Warning:** this project is currently in development, and only supports Wagtail, for now. It is likely to change as/if I have time, but I am developing it primarily for my own uses, so it may not always be the highest priority.\n\n## Rationale and Use Cases\n\nThis app can be used to share data with selected users from the deep web, without requiring them to register or login. You can create the user account for them, generate a one-time password, and send them a link that will log them in automatically. This allows you to protect data from unauthorized access, but also makes it easy for end-users to access it.\n\nSome potential use cases:\n\n- Share a tailored version of your CV or cover letter with potential employers.\n- Write a tailored sales pitch for potential customers.\n- Share files with select users.\n\n## Installation\n\n### Pre-requirements\n\n- Django 3.2 or greater.\n- Python 3.8 or greater.\n- The [Django Messages Framework](https://docs.djangoproject.com/en/dev/ref/contrib/messages/) must be enabled for your project if you want passwords to be displayed in the admin interface.\n- *Optional:* [Wagtail CMS](https://wagtail.org/). Tested with Wagtail 4.0.\n\n## Usage\n\nTODO.\n\n## Caveats\n\n- The `authenticate_with_otp` method has potential race conditions allowing users to log in more times than they should. As I only use this with trusted users, it's insignificant enough for me to ignore.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Django One Time Password Link Authentication",
    "version": "0.1.0",
    "split_keywords": [
        "django",
        "authentication"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "123a1a82a6dfd3a34264e1a11d2bd4d98534fb51831b1cb8acedecaaa7c1b7f0",
                "md5": "948831f48603ceb562ba118b5b674f78",
                "sha256": "c645145f4d1c6cbab0e0eb7a49a6f68e7f9a2b27685a28a889dfeb2af099452c"
            },
            "downloads": -1,
            "filename": "dotpla-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "948831f48603ceb562ba118b5b674f78",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 6822,
            "upload_time": "2023-01-16T16:08:49",
            "upload_time_iso_8601": "2023-01-16T16:08:49.282467Z",
            "url": "https://files.pythonhosted.org/packages/12/3a/1a82a6dfd3a34264e1a11d2bd4d98534fb51831b1cb8acedecaaa7c1b7f0/dotpla-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "398abd70122c41c64eb4c3ef1ec231baa8a5f8ddbc79af974123effc0aeac92e",
                "md5": "9046ff16fc71206181ea1d04a2d2237a",
                "sha256": "c88d24eda785375a4c719e5afbdad1ea43b9c97a08d52e74e6962eaa4cc0500e"
            },
            "downloads": -1,
            "filename": "dotpla-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "9046ff16fc71206181ea1d04a2d2237a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 5518,
            "upload_time": "2023-01-16T16:08:50",
            "upload_time_iso_8601": "2023-01-16T16:08:50.828405Z",
            "url": "https://files.pythonhosted.org/packages/39/8a/bd70122c41c64eb4c3ef1ec231baa8a5f8ddbc79af974123effc0aeac92e/dotpla-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-16 16:08:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "dotpla"
}
        
Elapsed time: 0.05939s