Skip to content

Instantly share code, notes, and snippets.

Registering a FIDO2 key to unlock a LUKS2 drive & lock system on unplug

This guide is based off some articles from Fedora Magazine by Alexander Wellbrock. What you see here brings together information from multiple articles to give this one specific use-case succinctly and contiguously in one guide.

Note

While this guide is specific to Fedora and it's EL derivatives, it can easily be adjusted to other distributions by substituting commands and packages as necessary (i.e. On Debian derivatives, swap DNF for apt)

Install dependencies:

[…]$ sudo dnf install fido2-tools dracut
@duyfken
duyfken / tablet.pit
Created March 6, 2022 06:07
SM-T380 Android PIT (Parition Information Table) file, from Heimdall
Heimdall v1.4.2
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
@duyfken
duyfken / tablet.pit
Last active February 26, 2022 10:05
SM-T355Y Android PIT (Parition Information Table) file, from Heimdall
Heimdall v1.4.2
Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
@duyfken
duyfken / arch-basic-install.md
Last active November 7, 2022 05:08
Simple Arch Linux Installation from scratch in the command line ("The Arch Way")

Arch Linux Installation

1. Download the image and liveboot

The images can be found at https://www.archlinux.org/download/

The image can be flashed onto a USB with any software (like balenaEtcher or simply dd) or burned to a CD/DVD.

Boot the image device (via BIOS preferrably as it is that bit easier to setup than UEFI and makes no difference otherwise)

@duyfken
duyfken / miui-fastboot-howto.rst
Last active September 23, 2023 15:49 — forked from j-jith/miui-fastboot-howto.rst
How to flash MIUI Fastboot ROM from Linux

How to flash MIUI Fastboot ROM from Linux

  • Download the fastboot ROM suitable for your device from the Xiaomi Firmware Updater and extract the downloaded archive
  • Download and extract the official Android SDK Platform Tools or install them using your package manager of choice.
    • If you are using the official platform tools, make sure adb and fastboot (components of platform-tools) are in your path