Open ArcadeHustle opened 5 years ago
hdparm --user-master u --security-unlock hex:7242525ABA526A5AEA726278CA42DA4A2A223A2A0A221A2A6A027A0A5CCE4A0A /dev/sdb
The hdparm git linked in the readme doesn't compile anymore and the patch doesn't apply on newer ones as well.
There is an undocumented option for hdparm in which you can pass hex:XXXXPASSHEREXXXXX as the prefix for a password.
You could also just pipe the file in on the command line via $(< keyfile)