Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukrop/pass-file
A pass extension for adding arbitary files to the password store. https://www.passwordstore.org/
https://github.com/lukrop/pass-file
file pass pass-extension password-store
Last synced: 3 months ago
JSON representation
A pass extension for adding arbitary files to the password store. https://www.passwordstore.org/
- Host: GitHub
- URL: https://github.com/lukrop/pass-file
- Owner: lukrop
- License: mit
- Created: 2018-04-26T23:54:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-27T10:36:45.000Z (about 1 year ago)
- Last Synced: 2024-06-16T11:33:29.305Z (5 months ago)
- Topics: file, pass, pass-extension, password-store
- Language: Shell
- Size: 10.7 KB
- Stars: 18
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-password-store - pass-file
README
# pass file
`pass file` is a extension for adding arbitary files to the [pass](https://www.passwordstore.org/) password store. Files will be encoded using `base64` before encryption. This extension is inspired by [gopass](https://github.com/justwatchcom/gopass)' `binary` function to which it is also compatible. Files stored with `gopass binary` can be retrieved with `pass file` and vice versa.## Usage
```
Usage: pass file action pass-name [path]
Actions:
store|add|attach: add new file to password store
retrieve|show|cat: retrieve file from password store and print it to stdout
edit|vi: edit a file (warning: unencrypted file will be opened with $EDITOR)
```## Examples
Storing a PNG picture and retrieving it.
```
pass file store pics/secretpic mypicture.png
pass file retrieve pics/secretpic > retrieved-picture.png
```
Alternativley you can also use shortcuts for `attach` and `retrieve`:
```
pass file add article my_super_secret_revelations.txt
pass file cat article
```
Use `edit` to edit a file:
```
pass file edit article
```
## Installation
See [here](https://www.passwordstore.org/#extensions) for details. There is also information on how to install extensions in the `pass` man page.