Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmpadden/pass.spoon

Password-store meets Hammerspoon
https://github.com/cmpadden/pass.spoon

hammerspoon lua password-store

Last synced: 24 days ago
JSON representation

Password-store meets Hammerspoon

Awesome Lists containing this project

README

        



# Pass.spoon

[Hammerspoon](https://www.hammerspoon.org) integration for the [password-store](https://www.passwordstore.org) password manager.

Easily select a password or OTP authentication code to your clipboard with a chooser menu.

## Usage

Install the spoon, and configure the hotkeys for toggling the selection menu.

```
hs.loadSpoon("Pass")

spoon.Pass:bindHotkeys({
toggle_pass = { { "cmd", "ctrl" }, "p" },
toggle_login = { { "cmd", "ctrl" }, "l" },
toggle_otp = { { "cmd", "ctrl" }, "o" },
})
```

## Warning

This utility is still evolving, and should be used at your own risk.

### `pinentry-tty` is not supported

If your _gpg-agent_ is configured to use `pinentry-tty`, you will not be prompted to enter your key's password. To circumvent this, you can either remove the password on your GPG key (_not recommended_) or use a GUI based entry program such as `pinentry-mac`. To enable `pinentry-mac` you can modify `.gnupg/gpg-agent.conf` like so:

```
pinentry-program /usr/local/bin/pinentry-mac
```

## Task List

Planned features:

- [ ] Add user-configuration for chooser style
- [ ] Display subfolders -- possibly setting the chooser `subText`
- [ ] Support handling `pinentry-tty`
- [x] Add user-configuration for hotkeys
- [x] Alert user when attribute is not found
- [x] Automatically clear clipboard after a period of time
- [x] Generate zipped released with GitHub actions
- [x] Lazy load choices for faster initialization
- [x] Support copying of username/login ID
- [x] Support the `pass-otp` extension