Hacker GitHub

← All repos

plyint/encpass.sh

View on GitHub ↗ ★ 612 Shell

Lightweight solution for using encrypted passwords in shell scripts

13 mentions on Hacker News by 2 people: 0 stories, 13 comments · first 2019-12-08 · latest 2021-12-16

Mentions per year 13 mentions · busiest year 2020 (9)
20082026
  1. For those interested in pass for use in shell script based contexts, you may also find encpass.sh ( https://github.com/plyint/encpass.sh ) useful. This is a simple tool I wrote (a while ago now) to encrypt/decrypt secrets and store them in…
  2. …article with passing secrets on the command line is one of the reasons why we wrote encpass.sh ( https://github.com/plyint/encpass.sh ). We had a similar need for a lightweight solution for managing secrets for simple shell scripts on our…
  3. We made an extension for encpass.sh (similar in some ways to pass) that stores secrets in Keybase ( https://github.com/plyint/encpass.sh/blob/master/extensions/... ) if that sort of thing is of interest to you. Outside of personal secrets,…
  4. …In the vein of simplicity, we created a lightweight secret management script called encpass.sh ( https://github.com/plyint/encpass.sh ) Our use case initially was to have a simple and relatively secure way to handle secrets within shell…
    comment by ahnick · 2020-11-30 · in Simple Password Management with GPG
  5. …identity and chat, we created an extension to encpass.sh to use Keybase for our secret storage. ( https://github.com/plyint/encpass.sh/blob/master/extensions/... ) It has been working really well so far, as when we add someone to a Keybase…
  6. …\- Use encrypted passwords in shell scripts ... EOF See encpass.sh for a working example of this -> https://github.com/plyint/encpass.sh/blob/master/encpass.sh
    comment by ahnick · 2020-07-07 · in Help Message for Shell Scripts
  7. If you need a simple way to inject secrets into your aviary variables you may find encpass.sh ( https://github.com/plyint/encpass.sh ) a convenient choice.
  8. …a new release for the version command, v4.1.0. See the release notes here for additional details -> https://github.com/plyint/encpass.sh/releases/tag/v4.1.0
  9. https://github.com/plyint/encpass.sh/blob/93d42340/encpass.s... It uses PBKDF2 with 10,000 iterations if anyone else was wondering. The code is clean, kudos.
  10. This is pretty much why we created encpass.sh( https://github.com/plyint/encpass.sh ). It's just a single POSIX compliant shell script whose only real requirement is having OpenSSL installed. Sometimes when you are hacking on a shell…
  11. We also use Keybase. We wrote an extension to our existing lightweight management script, encpass.sh( https://github.com/plyint/encpass.sh ), to be able to access/manage our secrets from the CLI and in our infrastructure scripts. The…
  12. One way we use it is for shared team secrets (e.g. API tokens) in infrastructure scripts. https://github.com/plyint/encpass.sh/blob/master/extensions/...
  13. …encrypted file sharing) for a simple secret storage mechanism for shell scripts. I map my encpass ( https://github.com/plyint/encpass.sh ) directory to kbfs.
    comment by ahnick · 2019-12-08 · in Unsolicited messages on Keybase