{ "info": { "author": "Satoshi Labs", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only" ], "description": "python-shamir-mnemonic\n======================\n\n.. image:: https://badge.fury.io/py/shamir-mnemonic.svg\n :target: https://badge.fury.io/py/shamir-mnemonic\n\nReference implementation of SLIP-0039: Shamir's Secret-Sharing for Mnemonic\nCodes\n\nAbstract\n--------\n\nThis SLIP describes a standard and interoperable implementation of Shamir's\nsecret sharing (SSS). SSS splits a secret into unique parts which can be\ndistributed among participants, and requires a specified minimum number of\nparts to be supplied in order to reconstruct the original secret. Knowledge of\nfewer than the required number of parts does not leak information about the\nsecret.\n\nSpecification\n-------------\n\nSee https://github.com/satoshilabs/slips/blob/master/slip-0039.md for full\nspecification.\n\nInstallation\n------------\n\nWith pip from GitHub:\n\n.. code-block:: console\n\n $ pip3 install https://github.com/trezor/python-shamir-mnemonic\n\nFrom local checkout for development:\n\n.. code-block:: console\n\n $ python3 setup.py develop\n\nCLI usage\n---------\n\nCLI tool is included as a reference and UX testbed. It is **very obviously insecure**.\nDO NOT USE it for generating or decoding any sort of serious secrets.\n\nWhen the :code:`shamir_mnemonic` package is installed, you can use the :code:`shamir` command:\n\n.. code-block:: console\n\n $ shamir create 3of5 # create a 3-of-5 set of shares\n\nUse :code:`shamir --help` or :code:`shamir --help` to get detailed help.\n\nIf you want to run the CLI from a local checkout without installing, use the following\ncommand:\n\n.. code-block:: console\n\n $ python3 -m shamir_mnemonic.cli\n\nTest vectors\n------------\n\nThe test vectors in vectors.json are given as a list of triples. The first member of the\ntriple is a description of the test vector, the second member is a list of mnemonics and\nthe third member is the master secret which results from combining the mnemonics. The\nmaster secret is encoded as a string containing two hexadecimal digits for each byte. If\nthe string is empty, then attempting to combine the given set of mnemonics should result\nin error. The passphrase \"TREZOR\" is used for all valid sets of mnemonics.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/trezor/python-shamir-mnemonic", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "shamir-mnemonic", "package_url": "https://pypi.org/project/shamir-mnemonic/", "platform": "", "project_url": "https://pypi.org/project/shamir-mnemonic/", "project_urls": { "Homepage": "https://github.com/trezor/python-shamir-mnemonic" }, "release_url": "https://pypi.org/project/shamir-mnemonic/0.1.0/", "requires_dist": [ "click (<8,>=7)", "colorama" ], "requires_python": ">=3.6", "summary": "SLIP-39 Shamir Mnemonics", "version": "0.1.0" }, "last_serial": 5614343, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2e8e1f853791ab423f84e3a700600b48", "sha256": "5e7cc1354697e304b7868fc01085bcd4b30bb2020b77b6cc5ceeb0c032d513a7" }, "downloads": -1, "filename": "shamir_mnemonic-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2e8e1f853791ab423f84e3a700600b48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15698, "upload_time": "2019-07-19T13:06:53", "url": "https://files.pythonhosted.org/packages/da/7b/be61fae6dc3685197e3de75d78bcab7b40caac3235a235b2f8170cfc1cd2/shamir_mnemonic-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "504f2f0f6dede9b0d881899795c9e893", "sha256": "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121" }, "downloads": -1, "filename": "shamir-mnemonic-0.1.0.tar.gz", "has_sig": false, "md5_digest": "504f2f0f6dede9b0d881899795c9e893", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15740, "upload_time": "2019-07-19T13:06:56", "url": "https://files.pythonhosted.org/packages/e4/b1/2b7966cde14ecb74564150ba7267a909e2472e9d8d7781579a2eeb84e98f/shamir-mnemonic-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2e8e1f853791ab423f84e3a700600b48", "sha256": "5e7cc1354697e304b7868fc01085bcd4b30bb2020b77b6cc5ceeb0c032d513a7" }, "downloads": -1, "filename": "shamir_mnemonic-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2e8e1f853791ab423f84e3a700600b48", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 15698, "upload_time": "2019-07-19T13:06:53", "url": "https://files.pythonhosted.org/packages/da/7b/be61fae6dc3685197e3de75d78bcab7b40caac3235a235b2f8170cfc1cd2/shamir_mnemonic-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "504f2f0f6dede9b0d881899795c9e893", "sha256": "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121" }, "downloads": -1, "filename": "shamir-mnemonic-0.1.0.tar.gz", "has_sig": false, "md5_digest": "504f2f0f6dede9b0d881899795c9e893", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 15740, "upload_time": "2019-07-19T13:06:56", "url": "https://files.pythonhosted.org/packages/e4/b1/2b7966cde14ecb74564150ba7267a909e2472e9d8d7781579a2eeb84e98f/shamir-mnemonic-0.1.0.tar.gz" } ] }