How to recover the zpool encryption key after OS disk failure

Don’t paste the results in here:

python3 decode.py

It should hopefully decrypt and print a long hexstring.

It will look something like this: f69bb6091a43107dbb25ec59486eb035eeed3f6e89325aa15ec52135774e356a

This is your root dataset’s encryption keystring. Copy and paste it to manually unlock your root dataset of the pool.

Hopefully it’s the latest keystring and it works.

3 Likes