encpass.sh | Lightweight solution for using encrypted passwords | Encryption library

 by   plyint Shell Version: v4.1.5 License: MIT

kandi X-RAY | encpass.sh Summary

kandi X-RAY | encpass.sh Summary

encpass.sh is a Shell library typically used in Security, Encryption applications. encpass.sh has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

encpass.sh provides a lightweight solution for using encrypted passwords in shell scripts. It allows a user to encrypt a password (or any other secret) at runtime and then use it, decrypted, within a script. This prevents shoulder surfing secrets and avoids storing the secret in plain text, which could inadvertently be sent to or discovered by an individual at a later date. The default OpenSSL implementation generates an AES 256 bit symmetric key for each script (or user-defined bucket) that stores secrets. This key will then be used to encrypt all secrets for that script or bucket. Subsequent calls to retrieve a secret will not prompt for a secret to be entered as the file with the encrypted value already exists. Note: By default, encpass.sh sets up a directory (.encpass) under the user's home directory where keys and secrets will be stored. This directory can be overridden by setting the environment variable ENCPASS_HOME_DIR to a directory of your choice.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              encpass.sh has a low active ecosystem.
              It has 571 star(s) with 42 fork(s). There are 25 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 9 have been closed. On average issues are closed in 51 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of encpass.sh is v4.1.5

            kandi-Quality Quality

              encpass.sh has 0 bugs and 0 code smells.

            kandi-Security Security

              encpass.sh has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              encpass.sh code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              encpass.sh is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              encpass.sh releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of encpass.sh
            Get all kandi verified functions for this library.

            encpass.sh Key Features

            No Key Features are available at this moment for encpass.sh.

            encpass.sh Examples and Code Snippets

            No Code Snippets are available at this moment for encpass.sh.

            Community Discussions

            QUESTION

            Can I pass bash arguements to an expect environment?
            Asked 2020-Aug-06 at 05:59

            I need to automate an openvpn connection to a server that requires me to enter a password.

            I can do this with expect but I don't want to keep the password in plain text in the script.

            I found encpass to help encrypt the password which I just need to source and get it to get the encrypted version of the password.

            The problem comes when I try to pass the unencrypted password to expect. From what I understand, expect and bash are 2 different environments and bash cannot run expect. What I have so far is the following:

            ...

            ANSWER

            Answered 2020-Aug-06 at 05:59

            Two ideas spring to mind:

            1. if you want to embed expect code into a shell script, use the environment to pass values, and use a quoted heredoc to avoid quoting hell (don't forget to "hit enter" for the send command)

            Source https://stackoverflow.com/questions/63266262

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install encpass.sh

            Download the encpass.sh script and place it in a directory on your path. Example: curl the script to /usr/local/bin.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries