{ "info": { "author": "Zaman", "author_email": "7amaaan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3 :: Only", "Topic :: Utilities" ], "description": "# wdpass\nWD Passport Ultra Complete Utilities for Linux.\n\nThanks to:\n- [Dan Lenski](https://github.com/dlenski) for [py_sg](https://pypi.org/project/py_sg/) (Python2)\n- [0-duke](https://github.com/0-duke) and [derekhe](https://github.com/derekhe) for [wdpassport-utils](https://github.com/derekhe/wdpassport-utils) (Python2)\n- [crypto-universe](https://github.com/crypto-universe/) for Python3 migration of [py_sg](https://github.com/crypto-universe/py_sg) and [wdpassport-utils](https://github.com/crypto-universe/wdpassport-utils)\n\n## Intro\n\nThis script let you unlock, change password and erase Western Digital Passport devices on Linux platform. \n\n## Install\n\n### Install Dependencies:\n- `lsscsi` package or any package provides `lsscsi` command.\n- `` header file in libraries. (`python3-dev` or `python3-devel` package)\n\nFor example on Fedora:\n\n```shell\nsudo dnf install lsscsi python3-devel\n```\n\n### Install `wdpass`\n```shell\nsudo python3 -m pip install wdpass\n```\n\n## Usage\n\nRun script as root. \n\nThere are few options:\n```\n-h, --help show this help message and exit\n```\nLists all possible arguments.\n\n```\n-s, --status Check device status and encryption type\n```\nGet device encryption status and cipher suites used.\n```\n-u, --unlock Unlock\n```\nYou will be asked to enter the unlock password. If everything is fine device will be unlocked.\n\n```\n-us, --unlock_with_saved_passwd Unlock with the password saved\n```\nUnlock using the saved password. If everything is fine device will be unlocked.\n\n```\n-sp, --save_passwd Save password\n```\nWhen unlock password, it will save user password to passwd.bin, so you can use \"-us\" for next time to auto unlock.\n\n```\n-m, --mount Enable mount point for an unlocked device\n```\nAfter unlock, your operating system still thinks that your device is a strange thing attached to his usb port and he don't know how to manage. You need this option to force the O.S. to rescan the device and handle it as a normal external usb harddrive.\n\n```\n-c, --change_passwd Change (or disable) password\n```\nThis option let you to encrypt your device, remove password protection and change your current password.\nIf device is \"without lock\" and you want it to be password protect leave the \"OLD password\" field empty and choose insert the new password.\nIf the device is password protected and you want to be as a normal unencrypted device, inser the old password and leave the \"NEW password\" field empty.\nIf you only want to change password do it as usual.\n\n```\n-e, --erase Secure erase device\n```\n\"Erase\" the device. This will remove the internal key associated to you password and all your data will be unaccessible. You will also lose your partition table and you will need to create a new one (you can use fdisk and mkfs).\n\n```\n-d DEVICE, --device DEVICE Force device path (ex. /dev/sdb). Usually you don't need this option.\n```\nThe script will try to auto detect the current device path of your WD Passport device.\nIf something is wrong or you want to manually specify the device path yourself you can use this option.\n\n## Disclaimer\nI'm in no way sponsored by or connected with Western Digital.\nUse any of the information contained in this repository at your own risk. I accept no\nresponsibility.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/7aman/wdpass", "keywords": "HDD WD MyPassport Unlocker WesternDigital", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "wdpass", "package_url": "https://pypi.org/project/wdpass/", "platform": "", "project_url": "https://pypi.org/project/wdpass/", "project_urls": { "Homepage": "http://github.com/7aman/wdpass", "source": "http://github.com/7aman/wdpass" }, "release_url": "https://pypi.org/project/wdpass/0.0.3/", "requires_dist": [ "py3-sg" ], "requires_python": ">=3.6", "summary": "Wester Digital My Passport Utility", "version": "0.0.3" }, "last_serial": 5810870, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c56448b2a171c6d9f19aba19a5351f9e", "sha256": "dd45819fc107eb8d723fc3b3f6340ba82fd6d8100876c19a6643232bb56a8e4a" }, "downloads": -1, "filename": "wdpass-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c56448b2a171c6d9f19aba19a5351f9e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 7197, "upload_time": "2019-09-10T15:18:38", "url": "https://files.pythonhosted.org/packages/35/3a/b51709a92baf5ad3056c03fe7560686683d20a5d7ed394c17b8c8b84b5f5/wdpass-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2477aa0fec0f8e7f24efa0d291923a71", "sha256": "6a6f9666b0a106aed620927890a139774797666aca72a3aea17e839b34264514" }, "downloads": -1, "filename": "wdpass-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2477aa0fec0f8e7f24efa0d291923a71", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6750, "upload_time": "2019-09-10T15:18:40", "url": "https://files.pythonhosted.org/packages/b1/81/ed14837a6b27b4572de72d8404e43f160d709fdf3aa8dc8a09ba44db1749/wdpass-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d53726ecc569520366fa356a311dcc78", "sha256": "dc8d34b218567dca1f3dfb219d02d6f91933dfdfbefa0deff267092000ed8366" }, "downloads": -1, "filename": "wdpass-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d53726ecc569520366fa356a311dcc78", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 8580, "upload_time": "2019-09-10T18:55:08", "url": "https://files.pythonhosted.org/packages/4f/9e/355a5efd611756b998232e1d30554980a9e620dbb92f9e9a0e2b575ae4e9/wdpass-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4025112f6a95f646c2b45b6643f4d876", "sha256": "7cc08590b185c55b9410fe5dfffc6afcda2a7b6f305c55403ef283308ec22b95" }, "downloads": -1, "filename": "wdpass-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4025112f6a95f646c2b45b6643f4d876", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8175, "upload_time": "2019-09-10T18:55:10", "url": "https://files.pythonhosted.org/packages/27/06/ba045038694334f26821d509de8a0c3f84db8688477abe70355565780828/wdpass-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8f82c5afa6e81d35e787e677fd24642c", "sha256": "7e45b311efa52652c122035e941a5d2c67f2d128842eccd9be2675dc077e4d93" }, "downloads": -1, "filename": "wdpass-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f82c5afa6e81d35e787e677fd24642c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 8577, "upload_time": "2019-09-10T19:31:13", "url": "https://files.pythonhosted.org/packages/5e/30/ef8f3ed3c307b7b15285f1236fb1a16bb929db607d4dd6a0f34d481c711d/wdpass-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "462b6a313ca1831fcecae3ac92b1b226", "sha256": "3782c261c84e6134139de66602fab954cde38edebf4cf1140a7e98a7ad2915c9" }, "downloads": -1, "filename": "wdpass-0.0.3.tar.gz", "has_sig": false, "md5_digest": "462b6a313ca1831fcecae3ac92b1b226", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8158, "upload_time": "2019-09-10T19:31:15", "url": "https://files.pythonhosted.org/packages/20/90/9c76bfd7cb7eb94bed133b7b939dd24fd21176f09abf290be4b473e2adc0/wdpass-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8f82c5afa6e81d35e787e677fd24642c", "sha256": "7e45b311efa52652c122035e941a5d2c67f2d128842eccd9be2675dc077e4d93" }, "downloads": -1, "filename": "wdpass-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f82c5afa6e81d35e787e677fd24642c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 8577, "upload_time": "2019-09-10T19:31:13", "url": "https://files.pythonhosted.org/packages/5e/30/ef8f3ed3c307b7b15285f1236fb1a16bb929db607d4dd6a0f34d481c711d/wdpass-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "462b6a313ca1831fcecae3ac92b1b226", "sha256": "3782c261c84e6134139de66602fab954cde38edebf4cf1140a7e98a7ad2915c9" }, "downloads": -1, "filename": "wdpass-0.0.3.tar.gz", "has_sig": false, "md5_digest": "462b6a313ca1831fcecae3ac92b1b226", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8158, "upload_time": "2019-09-10T19:31:15", "url": "https://files.pythonhosted.org/packages/20/90/9c76bfd7cb7eb94bed133b7b939dd24fd21176f09abf290be4b473e2adc0/wdpass-0.0.3.tar.gz" } ] }