Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
moviuro
· 8y ago · 0 comments
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
Comments
[–]
tolmannator
8y ago
Good 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.