3 ms·
Yeh, I wonder if it's due to the fact that `pass generate` and `pass insert` commands, by default, create one-line files that gives this impression.
by mrmattyboy 6y ago
Yeh, I wonder if it's due to the fact that `pass generate` and `pass insert` commands, by default, create one-line files that gives this impression.
- karlding 6y agoWell, this exact use case is mentioned on the pass website [0]. > One approach is to use the multi-line functionality of pass (--multiline or -m in insert), and store the password itself on the first line of the file, and the additional information on subsequent lines. The Android Password Store app [1] also handles this format, interpreting the first line as the password and displaying the subsequent lines as additional information. [0] https://www.passwordstore.org/ https://www.passwordstore.org/ [1] https://github.com/android-password-store/Android-Password-Store https://github.com/android-password-store/Android-Password-S...
- cipherboy 6y agoI use my own wrapper over pass, https://github.com/cipherboy/p https://github.com/cipherboy/p, to use the remaining space as a JSON blob and pretty-print it with jq.
- nimitz12 6y agoBlog post author here, yes you are correct, I falsely assumed that I can only insert and manipulate one liners in the file due to these commands being the first things I learned about how to use pass, so I just moved away quickly without looking deeper.