programmatically checking disk encryption

Gilles Gravier ggravier at fsfe.org
Wed May 26 08:19:41 UTC 2021


Hi!

On 26/05/2021 09:01, Eric Demer via ubuntu-users wrote:
>> Date: Wed, 26 May 2021 06:31:18 +0000
>> From: Sorin Srbu <sorin.srbu at ki.se>
>> To: "ubuntu-users at lists.ubuntu.com" <ubuntu-users at lists.ubuntu.com>
>> Subject: Re: verifying that disk is encrypted
>> Message-ID: <b2fa252b8fa116f5472df4ad1854e51cf85ffc00.camel at ki.se>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> On Tue, 2021-05-25 at 21:59 -0700, Eric Demer via ubuntu-users wrote:
>>> I successfully re-installed Ubuntu with the built-in encryption on, and
>>> now I need 
>>> to do _something like_ letting my employer verify that I do have it
>>> encrypted. 
>>> I say  "something like"  because, _for built-in encryption_,
>>> submitting a screenshot would be enough. 
>>> However, I have not found any way of
>>>
>>> (a)  taking a screenshot of the  "Please unlock disk"  screen 
>>> or 
>>> (b)  bringing up anything else showing that the built-in encryption is
>>> enabled 

sudo blkid /dev/YourPartion | grep "crypto_LUKS"

Gilles







More information about the ubuntu-users mailing list