[dm-crypt] Determining which slot was used to unlock a LUKS device

Michael Kjörling michael at kjorling.se
Thu Dec 22 08:18:52 CET 2016


On 21 Dec 2016 13:53 -0800, from krkhan at inspirated.com (Kamran Khan):
> Is it possible to figure out which slot was used to unlock a LUKS device?

My gut feeling is no, it's not possible. I also fail to see what
benefit it would bring.

What actual problem are you trying to solve by determining which key
slot was used to unlock the LUKS container? Maybe there is another
way to accomplish your end goal.

-- 
Michael Kjörling • https://michael.kjorling.semichael at kjorling.se
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)


More information about the dm-crypt mailing list