3 ms·
Don't forget `| head -n1`, as pass(1) files can contain whatever (TOTP secrets, usernames, URLs, etc.) and only the first line contains the password
by moviuro 9y ago
Don't forget `| head -n1`, as pass(1) files can contain whatever (TOTP secrets, usernames, URLs, etc.) and only the first line contains the password
- tolmannator 9y agoGood point, but if you're retrieving a key file for example, you'd just dump the content. Pass's one key per newline isn't a hard rule.