HNHacker News
TopNewBestAskShowJobs

somedudeguyy

9 karma · joined June 8, 2021

submissionscomments
somedudeguyy··on Ppl: The command line address book
I just use pass[0]. I namespace all my "passwords" with either "web/" "contact/", "local/" etc depending on what it is.

So contacts are my address book.

  pass edit contact/john.smith
And the contents are just toml files, eg

  name = "John Smith"
  email = "john@example.com"

  pass show contact/john.smith | toml2json | jq '.email'
Edit: I also wrote a little script that will crawl the contacts and build out a vCard for phones, email, etc. This works for me.

[0]: https://www.passwordstore.org/

[1]: https://github.com/rabbit-ci/toml2json