qrz.is/content/post/2016-05-25-patch-for-the-cli-password-manager-pass.md

15 lines
677 B
Markdown
Raw Normal View History

2021-07-13 19:53:07 -04:00
---
title: Patch for the CLI password manager „pass“
author: micha
date: 2016-05-25T21:47:20+00:00
url: /patch-for-the-cli-password-manager-pass/
categories:
- Uncategorized
---
I use Pass (https://www.passwordstore.org/) to store and synchronize all my passwords.
When I use Pass via SSH on a remote system in order to retrieve a password, I cannot make use of it’s clipboard feature. In order to output the password without actually displaying it, I wrote the following patch which prints the password in red on a red background while still being able to be manually copied to the clipboard:
<https://gist.github.com/exitnode/73065c7ecf3c2e5bb77cef5a8563b86e>