{ "info": { "author": "Peter Pakos", "author_email": "peter.pakos@wandisco.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: System :: Systems Administration :: Authentication/Directory" ], "description": "otp\n===\n\nTool to generate One-Time Passwords\n\nPyPI package: `myotp `__\n\nIf you spot any problems or have any improvement ideas then feel free to\nopen an issue and I will be glad to look into it for you.\n\nInstallation\n------------\n\nA recommended way of installing the tool is pip install.\n\nOnce installed, a command line tool ``otp`` should be available in your\nsystem's PATH.\n\npip install\n~~~~~~~~~~~\n\nThe tool is available in PyPI and can be installed using pip:\n\n::\n\n $ pip install --user myotp\n $ otp --help\n\nManual install\n~~~~~~~~~~~~~~\n\nRun the following command to install required Python modules:\n\n::\n\n $ git clone https://github.com/peterpakos/otp.git\n $ cd otp\n $ pip install --user -r requirements.txt\n $ ./otp --help\n\nUsage\n-----\n\n::\n\n $ otp --help\n usage: otp [--help] [--version] key\n\n Tool to generate One-Time Passwords\n\n positional arguments:\n key key or service name from ~/.otpkeys\n\n optional arguments:\n --help show this help message and exit\n --version show program's version number and exit\n\nExamples\n--------\n\n::\n\n $ otp BEXUS3AVCUU7HYU4OZQ44WFXMULPNQB2TKQ4YCNUASPXMPEH6YAZ3IACFM5VEGUQ\n 770400\n\n.. _key-file-otpkeys:\n\nKey file ~/.otpkeys\n-------------------\n\nYou can save your keys to ~/.otpkeys file using ``service=key`` format,\nfor example:\n\n::\n\n $ cat ~/.otpkeys\n aws=N5VEJBTUA553BYJTTTUGS3GANKVDECG62RHVIOV2FLYR5THC726ZOIOF4SQZZ5NV\n google=QYDL7HS7LHPVKX7GGYKYIP3UEYOML2IENWYQD5NHYGETBZIRWWODKQWC3PRNQ3FO\n facebook=ZBSLA3KGE4PEXCEGIJ57AKJLOHW2S3ABQNOOWZVV3HOO4Q3455BOG6BRNU5M2QK4\n\nThen you can generate OTP, by running:\n\n::\n\n $ otp {service}\n\nExample:\n\n::\n\n $ otp aws\n 443782\n\n $ otp google\n 760698\n\n $ otp facebook\n 009176\n\nAuto copy OTP to clipboard (Mac OS X)\n-------------------------------------\n\nAdd the following code at the end of your ``~/.bashrc`` file (change\npath to otp if needed):\n\n::\n\n otp_func() {\n if code=$(/usr/local/bin/otp $1 2>&1); then\n printf \"%s\\n\" \"$code\" | tee /dev/tty | pbcopy\n else\n printf \"%s\\n\" \"$code\" >&2\n return 1\n fi\n }\n alias otp='otp_func'\n\nExample:\n\n::\n\n $ vim ~/.bashrc\n $ source ~/.bashrc\n $ otp cloud\n 324982\n\nAt this point the above OTP should be in the clipboard.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/peterpakos/otp", "keywords": "otp one time password generator auth", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "myotp", "package_url": "https://pypi.org/project/myotp/", "platform": "", "project_url": "https://pypi.org/project/myotp/", "project_urls": { "Homepage": "https://github.com/peterpakos/otp" }, "release_url": "https://pypi.org/project/myotp/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "Tool to generate One-Time Passwords", "version": "1.1.2" }, "last_serial": 3558899, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "80494eaa572ba290c0f18625058b2c51", "sha256": "ef4454869de425c43f5bc5b1d2b75d9dddba79fb061c922524a93fa4779306fb" }, "downloads": -1, "filename": "myotp-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "80494eaa572ba290c0f18625058b2c51", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7404, "upload_time": "2018-01-07T20:36:47", "url": "https://files.pythonhosted.org/packages/24/2b/dda4835059d7aca1b1ca276e2f42e4667e72facebd0c0cbcd3593cd8b1fb/myotp-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ace168b13009ca41b6ecdd4e8d048d88", "sha256": "9956dfffbb0cc0df7c1a5b7c88bc77a80112d0a9f0edc2e89626678a4b3b69a7" }, "downloads": -1, "filename": "myotp-1.1.0.tar.gz", "has_sig": false, "md5_digest": "ace168b13009ca41b6ecdd4e8d048d88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4227, "upload_time": "2018-01-07T20:36:49", "url": "https://files.pythonhosted.org/packages/c3/4f/4046916f3c32104e4ed8c688fb94c07b12872b9ee1392d1a543fc6fe5546/myotp-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "2d7206d409c9624e9d70a2501f172572", "sha256": "dee0bd465f3ded90667cc90a291981ebf3a10abb737784cabf2eee0bc647eea5" }, "downloads": -1, "filename": "myotp-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d7206d409c9624e9d70a2501f172572", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7522, "upload_time": "2018-01-07T20:56:27", "url": "https://files.pythonhosted.org/packages/0d/3e/58addcde7f94c49fcb4cfb2d3dbf956146bd1d5d9a41d731898647b43c27/myotp-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc729ff614db1940ffebf70504f7007c", "sha256": "f6955e46b5a4420538f3988d7c9be246fa2072f577203c96049c15e60d3f6a6e" }, "downloads": -1, "filename": "myotp-1.1.1.tar.gz", "has_sig": false, "md5_digest": "cc729ff614db1940ffebf70504f7007c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4303, "upload_time": "2018-01-07T20:56:29", "url": "https://files.pythonhosted.org/packages/ac/9d/137f7f3ed4658c3a806e3fa0d35c59ba3f189a4121ed762ab326de62c177/myotp-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "c4732686f89d5a8e25f5d854ba6e95f2", "sha256": "8ad5aafc21a3d46fa6233eec115120c60d792d177e84def53a98f8b5a508003e" }, "downloads": -1, "filename": "myotp-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4732686f89d5a8e25f5d854ba6e95f2", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 7500, "upload_time": "2018-02-07T00:25:08", "url": "https://files.pythonhosted.org/packages/24/d2/dc0225918712b60c753a75f4869b4444754af89c9282b3970695d2ef7115/myotp-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e12c6041903d777948b1d66067967b2", "sha256": "1c1c07f4300a15d7e5feae1e0ace8efaecc32af56de0f61dae2ac15ec5277c46" }, "downloads": -1, "filename": "myotp-1.1.2.tar.gz", "has_sig": false, "md5_digest": "5e12c6041903d777948b1d66067967b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4280, "upload_time": "2018-02-07T00:25:10", "url": "https://files.pythonhosted.org/packages/cb/29/667ecb3450eefd9acf266d902d13c72c94d32aef504a973726fff2d373ff/myotp-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4732686f89d5a8e25f5d854ba6e95f2", "sha256": "8ad5aafc21a3d46fa6233eec115120c60d792d177e84def53a98f8b5a508003e" }, "downloads": -1, "filename": "myotp-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c4732686f89d5a8e25f5d854ba6e95f2", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 7500, "upload_time": "2018-02-07T00:25:08", "url": "https://files.pythonhosted.org/packages/24/d2/dc0225918712b60c753a75f4869b4444754af89c9282b3970695d2ef7115/myotp-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e12c6041903d777948b1d66067967b2", "sha256": "1c1c07f4300a15d7e5feae1e0ace8efaecc32af56de0f61dae2ac15ec5277c46" }, "downloads": -1, "filename": "myotp-1.1.2.tar.gz", "has_sig": false, "md5_digest": "5e12c6041903d777948b1d66067967b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4280, "upload_time": "2018-02-07T00:25:10", "url": "https://files.pythonhosted.org/packages/cb/29/667ecb3450eefd9acf266d902d13c72c94d32aef504a973726fff2d373ff/myotp-1.1.2.tar.gz" } ] }