Bash script for copying and autotyping data from password-store, gopass or prs.

add prs support #2

merged opened by jcg.re targeting main from push-vwswylplsrxo
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:cposd2qe5gzl2nvkbxqiupy5/sh.tangled.repo.pull/3m47eqaojvy22
+11 -10
Interdiff #0 #1
config

This file has not been changed.

+2 -2
tessen
··· 6 6 # ------------------------------------------------------------------------------ 7 7 8 8 # don't leak password data if debug mode is enabled 9 - set -x 9 + #set +x 10 10 11 11 # GLOBAL VARIABLES 12 12 declare _PASS_BACKEND _DMENU_BACKEND _TSN_ACTION _TSN_CONFIG ··· 101 101 _die "the selected file is empty" 102 102 fi 103 103 elif [[ $_PASS_BACKEND == "prs" ]]; then 104 - mapfile -t passdata < <(prs show "$_TSN_PASSFILE" 2> /dev/null) 104 + mapfile -t passdata < <(prs show --quiet "$_TSN_PASSFILE") 105 105 if [[ ${#passdata[@]} -eq 0 ]]; then 106 106 _die "the selected file is empty" 107 107 fi
+9 -8
README.md
··· 2 2 3 3 [![tangled](https://img.shields.io/badge/repository-tangled-blue)](https://tangled.org/@jcg.re/tessen) 4 4 5 - `tessen` is a bash script that can autotype and copy data from [password-store][1] and [gopass][2] 6 - files. A wayland native dmenu is required to use tessen and the following dmenu backends are 7 - recognized 5 + `tessen` is a bash script that can autotype and copy data from [password-store][1], [gopass][2] 6 + and [prs][36]. A wayland native dmenu is required to use tessen and the following dmenu backends 7 + are recognized 8 8 9 9 - [fuzzel][4] 10 10 - [tofi][15] ··· 24 24 25 25 ### Why use `tessen`? 26 26 27 - - `tessen` can autotype or copy (or do both at the same time!) your password store and gopass data 28 - including all of your key-value pair data 27 + - `tessen` can autotype or copy (or do both at the same time!) your password store, gopass and prs 28 + data including all of your key-value pair data 29 29 30 30 From what I've observed, most scripts out there do not autotype and copy all of your key-value 31 31 pair data. They also do not offer choices about autotyping or copying data with the same ··· 51 51 52 52 - [bash][16] 53 53 54 - - at least one pass backend is needed - either [password-store][1] or [gopass][2] 54 + - at least one pass backend is needed - either [password-store][1], [gopass][2] or [prs][36] 55 55 56 56 - at least one Wayland native dmenu backend, preferably [fuzzel][4], or [tofi][15], [bemenu][5], 57 57 [yofi][32], [wofi][6], [rofi][3] ··· 130 130 131 131 ## Features 132 132 133 - - autotype or copy (or both at the same time!) data, including all valid key-value pairs, in pass 134 - and gopass 133 + - autotype or copy (or both at the same time!) data, including all valid key-value pairs, in pass, 134 + gopass and prs 135 135 - generate TOTP/HOTP 136 136 - open URLs 137 137 - use custom values for `user`, `password`, `url`, `autotype` keys ··· 226 226 [33]: https://social.treehouse.systems/@psykose/109967460650885493 227 227 [34]: https://pkgs.alpinelinux.org/packages?name=tessen 228 228 [35]: https://search.nixos.org/packages?query=tessen 229 + [36]: https://timvisee.com/projects/prs/

Submissions

sign up or login to add to the discussion
jcg.re submitted #8
1 commit
expand
feat: add prs support
pull request successfully merged
jcg.re submitted #7
1 commit
expand
feat: add prs support
jcg.re submitted #6
1 commit
expand
feat: add prs support
jcg.re submitted #5
1 commit
expand
feat: add prs support
jcg.re submitted #4
1 commit
expand
feat: add prs support
jcg.re submitted #3
1 commit
expand
feat: add prs support
jcg.re submitted #2
1 commit
expand
feat: add prs support
jcg.re submitted #1
1 commit
expand
feat: add prs support
jcg.re submitted #0
1 commit
expand
add prs support