Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cmpadden/pass.spoon
- Owner: cmpadden
- Created: 2021-11-04T23:32:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-08T19:07:38.000Z (about 3 years ago)
- Last Synced: 2024-10-25T03:59:38.678Z (2 months ago)
- Topics: hammerspoon, lua, password-store
- Language: Lua
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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