agherzan / yubikey-full-disk-encryption

Use YubiKey to unlock a LUKS partition
Apache License 2.0
795 stars 50 forks source link

Debian/Ubuntu support #88

Open crispy-landslide opened 2 years ago

crispy-landslide commented 2 years ago

Initial support for Debian/Ubuntu based systems. Based on discussion in #61, I restructured the repository files to separate the packaging files from the src files. The new file structure is shown at the bottom of this post.

A few notes:

  1. Currently does not support any suspend functionality for Debian/Ubuntu
  2. testrun.sh does not run automatically after installing, but passes all tests when run by itself
  3. Unsure if/how the Arch Linux PKGBUILD file will be affected
yubikey-full-disk-encryption
|- CONTRIBUTING.md
|- LICENSE
|- README.md
|- packaging/
|   |- archlinux/
|   |   |- Makefile
|   |   |- PKGBUILD
|   |- debian/
|   |   |- Makefile
|   |   |- debian/
|   |   |   |- changelog
|   |   |   |- compat
|   |   |   |- control
|   |   |   |- copyright
|   |   |   |- rules
|   |   |   |- ykfde.postinst
|- src/
|   |- ykfde.conf
|   |- ykfde-enroll
|   |- ykfde-format
|   |- ykfde-open
|   |- testrun.sh
|   |- archlinux/
|   |   |- initramfs-suspend
|   |   |- ykfde-suspend
|   |   |- ykfde-suspend.service
|   |   |- hooks/
|   |   |   |- ykfde
|   |   |- install/
|   |   |   |- ykfde
|   |- debian/
|   |   |- key-script
|   |   |- hooks/
|   |   |   |- ykfde
lukas-fichtner commented 1 year ago

Hi,

Is this still work in progress or not a active project anymore? I have Ubuntu 22.04 and can not suspend my Lenovo T14s.

agherzan commented 1 year ago

@lukas-fichtner The project is active but this support never left draft mode.

lukas-fichtner commented 1 year ago

Oh that's too bad :(

In fact, I was lucky and it was due to a different problem. I only had to adjust the power setting "sleep state" in the BIOS and change it to Linux. Now the suspend mode works perfectly on my Lenovo.

agherzan commented 1 year ago

This is a very good hint as my T14s is due on the 13th but yes, sounds off-topic to this specific MR.