--- description: >- Session record (2026-06-24) of detecting the YubiKey, planning GPG commit signing, building a reusable SPECCOL inventory/provisioning stick, and hardening + provisioning a Dell Latitude E7250 as a dedicated air-gapped keygen/forensic host. tags: - learning - yubikey - gpg - security - air-gap - latitude-e7250 last_updated: '2026-06-24' --- # YubiKey + Dell E7250 air-gapped keygen host - 2026-06-24 ## Summary Detected and inventoried the attached YubiKey; researched 2026 best practice for hardware-backed Git commit signing; wrote a baby-step plan; then procured, hardened, and provisioned a dedicated Dell Latitude E7250 as the permanent air-gapped keygen/forensic host. Built a reusable `SPECCOL` USB toolkit (inventory + provisioning scripts, verified BIOS, checklist) along the way. **Outcome:** E7250 is fully hardened + provisioned and ready to go offline for PGP key generation. The YubiKey remains the daily-carry signer; the Type-C USB will hold the LUKS-encrypted key recovery backup (pending keygen). ## Decisions (with rationale) | Decision | Choice | Why | |----------|--------|-----| | Signing approach | **GPG/OpenPGP on YubiKey** (not SSH `ed25519-sk`) | Secret keys are exportable -> a true LUKS recovery backup on USB is possible (requirement #3). | | Keygen environment | **Dedicated air-gapped host** (Dell E7250) instead of a re-booted live USB | Reproducible; Certify key never touches a networked machine; reusable for forensic work. | | Key identity | `Michael Wegener `; subkeys ed25519(S)/cv25519(E)/ed25519(A); 2y expiry; touch required | 2026 modern; avoids RSA-deprecation for SSH auth. | | Push transport | HTTPS + GPG-sign (unchanged) | Lowest risk; signing is transport-independent. | ## Components & final state ### 1. YubiKey (serial 30836069, FW 5.7.1, USB-A) - OTP: slot 1 programmed, slot 2 empty. - FIDO2: PIN set (8 tries left), 4 credentials - `google.com` (Jane Alesi), `auth.satware.ai`, `git.g-b-c.de`, `github.com` (satwareAG-ironMike). - OATH: empty. PIV: factory-defaults/empty. OpenPGP: **empty, sign-PIN was blocked**. - Note: existing GPG keyring has 3 **expired** ed25519 keys tied to a *different* card serial (24530904) - stale references, not on this key. ### 2. Plan (committed) - `docs/plans/2026-06-24-yubikey-gpg-github-signing.md` (commit `5a714e6`). - 9 phases (0-9): remediate -> air-gapped keygen -> LUKS backup -> transfer to YubiKey -> configure workstation -> register with GitHub -> Ansible -> recovery -> 2nd YubiKey. ### 3. Boot stick (Type-C USB, 29 GB) - Debian Live **13.5.0 Trixie XFCE** ISO, verified (SHA512 + Dell... Debian CD OpenPGP signature), `dd`'d clean at ~40 MB/s. ### 4. SPECCOL toolkit stick (FAT32, label `SPECCOL`, ~1.9 GB) - reusable ``` toolkit/collect-specs.sh dock-aware inventory (TPM version, radios, TB dock nvm/serial, fwupd, robust tooling check) devices/latitude-e7250/provision.sh apt update + full-upgrade + tooling + autoremove + logging + re-inventory (idempotent) devices/latitude-e7250/checklist.md hardening + provisioning checklist devices/latitude-e7250/bios/ E7250A24.exe (verified) + flash instructions devices/latitude-e7250/logs/ one provision log per run inventory// collected hw-specs baselines README.txt incl. FAT32 "+x" rule (run via `bash`) ``` ### 5. Dell Latitude E7250 (Service Tag JQN3P32) - the air-gapped host - i7-5600U (vPro), 16 GB RAM, SK hynix SC210 mSATA 256 GB SSD (TRIM), Intel HD 5500. - Debian 13 Trixie, kernel **6.12.94** (dist-upgraded), LUKS on root+swap. - **Hardened:** BIOS **A24**; Secure Boot **enabled** (+ kernel lockdown); AMT/vPro **disabled** (MEBx); Wi-Fi **off** (gone from bus); Bluetooth **hard-blocked**; WWAN (Dell Gobi 5809e 4G LTE) **off**; TPM **cleared -> 1.2-only** (hardware limit - no 2.0 option in BIOS A24; non-blocking). - **Provisioned:** full dist-upgrade applied; 20/20 Phase-2 tools installed (scdaemon, pcscd, pcsc-tools, yubikey-manager/ykman, yubikey-personalization, cryptsetup, parted, fdisk, dosfstools, e2fsprogs, paperkey, tpm2-tools, fwupd, hdparm, smartmontools, nvme-cli, usbutils, pciutils, rfkill). 0 packages pending. - **Dock:** Dell E-Port Replicator (legacy bottom-connector; SMSC USB hubs only; no Thunderbolt, no serial, no updatable firmware). ## Architecture (refined) - **E7250** (offline, LUKS) = keygen + recovery host; holds the Certify key. - **YubiKey** = daily-carry commit/tag signer on the workstation. - **Type-C USB** = offline LUKS-encrypted recovery backup of the keys (pending Phase 3). ## Key learnings / gotchas - **LVFS:** the E7250 is **NOT** on the LVFS - no `fwupd`/`.cab` BIOS path; Dell dock also not updatable. BIOS update only via the Dell `.exe` (F12 BIOS Flash Update or FreeDOS). - **Dell package naming:** the YubiKey Manager CLI is Debian package **`yubikey-manager`** (provides the `ykman` binary), **not** `ykman`. One invalid name aborts the entire `apt-get install`. Fixed in `provision.sh`. - **FAT32 +x:** the SPECCOL stick can't store the executable bit - scripts must be invoked as `bash