paw

command module
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Paw

Simply a password manager

Paw stores your data locally in files encrypted with age. It works offline and doesn't require an account.

Free and open source.

Paw provides a desktop app and command-line interface in a single binary, plus an Android app. Run paw to open the desktop app or paw cli to use the command line. Both access the same local vaults.

See the documentation for installation and usage instructions.

[!WARNING] Paw is a work in progress and has not yet undergone an independent security audit. Read the threat model before trusting it with important secrets.

Screenshots

Paw showing the items in a vaultPaw showing login item details

Main features

  • Desktop application for Linux, macOS, Windows, and FreeBSD
  • Android app for arm64 devices
  • Desktop GUI and CLI modes from the same executable
  • Hybrid post-quantum age encryption (X25519 and ML-KEM-768)
  • Vault synchronization and cloning directly between devices on the local network
  • SSH agent integration and browser extension support
  • Password audits for exposed, weak, and reused passwords
  • Authenticator code (TOTP) support
  • File attachments for Login and Secure Note items
  • CXF-based credential storage
  • Password-protected .paw archive backup and restore, including attachments and history
  • CXF-compatible backup export and restore, plus SSH key import and export
Later goals
  • Browser extension autofill
  • CXF import from other password managers
  • Support for more CXF credential types, including passkeys, credit cards, API keys, Wi-Fi credentials, and identity documents
  • Email masking support

Installation

Install Paw using Homebrew on macOS and Linux, download a pre-built package from GitHub Releases, or install with Go.

Homebrew (macOS and Linux)

Install the Lucor Homebrew tap:

brew install --cask lucor/tap/paw

The qualified command adds the tap if needed. You can also add the tap first:

brew tap lucor/tap
brew install --cask lucor/tap/paw

On Linux, a current Homebrew installation with Linux cask support is required. The Homebrew bin directory must be on the PATH used by your desktop session for the Paw desktop launcher to run.

Download a release

Download the latest stable packages from the Releases page. Packages are available for Linux (amd64 and arm64), macOS (Intel and Apple Silicon), Windows (amd64), FreeBSD (amd64 and arm64), and Android (arm64).

Android

Download the arm64 .apk from the Releases page to your device and open it to install Paw. Android may ask you to allow the browser or file manager opening the APK to install unknown apps. Enable Allow from this source, return to the APK, and complete the installation. You can turn off this permission afterward.

Linux

Download the .tar.xz package for your architecture and extract it. From the extracted directory containing the Makefile, run make user-install to install Paw for your user, or sudo make install to install it system-wide.

macOS

Download the .dmg package for your Mac: darwin_amd64 for Intel or darwin_arm64 for Apple Silicon. Open the disk image and drag Paw to Applications. Because Paw is not notarized, remove the quarantine attribute after copying it:

xattr -r -d com.apple.quarantine /Applications/Paw.app

Run this command again after upgrading Paw.

Windows

Download and run the .exe package for amd64.

FreeBSD

Download and extract the .tar.xz package for your architecture. Install GNU Make (gmake) if needed, then from the extracted directory containing the Makefile, run gmake user-install to install Paw for your user, or sudo gmake install to install it system-wide.

Install with Go

If your system has a version of Go supported by Paw, install the latest published release:

go install go.lucor.dev/paw@latest

You also need a C compiler and the platform libraries listed in the Fyne build requirements.

To build from source instead, clone the repository and install the executable:

git clone https://github.com/lucor/paw.git
cd paw
go install .

Go installs paw in GOBIN, or in GOPATH/bin when GOBIN is not set. Add that directory to your PATH to run paw and paw cli.

Usage

Run paw to open the desktop app, or use paw cli for command-line operations:

# Create a vault
paw cli init Personal

# Add an item (Paw prompts for the fields)
paw cli add login Personal GitHub

# Show an item (use --clip to copy the password instead of printing it)
paw cli show Personal/login/GitHub

Commands that select an existing vault accept its name, full Vault ID, or a unique Vault ID prefix of at least 7 characters (for example, paw cli unlock Personal and paw cli unlock mjqxgz2 select the same vault).

Details: Command reference and Desktop app.

Shell completion

Install the generated script for your shell:

  • Bash with bash-completion initialized: run paw cli completion bash > ~/.paw-completion.bash and add source ~/.paw-completion.bash to ~/.bashrc.
  • Zsh: add source <(paw cli completion zsh) to ~/.zshrc after compinit.
  • Fish: run paw cli completion fish > ~/.config/fish/completions/paw.fish.

Completion suggests commands, subcommands, flags, and vault names. For show and edit, it also suggests vault and item type paths. Enter the item title yourself. Vault names with shell punctuation are omitted, and Bash's generated script does not reliably complete names containing spaces. Some commands do not suggest flags when their arguments are incomplete. PowerShell completion for paw cli is not supported.

How vaults and passwords work

Vault initialization

Paw stores credentials in one or more local vaults. Each vault uses a hybrid post-quantum age identity combining X25519 and ML-KEM-768, protected by the master password with age's scrypt-based password encryption. All vault data is encrypted at rest; only the vault name, icon, and color are stored unencrypted in metadata.json so Paw can list locked vaults.

Details: Vault encryption and Storage layout.

Items

Paw supports Login, Password, Secure note, and SSH key items, with item history and encrypted file attachments.

Details: Items and history.

Password generation

Passwords, passphrases, and PINs are generated with Go's crypto/rand and do not depend on the vault key. You can also enter a password manually.

Details: Password generator and the pwgen command.

Backups

Paw exports password-protected .paw archives (including attachments and item history), password-encrypted .cxf.age, and plaintext .cxf CXF documents. CXF exports cannot contain attachments. Restoring a backup always creates a separate vault with a new master password; it does not overwrite or merge existing vaults.

Details: Backup and restore.

Vault synchronization and cloning

Paw synchronizes and clones vaults directly between devices on the same local network, without cloud servers. Sync uses mDNS discovery, mutual TLS 1.3 with post-quantum key exchange, and ML-DSA-44 authentication. First-time pairing requires confirming a 6-digit code on both devices.

  • In the desktop app: see Vault synchronization.
  • In the CLI: run paw cli sync <vault> to synchronize or paw cli sync --clone to clone. If mDNS discovery is unavailable, connect directly with --link.
  • Protocol details: Sync protocol & cryptography.

The device Sync identity is stored in the local vault directory as sync.age. It is device-specific; do not copy this file to another device.

Threat model

The threat model of Paw assumes there are no attackers on your local machine. See the full threat model.

To report a security issue or vulnerability, follow the security policy.

License

This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later), unless otherwise noted. See the LICENSE file for details.

Some components may be licensed under different terms - see individual file headers for specific licensing information and the THIRD_PARTY_LICENSES file for third-party dependencies.

Contribute

See https://lucor.dev/projects/#maintenance-policy

Credits

Paw is built with:

  • Go — programming language
  • age — encryption
  • Fyne — graphical interface
  • Lucide — icons
  • zxcvbn — password strength estimation (adapted fork)

Paw also uses Have I Been Pwned for optional compromised-password checks.

Also thanks to pass and the other open-source password managers that inspired Paw.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
screenshots command
internal
age
Package age provides the passphrase word list used by Paw.
Package age provides the passphrase word list used by Paw.
age/bech32
Package bech32 is a modified version of the reference implementation of BIP173.
Package bech32 is a modified version of the reference implementation of BIP173.
agent
Package agent provides Paw's local agent protocol and SSH-agent integration.
Package agent provides Paw's local agent protocol and SSH-agent integration.
browser
Package browser implements the bridge to Paw's browser extension.
Package browser implements the bridge to Paw's browser extension.
browser/messaging
Package messaging handles messages exchanged with the browser extension.
Package messaging handles messages exchanged with the browser extension.
cli
Package cli provides Paw's command-line interface.
Package cli provides Paw's command-line interface.
devicename
Package devicename detects a readable name for the local device.
Package devicename detects a readable name for the local device.
favicon
Package favicon adapts the shared favicon downloader for Paw's storage format.
Package favicon adapts the shared favicon downloader for Paw's storage format.
haveibeenpwned
Package haveibeenpwned implements a client for the haveibeenpwned.com API v3 to search if passwords have been exposed in data breaches
Package haveibeenpwned implements a client for the haveibeenpwned.com API v3 to search if passwords have been exposed in data breaches
icon
Package icon contains Paw's embedded icons and themed resources.
Package icon contains Paw's embedded icons and themed resources.
logging
Package logging configures Paw's application-wide logger.
Package logging configures Paw's application-wide logger.
model
Package model defines Paw's current data model using CXF types.
Package model defines Paw's current data model using CXF types.
netif
Package netif enumerates network interfaces and their assigned IP addresses.
Package netif enumerates network interfaces and their assigned IP addresses.
otp
Package otp generates one-time password values using the HOTP and TOTP algorithms defined in RFC 4226 and RFC 6238.
Package otp generates one-time password values using the HOTP and TOTP algorithms defined in RFC 4226 and RFC 6238.
paw
Package paw provides shared helpers for keys, URLs, passwords, and TOTP.
Package paw provides shared helpers for keys, URLs, passwords, and TOTP.
sshkey
Package sshkey generates, parses, and represents SSH keys.
Package sshkey generates, parses, and represents SSH keys.
storage
Package storage reads and writes Paw's encrypted files.
Package storage reads and writes Paw's encrypted files.
sync
Package sync provides LAN discovery for Paw instances.
Package sync provides LAN discovery for Paw instances.
test
Package test provides shared helpers for Paw's test suites.
Package test provides shared helpers for Paw's test suites.
tree
Package tree formats directory trees for text output.
Package tree formats directory trees for text output.
ui
Package ui implements Paw's Fyne user interface.
Package ui implements Paw's Fyne user interface.
ui/widgets
Package widgets contains small custom Fyne widgets used by the Paw UI.
Package widgets contains small custom Fyne widgets used by the Paw UI.
widget
Package widget contains reusable Fyne widgets used by Paw.
Package widget contains reusable Fyne widgets used by Paw.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL