testing-interactive-gpg

Installation
SKILL.md

Interactive GPG Testing

Test the installer's GPG key setup flow using an expect script (installer/test-interactive-gpg.exp) that automates responses to GPG's interactive prompts.

Why This Exists

GPG key generation is fully interactive — it prompts for email, name, passphrase, key type, and confirmations. The installer runs GPG in passthrough mode, so these prompts reach the terminal directly. Automated testing requires an expect script to respond to them.

Prerequisites

Check if expect is available, and install it if not:

command -v expect || brew install expect        # macOS
command -v expect || sudo apt-get install expect # Ubuntu/Debian
command -v expect || sudo dnf install expect     # Fedora

Usage

Related skills

More from mrpointer/dotfiles

Installs
1
GitHub Stars
2
First Seen
Apr 7, 2026