scottmotte
Same for sops.
> The equivalent in vercel would be encrypted in the database (the encrypted '.env' file), with a decryption key in the backend
The encrypted .env file is actually committed to source code, and the decryption key is placed in Vercel's environment variables dashboard. The attacker only gained access to the latter here if using dotenvx so they can't get your secrets. Unless they also gained access to the codebase in which they have terabytes of data to go through and match up private keys from the database with encrypted .env files from the source code exfiltration - much more effort for attackers.
There is no silver bullet, but Dotenvx splits your secrets into two separate locations.
1. The private decryption key - which lives on Vercel in this example 2. The encrypted .env file which lives in your source code pushed to Vercel
Attackers only got access to the first (as far as I know was reported). So your secrets would be safe in this attack if using Dotenvx. (A private key is useless without its corresponding encrypted .env file. Attackers need both.)
The whitepaper goes into the problem and solution in more detail: https://dotenvx.com/whitepaper.pdf
Show HN: Vestauth – Auth for Agents
https://github.com/vestauth/vestauth
I"m the creator of dotenv and dotenvx. A month ago I started building a way for agents to store and rotate secrets as part of dotenvx and I ran into a problem. Agents can't sign themselves up autonomously. They need a way to do this - without a human in the loop.I searched for solutions but wasn't happy with any so I created Vestauth.Here's how it works:It manages both the agent and the...
to prevent this, use:
$ dotenvx ext precommit --install
What Does #1 on Hacker News Get You
From Dotenv to Dotenvx: Next Generation Config Management
Show HN: A better dotenv – dotenvx
https://github.com/dotenvx/dotenvx
I'm the creator of node.js' dotenv. I'm making a better dotenv called dotenvx.* run anywhere (cross-platform) * multi-environment * encrypted envsWhat do you think?
Inertia. This is everything. It takes effort to be around people unlike those currently around you.
We all have personal biases against the strata economically above us and below us. I think most of the individuals that move up economically are able to get beyond these biases for one reason or another. Otherwise, even the most hardworking individuals tend to self-sabotage when they start to feel out of place.
Anyone have one and like it? Or recommend a different dumb phone?
2. Start building. It will attract people. Don't go out and find them.
I was personally interested in HCQ before Trump ever tweeted it - turning it political. It was looking promising and still does.
After further personal study, I would like the conversation to continue.
[1] https://energycommerce.house.gov/sites/democrats.energycomme...
Testimony of Rosemary Gibson to US Commerce Subcommittee on Health (2019) [pdf]
Ask HN: Quickest way to acquire a US passport for children?
I would like to acquire US passports for my children. They are both toddlers. What is the quickest way to do this?I'm willing to pay a 3rd party to streamline the process. My main priority is speed of acquisition.My partner and I already hold US passports and are US citizens. Our children are also US citizens.
Ask HN: What search engine do you use for Netflix, Hulu, Amazon Video?
What search engine/tool/system do you use to search across the major tv and video providers like Netflix, Hulu, and Amazon Video?
The Seif Handshake
Email would only be allowed into my inbox if it was signed. Then, layer 2, it would only allow signed emails from senders whom I've accepted their public key.
A separate tab would show me all incoming request to accepts public keys (request to send email)
Now to opt-in to a marketing email I first accept their public key. To opt-out I delete their public key. Their email now goes to /dev/null.
Senders wouldn't have to re-implement unsub/subscribe, spammers would be /dev/nulled, and we could later add encryption on top of signing as a requirement.
Tangentially related, iOS mail app has a VIP setting.
Have you used Stripe as well? Authorize.net always got the job done. Then Stripe came along. I was honestly surprised of its success at the time. It was mainly just more of a joy to use - not cheaper or much easier. Just 'fun' as I remember it.
Ask HN: How do you currently solve authentication?
There are a lot of different ways to do authentication these days. How do you currently solve for it?Any tools you swear by? Anything you recommend? Anything you hate? Do you recommend writing it from scratch or using a framework or service?