# RPass for Raycast

URL: https://www.raycast.com/rxtsel/rpass

> Search, copy and edit passwords and TOTP codes in your pass-compatible (password-store) vault, generate passwords and sync with Git.

- Install: raycast://extensions/rxtsel/rpass
- Author: [Cristhian Melo](https://www.raycast.com/rxtsel)
- Installs: 18
- Platforms: Windows, macOS
- Categories: Productivity, Security
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/9eec094e87a21d26b55df98dc74e7c7ba5a718ce/extensions/rpass/

## Commands

- **Vault**: Browse, decrypt, and copy passwords from your pass-compatible vault.
- **New Entry**: Generate and insert a new password or passphrase.
- **Sync Vault**: Inspect and sync the password store Git repository.

## README

<div align="center">
  <img src="https://github.com/raycast/extensions/raw/9eec094e87a21d26b55df98dc74e7c7ba5a718ce/extensions/rpass//assets/extension-icon.png" width="128" height="128" />

  <br/>

### rPass Vault

Manage your pass-compatible password vault without leaving Raycast

🔎 &nbsp; Search your vault &nbsp; 📋 &nbsp; Copy and paste fields &nbsp; 🔐 &nbsp; Generate passwords and passphrases &nbsp; ⏱️ &nbsp; Use TOTP codes &nbsp; 🔄 &nbsp; Sync with Git

</div>

<br/>

#### Requirements

The extension needs a local GPG installation because `rpass` encrypts and decrypts entries on your machine:

- macOS / Linux: [GnuPG](https://gnupg.org/)
- Windows: [Gpg4win](https://www.gpg4win.org/)
- Optional: [Git](https://git-scm.com/) if you want to sync your vault with `rpass git ...`

#### Setup

This is a [Raycast](https://www.raycast.com/) extension that uses the [`rpass` CLI](https://github.com/rxtsel/rpass-cli) under the hood.

##### Install `rpass`

Install the CLI from crates.io:

```bash
cargo install rpass-cli
```

Or download a binary from the [`rpass-cli` releases](https://github.com/rxtsel/rpass-cli/releases).

Raycast may not inherit the same `PATH` as your shell. The extension automatically checks common locations such as `~/.cargo/bin/rpass`, `/opt/homebrew/bin/rpass`, and `/usr/local/bin/rpass`. If it still cannot find `rpass`, set its absolute path in the extension preference **rpass Executable Path**. For Cargo installs on macOS, this is usually:

```text
/Users/<you>/.cargo/bin/rpass
```

##### Windows

Auto-detection is tuned for macOS/Linux locations, so on Windows you should set the executable preferences explicitly if `rpass` and `gpg` are not already on your `PATH`:

- **rpass Executable Path** — e.g. `C:\Users\<you>\.cargo\bin\rpass.exe`
- **GPG Executable Path** — e.g. `C:\Program Files (x86)\GnuPG\bin\gpg.exe` (installed by [Gpg4win](https://www.gpg4win.org/))

##### Select your password store

`rpass` uses the standard [password-store](https://www.passwordstore.org/) format: entries are encrypted files such as `example/login.gpg`, recipients are stored in `.gpg-id`, and decrypted entries keep the password on the first line.

By default, the extension uses:

```text
~/.password-store
```

You can choose a different folder in the extension preference **Password Store Directory**.

If the selected store does not exist or has no `.gpg-id`, the extension will show a setup form. Enter one or more GPG recipients, such as an email, key ID, or fingerprint, and the extension will initialize the store for you.

##### Optional Git Sync

If your password store is a Git repository, write commands are committed automatically by `rpass`. Use the **Sync Vault** command to initialize Git for a new store, view recent history, pull changes, or push local commits.

#### Usage

The extension provides commands for common password-store workflows:

- **Vault**: browse, search, decrypt, copy, paste, edit, move, or delete entries.
- **New Entry**: generate a password or passphrase and save it to the store.
- **Sync Vault**: inspect Git status/history and run pull or push.

When opening an encrypted entry, the extension may ask for your GPG passphrase. It uses `rpass --passphrase-stdin` so the passphrase is passed through stdin, not through command-line arguments.

#### Avoiding GPG Timeouts

If decrypting entries times out, GPG may be waiting for pinentry. For non-interactive unlocks, enable loopback pinentry.

##### macOS / Linux

Edit `~/.gnupg/gpg-agent.conf` and add:

```text
allow-loopback-pinentry
```

Restart gpg-agent:

```bash
gpgconf --kill gpg-agent
```

##### Windows

Edit `%APPDATA%\gnupg\gpg-agent.conf` and add:

```text
allow-loopback-pinentry
```

Restart gpg-agent:

```bash
gpgconf --kill gpg-agent
```

This does not change GPG cache durations. It only allows `rpass --passphrase-stdin` to pass the passphrase directly to GPG instead of opening a pinentry UI.

#### Security

The extension relies on the [`rpass` CLI](https://github.com/rxtsel/rpass-cli) and GnuPG, so the same security model applies:

- passwords remain in your local password-store-compatible repository;
- entries are decrypted only when you explicitly open or use them;
- vault listing uses `rpass list --json` and does not decrypt entries in bulk;
- GPG passphrases are never passed as command-line arguments;
- generated or decrypted secrets are not stored by the extension;
- the extension only stores a short-lived non-secret marker that GPG was recently unlocked, so it can try the already-unlocked `gpg-agent` before prompting again.

#### Local Development

Install dependencies:

```bash
npm install
```

Run the extension in Raycast development mode:

```bash
npm run dev
```

Run checks before declaring work done:

```bash
npx tsc --noEmit
npm test
npm run lint -- --exit-on-error --non-interactive
```
