Back to Skills

security

verified

Security configuration for Bazzite. LUKS disk encryption with TPM auto-unlock, secure boot key management, and sudo password feedback. Use when users need to configure security features.

View on GitHub

Marketplace

bazzite-ai-plugins

atrawog/bazzite-ai-plugins

Plugin

bazzite

productivity

Repository

atrawog/bazzite-ai-plugins

bazzite/skills/security/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/atrawog/bazzite-ai-plugins/blob/main/bazzite/skills/security/SKILL.md -a claude-code --skill security

Installation paths:

Claude
.claude/skills/security/
Powered by add-skill CLI

Instructions

# Security - Bazzite Security Configuration

## Overview

Bazzite security features including LUKS disk encryption with TPM auto-unlock, and sudo password visibility settings.

## Quick Reference

| Command | Description |
|---------|-------------|
| `ujust setup-luks-tpm-unlock` | Enable TPM auto-unlock for LUKS |
| `ujust remove-luks-tpm-unlock` | Remove TPM auto-unlock |
| `ujust toggle-password-feedback` | Toggle sudo asterisk feedback |

## LUKS TPM Unlock

### Setup TPM Auto-Unlock

```bash
# Enable automatic LUKS unlock via TPM
ujust setup-luks-tpm-unlock
```

**What it does:**
- Binds LUKS encryption to TPM 2.0
- System unlocks automatically at boot
- No password prompt needed

**Requirements:**
- TPM 2.0 chip
- LUKS-encrypted root partition
- Secure Boot recommended

**Process:**
1. Verifies TPM availability
2. Creates TPM binding
3. Updates initramfs
4. Tests unlock

### Remove TPM Unlock

```bash
# Remove TPM auto-unlock
ujust remove-luks-tpm-unlock
```

Returns to password-based unlock at boot.

**Use when:**
- Selling/giving away machine
- Security concerns
- TPM issues

## Sudo Password Feedback

### Toggle Asterisks

```bash
# Toggle sudo password asterisk feedback
ujust toggle-password-feedback
```

**With feedback:**
```
[sudo] password for user: ****
```

**Without feedback (default):**
```
[sudo] password for user:
```

**Security note:** Asterisks reveal password length. Default (no feedback) is more secure.

## Common Workflows

### Secure Boot Setup

```bash
# 1. Enroll secure boot key (for NVIDIA)
ujust enroll-secure-boot-key

# 2. Setup TPM unlock
ujust setup-luks-tpm-unlock

# Reboot to test
systemctl reboot
```

### Disable Before Selling

```bash
# Remove TPM binding
ujust remove-luks-tpm-unlock

# Clear TPM (in BIOS/UEFI)
# Factory reset recommended
```

## TPM Status

### Check TPM Availability

```bash
# TPM version and status
tpm2_getcap properties-fixed | head -20

# TPM PCR values
tpm2_pcrread
```

### Check LUKS Binding

```bash
# L

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
3833 chars