LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-26-2015, 03:04 PM   #1
DKshadow
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Rep: Reputation: Disabled
I need touchscreen keyboard support for cryptsetup password entry.


I recently installed Mint on a convertible notebook a Asus T300chi with disk encryption enabled. Everything works fine, however the T300chi uses a bluetooth keyboard that can't be utilize during the password prompt to decrypt the disk. I have to plug in a usb keyboard to enter in my password which isn't very convenient.

My question is: is there a way to enable touchscreen support and a onscreen keyboard for use during the decryption password prompt?

Thanks!
 
Old 08-26-2015, 05:30 PM   #2
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by DKshadow View Post
I recently installed Mint on a convertible notebook a Asus T300chi with disk encryption enabled. Everything works fine, however the T300chi uses a bluetooth keyboard that can't be utilize during the password prompt to decrypt the disk. I have to plug in a usb keyboard to enter in my password which isn't very convenient.

My question is: is there a way to enable touchscreen support and a onscreen keyboard for use during the decryption password prompt?

Thanks!
Can you be a bit more specific than "disk encryption enabled"? There are many ways to achieve disk encryption. The following options come to mind:
A) Some Mint / Ubuntu specific setup with ecryptfs
- Sorry, cannot help with that

B) LUKS / LVM setup using cryptsetup
If that is what you are using, more questions need to be answered
- Is your root file system (i.e. the operating system) encrypted? If it isn't (i.e. you have a separate data partition and only that is encrypted), you could just not have the data partition mount at boot time. Once your OS is fully booted you'd have all the drivers available and could manually mount the data partition.
- If your root filesystem is encrypted: do you have an unencrypted boot partition? In that case, you could probably get the needed drivers into the initial ramdisk, but you'd probably have to create it yourself rather than using the standard one of your distro. Alternatively, you could recompile the kernel and make sure the needed drivers are included rather than being optional modules. If that will be sufficient to actually make the driver available on time - I do not know.
- Is your boot partition encrypted, too (i.e. do you have to type the password before getting to the grub menu?). If so, it would surprise me if you could get this to work.

Hope this gives you some pointers. But as you can see, a more specific description of your setup is needed. If all the above does not make any sense to you, a more precise description of how you actually achieved the encryption setup (chosen options during install etc...) would also help.
 
Old 08-26-2015, 10:43 PM   #3
DKshadow
LQ Newbie
 
Registered: Aug 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
I believe my setup is LUKS / LVM using cryptsetup. When I hold shift while booting I can get to the grub menu, from there when I select Linux Mint it takes me to the password prompt where I enter my password to decrypt. I only have my /root partition encrypted. my /boot partition is not encrypted.
 
Old 08-27-2015, 05:31 AM   #4
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Ok so it might be worth trying to compile the required drivers into the kernel statically. Again I don't know if it would make them available soon enough, but I'd give it a try.

Are you comfortable with compiling the kernel? You would typically find your old configuration file in /boot.
You can use this as a base and check for your drivers in make menuconfig.

If they are selected as modules, make them static and see if that helps. If you need more detailed description of the above steps do not hesitate to ask.
 
Old 08-27-2015, 09:23 AM   #5
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Just thinking: Is that bluetooth keyboard at the same time the display that shows the password prompt? At that stage you obviously don't have X yet, so if anything the keyboard would have to be provided by the device. If you need the OS to start the on screen keyboard I don't think you can get this working during the early boot phase...
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass password to cryptsetup from a memory variable? taylorkh Linux - Security 13 02-08-2018 07:42 AM
Crack cryptsetup password jojanmpaul Linux - Newbie 6 10-04-2013 02:30 AM
[SOLVED] Manjaro Linux: cryptsetup & kernel 3.7: keyboard unresponsive trying to enter passphrase grail Linux - Distributions 0 01-20-2013 12:45 PM
Keyfile & Password using cryptsetup dissident85 Linux - General 1 09-13-2009 01:32 PM
How to add non-US keyboard layout to initrd (cryptsetup)? malo_umoran Slackware 6 04-05-2008 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration