m3au's dev blog

Introducing purr: Seamless Key Management for Developers

purr banner In the modern development workflow, managing multiple authentication keys and credentials can be a daily hassle. From SSH keys for server access to GPG keys for signing commits, developers often juggle various security tools while trying to maintain both convenience and security.

Enter purr - a ZSH plugin that brings harmony to your key management workflow by seamlessly integrating 1Password, SSH, and GPG into a single, elegant command.

The Key Management Challenge

Developers face several pain points with key management:

Meet purr: Your Key Management Companion

This open-source ZSH plugin solves these challenges by providing:

  1. Unified Command Interface: One simple purr command handles all your key management needs
  2. 1Password Integration: Secure storage and retrieval of your sensitive keys
  3. Automated Key Lifecycle: Seamless loading and unloading of SSH and GPG keys
  4. Git Signing Configuration: Automatic setup of commit signing
  5. Security-First Design: Built-in key unloading and 1Password locking with purr lock

How It Works

purr simplifies key management into intuitive commands:

  1. Load Keys: Just type purr to load your keys and configure Git signing
  2. Check Status: Use purr check to verify your key configuration
  3. Secure Lock: Run purr lock when stepping away to unload keys and lock 1Password
  4. Verbose Mode: Add -v to any command for detailed operation information

Perfect For...

Getting Started

Installation is straightforward, especially with antidote:

# Using antidote
antidote bundle m3au/purr

# Or manual installation
git clone https://github.com/m3au/purr.git
source path/to/purr/init.zsh

Prerequisites

You'll need:

For extra flair, add lolcat for colorful output: brew install lolcat

The Road Ahead

purr is actively evolving with exciting features on the horizon:

Join the purr Community

As an MIT-licensed project, purr welcomes contributions from the developer community. Whether you're interested in adding features, improving documentation, or reporting bugs, your input helps make key management better for everyone.

Try It Today

If you're tired of manual key management and want a more streamlined development workflow, give purr a try.

Visit GitHub to get started, and join us in making key management as simple as a purr.

#1password #automation #cli-tools #crypto #developer-tools #git #github #gpg #key-management #macos #open-source #productivity #security #ssh #terminal #tools #zsh #zsh-plugin