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

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)

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