Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bergercookie/pass-open-doc
Open a file from your Password Store via xdg
https://github.com/bergercookie/pass-open-doc
bash fish password-manager unix-password-manager
Last synced: 6 days ago
JSON representation
Open a file from your Password Store via xdg
- Host: GitHub
- URL: https://github.com/bergercookie/pass-open-doc
- Owner: bergercookie
- License: bsd-3-clause
- Created: 2018-04-28T16:52:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-15T20:24:30.000Z (over 2 years ago)
- Last Synced: 2024-10-10T23:49:17.573Z (27 days ago)
- Topics: bash, fish, password-manager, unix-password-manager
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-password-store - pass-open-doc
README
# `pass-open-doc`
Open a password from your Pass Unix Password Manager via `xdg-open`.
This facilitates opening and interacting with images or filetypes other than raw text that are stored with Pass.
## Installation
Download this script and place it under your `$PATH`. You should have `gpg` installed.
## Usage
Just point `pass-open-doc` to one of your files in your password store either with their full path or relative to the password store root.
```
$ pass-open-doc -hOpen a gpg-encrypted, optionally pass-stored, file
Usage: /home/berger/dotfiles/bash_scripts/pass-open-doc [-g|--gpg_id ] [-h|--help]
: gpg-encrypted file to open. You can either use the full path to the file or just the name of the pass-stored item
-g, --gpg_id: gpg-id to use. (default: '/home/berger/.password-store/.gpg-id')
-h, --help: Prints help
```## Completions
There's a fish-completion script you can use. See the [completions](/completions) directory