Journey's End

Jan 10
2023

Verifying Local iOS Backups

Backups are a great idea, and encrypted backups are a even better idea. When backing up iOS devices on macOS, it is possible to set an encryption key to protect local files. There is however no straightforward GUI method to verify the encryption key.

Enter mvt:

conda create -n mvt python=3.10
conda activate mvt
pip install mvt
mvt-ios extract-key /path/to/backup

With the right password you will see

INFO     [mvt.ios.decrypt] Derived decryption key for backup at path /path/to/backup is:
                  "12345678901234567890"

Otherwise

CRITICAL [mvt.ios.decrypt] Failed to decrypt backup. Did you provide the correct password? Did you
                  point to the right backup path?
ts=14:40 tags=[software,osx,ios,macos]

Dec 20
2022

FSCK'ing Veracrypt Volumes on macOS

Due to unexpected power loss or disconnection of the underlying storage, the filesystem inside Veracrypt volumes is desired to prevent future data loss.

On macOS I tried using 

diskutil verifyDisk /dev/diskXXX

This didn't  work for some reason, most likely because of some interaction with veracrypt. Same results via Disk …

ts=04:33 tags=[software,macos]