SD enable and pin wipe commands

I have followed the steps to install treozrctl on my mac and have confirmed the trezorctl version

/Users//Library/Python/3.9/bin/trezorctl

but when I run the commands to set a wipe pin or enable sd-protect I get this error

Traceback (most recent call last):
File “/Users//Library/Python/3.9/bin/trezorctl”, line 5, in
from trezorlib.cli.trezorctl import cli
File “/Users//Library/Python/3.9/lib/python/site-packages/trezorlib/cli/trezorctl.py”, line 31, in
from . import (
File “/Users//Library/Python/3.9/lib/python/site-packages/trezorlib/cli/ethereum.py”, line 37, in
from … import definitions, ethereum, tools
File “/Users//Library/Python/3.9/lib/python/site-packages/trezorlib/definitions.py”, line 7, in
import requests
File “/Users//Library/Python/3.9/lib/python/site-packages/requests/init.py”, line 43, in
import urllib3
File “/Users//Library/Python/3.9/lib/python/site-packages/urllib3/init.py”, line 38, in
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with LibreSSL 2.8.3.

What am I missing?

It also provides a link but this forum does not allow links in a post

this is the important part of the output.

googling this fragment gives me this: python - ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3 - Stack Overflow

out of that, it seems that pip install urllib3==1.26.6 is one way to resolve the problem.

beyond that I can’t advise because I don’t have a Mac…

Hi and thanks! I am now trying this on a Linux box. I ran you suggestion and it installed but when I run trezorctl list I get this;

Failed to enumerate WebUsbTransport. USBErrorAccess: LIBUSB_ERROR_ACCESS [ -3]

Not sure what it means

see step 5 from here:

  1. Udev rules need to be set up on your system; this can be done in two ways:

I did run that and now have gotten farther. My goal is to set up a Trezor Model T to only function with an SD card inserted and to have a pin that wipes it. I got the idea from Crypto guide’s video but its 3 yrs old. The title is; Boosting Trezor Model T Security with SD-Protect & Wipe Pin (Full Guide + Install TrezorCTL).

I figured it out! Took a while but well worth it.

1 Like