Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4926

Advanced users • Re: How to use OTP as a key provider for LUKS automount?

$
0
0
this shell script will allow reading and writing the key on any model of pi
Yeah, I found it. Even more, I had to rewrite it for myself, as it filtered through if statements to "Chip unsupported" quit, despite me reading and writing OTP with the same commands normally. I actually even optimised the bytes-to-key and reverse convertation a bit - I'll throw a PR later.

But that is exactly the script I see as a problem: grab it off the github, add to unencrypted root partition with some pointer to execute it and you successfuly read keys needed for decryption.

Statistics: Posted by Karakurt — Thu May 23, 2024 10:06 pm



Viewing all articles
Browse latest Browse all 4926

Trending Articles