envkey

Simple, end-to-end encrypted configuration and secrets management (by envkey)

Envkey Alternatives

Similar projects and alternatives to envkey

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better envkey alternative or higher similarity.

envkey reviews and mentions

Posts with mentions or reviews of envkey. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • Show HN: Envkey-VSCode ā€“ Autocomplete/type-checking for env vars in 46 languages
    1 project | news.ycombinator.com | 21 Jun 2023
    envkey-vscode is a VSCode extension that provides autocomplete, type checking, and peek-on-hover for environment variables in 46 different programming languages. Instead of a typeless, error-prone blob, the environment now acts like a strongly-typed object in every language you work in.

    Iā€™ve been using this extension myself for a couple weeks now and it feels like a pretty significant upgrade to my development workflow, especially when working on integrations across multiple languages, so I thought it was worth showing you all.

    envkey-vscode relies on EnvKey, an open-source, end-to-end encrypted configuration and secrets manager that is focused on security and ease-of-use. Itā€™s cross-platform, can integrate with any language or host, and can be cloud-hosted or self-hosted. Getting a project integrated normally takes a couple minutes.

    More on EnvKey: https://www.envkey.com

    Building and testing it has been an interesting process, as I relied quite heavily on ChatGPT/GPT-4 to cover languages that Iā€™m not very familiar with. It helped me to develop regexes to cover the common forms of environment access in each language, as well as to produce small test cases and Dockerfiles that can run them. While it took a lot of passes and tweaking to root out hallucinations and get each language right, I donā€™t think thereā€™s any way I could have built a tool like this in a reasonable amount of time. Having a single `test` command that runs examples in dozens of languages is pretty amazingā€”sort of like a rudimentary version of Replit that runs locally.

    All the code for the extension lives in EnvKeyā€™s monorepo here: https://github.com/envkey/envkey/tree/main/public/sdks/tools...

    Iā€™m planning to write up a blog post on this process and what Iā€™ve learned about how to get the most out of GPT on a polyglot coding project like this. If youā€™re interested, you can sign up to get notified here when this post is live: https://envkey.us15.list-manage.com/subscribe?u=623039cd8518...

  • PHP library for EnvKey: an open source, end-to-end encrypted configuration and secrets manager
    4 projects | /r/PHP | 1 Jun 2023
    envkey-source code is here: https://github.com/envkey/envkey/tree/main/public/sdks/envkey-source
  • Show HN: Gut ā€“ An easy-to-use CLI for Git
    19 projects | news.ycombinator.com | 30 Mar 2023
    If anyone needs help keeping secrets out of git, you could give EnvKey[1] a look (disclaimer: I'm the founder). It aims to keep all secrets out of the repo completely so that you can't be burned by forgetting to add something to .gitignore

    It takes a few minutes to install and then all your secrets and config will be in the environment, and will stay automatically up-to-date when there are changes.

    Might be a way to cut out that particular failure mode when using Gut (which looks interesting btw--kinda like Git: the good parts).

    1 - https://github.com/envkey/envkey

  • Bitwarden Design Flaw
    5 projects | news.ycombinator.com | 23 Jan 2023
    We took a similar approach to passphrase stretching in EnvKey[1] v1 (EnvKey is a secrets manager, not a passwords manager, but uses end-to-end encryption in a similar way). We used PBKDF2 with iterations set a bit higher than the currently recommended levels, as well as Dropbox's zxcvbn lib to try to identify and block weak passphrases.

    Ultimately, I think it's just not good enough. Even if you're updating iteration counts automatically (which is clearly not a safe assumption, and to be fair not something we did in EnvKey v1 either), and even with safeguards against weak passphrases, using human-generated passphrases as a single line of defense is just fundamentally weak.

    That's why in EnvKey v2, we switched to primarily using high entropy device-based keys--a lot like SSH private keys, except that on Mac and Windows the keys get stored in the OS keychain rather than in the file system. Also like SSH, a passphrases can optionally be added on top.

    The downside (or upside, depending how you look at it) is that new devices must be specifically granted access. You can't just log in and decrypt on a new device with only your passphrase. But the security is much stronger, and you also avoid all this song and dance around key stretching iterations.

    1 - https://github.com/envkey/envkey

    2 - https://github.com/dropbox/zxcvbn

  • Seriously, Stop Using RSA
    3 projects | news.ycombinator.com | 1 Apr 2022
    EnvKey[1] moved from OpenPGP(RSA) to NaCl for its v2, which recently launched.

    Itā€™s causing a difficult migration for our v1 users. Moving to a new encryption scheme is not fun for a product with client-side end-to-end encryption.

    But within a year or so after releasing the v1, it seemed like the writing was on the wall for OpenPGP and RSA. I didnā€™t want to go down with a dying standard.

    NaCl is so much better. In spite of the migration headaches that will likely cost us some users, Iā€™m very happy I made this decision. Itā€™s so much faster, lighter, and more intuitive.

    Itā€™s legitimately fun to work with, which I never thought Iā€™d say about an encryption library after cutting my teeth on OpenPGP.

    1 - https://github.com/envkey/envkey

  • Show HN: EnvKey 2.0 ā€“ End-To-End Encrypted Environments (now open source)
    4 projects | news.ycombinator.com | 30 Mar 2022
    The process management code lives here: https://github.com/envkey/envkey/blob/main/public/sdks/envke...

    Basically the command you pass in to envkey-source is run via:

    exec.Command("sh", "-c", c)

    (c is the command you passed as a string.)

    Stdout/stderr is piped through, and .Wait() is called on the command. If envkey-source is in watch mode, it will send a SIGTERM when the environment is updated, then re-run the process once the initial process has died. I can verify that, for example, if a server listening on ports is restarted in this way, the process will die and the ports will be cleared before the new process is started (this has been well-tested).

    Do you see a problem with this approach? We will prioritize making all this bulletproof.

  • EnvKey End-to-End Encrypted Environments Is Now Open-Source
    1 project | news.ycombinator.com | 25 Mar 2022
  • A note from our sponsor - SurveyJS
    surveyjs.io | 29 Apr 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more ā†’

Stats

Basic envkey repo stats
9
594
7.0
about 2 months ago

envkey/envkey is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of envkey is TypeScript.


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com