Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

AlbertGoma/smartcard-key-luks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smartcard-key-luks

OpenPGP smartcard setup with Linux boot. This is a modified version of the Luks GPG encryption configuration Script from Purism (https://source.puri.sm/pureos/packages/smartcard-key-luks).

This version allows to boot an encrypted LUKS partition with multiple OpenPGP smartcards.

Description

This is a bash script that takes advantage of cryptsetup's new OpenPGP smartcard support (https://tracker.pureos.net/T462).

You run the script with the GPG public key it should use, and it automatically sets up a new LUKS secret, encrypts it against that public key, and sets up crypttab, LUKS, initramfs, and GRUB so that when you boot, you are prompted to insert your Librem Key and enter your normal GPG PIN to decrypt your disk. It also modifys the "recovery" boot option in grub to bypass the GPG key and request your passphrase instead.

About

Fork of https://source.puri.sm/pureos/packages/smartcard-key-luks to support multiple OpenPGP smartcards for LUKS decryption.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages