
If something is wrong or you want to manually specify the device path yourself you can use this option. The script will try to auto detect the current device path of your WD Passport device. d DEVICE, -device DEVICE Force device path (ex. You will also lose your partition table and you will need to create a new one (you can use fdisk and mkfs). This will remove the internal key associated to you password and all your data will be unaccessible.

If you only want to change password do it as usual. If 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. If device is "without lock" and you want it to be password protect leave the "OLD password" field empty and choose insert the new password. This option let you to encrypt your device, remove password protection and change your current password. c, -change_passwd Change (or disable) password to rescan the device and handle it as a normal external usb harddrive. m, -mount Enable mount point for an unlocked deviceĪfter 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.

When unlock password, it will save user password to passwd.bin, so you can use "-us" for next time to auto unlock. If everything is fine device will be unlocked. us, -unlock_with_saved_passwd Unlock with the password saved You will be asked to enter the unlock password. Get device encryption status and cipher suites used. s, -status Check device status and encryption type There are few options: -h, -help show this help message and exit Install wdpass sudo python3 -m pip install wdpass ( python3-dev or python3-devel package)įor example on Fedora: sudo dnf install lsscsi python3-devel lsscsi package or any package provides lsscsi command.This script let you unlock, change password and erase Western Digital Passport devices on Linux platform. crypto-universe for Python3 migration of py_sg and wdpassport-utils.0-duke and derekhe for wdpassport-utils (Python2).

WD Passport Ultra Complete Utilities for Linux.
