https://github.com/thomd/pass-paper
A pass(1) extension to print all passwords on paper (being aware of the risks)
https://github.com/thomd/pass-paper
Last synced: about 1 year ago
JSON representation
A pass(1) extension to print all passwords on paper (being aware of the risks)
- Host: GitHub
- URL: https://github.com/thomd/pass-paper
- Owner: thomd
- License: mit
- Created: 2021-09-05T19:52:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T12:52:50.000Z (over 4 years ago)
- Last Synced: 2025-02-05T21:42:50.333Z (over 1 year ago)
- Language: Shell
- Homepage: https://www.passwordstore.org/
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Paper Backup for pass
An extension for [pass(1)](https://www.passwordstore.org/) - the standard Unix password manager - to backup all passwords to paper.
:warning: Always know what you are doing! Be aware of the risks!
## Install
make install
The extension is installed into `~/.password-store/.extensions/` and must be enabled with (you might need add this into your `.bashrc`):
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
This extension is only tested for **macOS**.
### Uninstall
make uninstall
## Output
`pass paper` prints only content above a separator (default separator is `=======`): all lines above the
separator are printed, all lines below the separator are **not** printed (including the separator).
### Example Output
---- private/example.com -------------------------------------------------
mysecretpassword123
username: joe
---- work/example.org ----------------------------------------------------
supersecretpassword123
user: joe
## Usage
:warning: Always pipe output to `lp(1)` or `lpr(1)` to avoid having password in plain text in a file. If `pass paper` is
used to print to `stdout`, you are prompted to confirm.
:warning: Before printing, verify your default printer.
Print all passwords with
pass paper | lp
Print all passwords in a printer-friendly format (see `pr(1)`) with
pass paper | pr | lp -o media=A4 -o number-up=2
Print all passwords from 'folder' with
pass paper folder | lp
Print password 'folder/password' with
pass paper folder/password | lp
Print all passwords with content above separator `<<<<<<<` (7 chars or more) with
pass paper -s '<' | lp