HNHacker News
TopNewBestAskShowJobs

dangtony98

307 karma · joined March 24, 2022

submissionscomments
dangtony98··on Show HN: Open-Source Data Anonymization for Developers
Why this over something like Faker?
dangtony98··on Show HN: Infisical PKI – Open-Source Private CA and Certificate Management
Not yet but we definitely have ideas for this coming up next on the roadmap.

The basic idea would be to allow you to create CAs with external/imported CA options which would assist with a migration.

For example, you would be able to "import" in a signed certificate (+chain) from an external parent CA when installing an intermediate CA in Infisical — As you'd expect, Infisical would generate a CSR for the CA to be signed by the parent CA externally.

dangtony98··on Show HN: Infisical PKI – Open-Source Private CA and Certificate Management
We've laid out a pretty flexible foundation for this first release of Infisical PKI. The API is fully exposed, so you'd be able to orchestrate your own CA renewal workflow as you wish.

You can't reissue the same CA with a new validity period yet but you can definitely issue new CA(s) as part of your CA succession — This does take some manual work to do at the moment but we do plan to introduce more automated renewal workflows soon involving automatic generation of CSRs to parent CAs, auto-approving + reissuing new certificates, etc.

Definitely be on the lookout for that! Happy to expand on some of these plans :)

dangtony98··on IBM to buy HashiCorp in $6.4B deal
You should look into Infisical: https://github.com/Infisical/infisical

Disclaimer: I’m one of the founders.

dangtony98··on The Great Migration from MongoDB to PostgreSQL
The nature of the use-case evolved and, at one point, the MongoDB + Mongoose ORM combination was in fact optimal judging from various aspects including tooling familiarity with most to the primary use-case being the managed cloud service. As the situation evolved, it no longer became optimal and was superseded by various stack-wide adjustments.

Regarding tooling familiarity: In the earlier stages of a company, I'd argue it to be important to pick what you can ship with fastest. You don't want to prematurely, for example, setup a complex microservices setup and deployment with K8s for an idea that is in its infancy and that might not even get that much traffic to begin with. Instead, deploying a monolothic app to Heroku might be the optimal choice (YC has a more extreme term for this they call "duct tape engineering"). As the company grows and there is clearer product market fit, it makes sense to further optimize the stack and perform adjustments as needed.

Regarding the use-case changing, it wasn't entirely obvious in the beginning that a lot of users would self-host the product, so it was designed more-so with the cloud product / managed service in mind; in hindsight things seem more obvious but not in the moment. As it became clearer that more and more people were going to self-host this product, the team shipped more features to accommodate for a simpler self-hosting experience and, as part of that, the PostgreSQL migration.

dangtony98··on The Great Migration from MongoDB to PostgreSQL
I'm actually very bullish on MongoDB.

While the article and significant sentiment in threads suggest a push off MongoDB toward PostgreSQL, I do think MongoDB has its own place in the stack and that it won't be obsoleted. I've personally had many pleasant experiences working with it in past projects.

Regarding business metrics, I may have a slight bias coming from the startup world but we often value revenue the most, especially in the earlier stages of a company; we can reduce costs and perform various optimizations in the future but what stays at the foundation is whether or not there is strong product market fit such that more customers keep coming in and coming back to use the underlying product — I would say MongoDB's current growth trajectory is in line with that.

I'm hopeful overall that they can turn profitable (maybe not this year or next but eventually so).

dangtony98··on The Great Migration from MongoDB to PostgreSQL
Author of the article here!

The article itself does not "complain the product is bad" but some other comments in this thread would certainly suggest so. Instead, the article says that the use-case evolved, states reasons for why MongoDB was no longer suitable (while at some point it was) and why PostgreSQL was chosen instead, and discusses the migration process involved in the transition and the results.

Regarding lacking support with cloud providers and lacking experience with MongoDB is indeed NOT MongoDB's problem. However, it is a problem for users of the platform that are trying to self-host it with MongoDB as a database dependency and therefore justifies the PostgreSQL migration with PostgreSQL being a better candidate for this use-case.

To be clear, the article is not saying that MongoDB is bad and no fingers are being pointed. I would in fact say that there are an array of use-cases where MongoDB is an excellent choice (e.g. I resonate with the point on rapid prototyping).

Please don't skew the words.

dangtony98··on Developer Experience Philosophy
Highly resonate with this article, especially the point on zero friction makes me think of "minimizing time to the aha moment."

You lose users for each barrier, hoop, and hurdle that they have to jump through.

Great read!

dangtony98··on Infisical – open-source HashiCorp Vault alternative
Hey!

Definitely, we have more details on the cryptography in our documentation here: https://infisical.com/docs/security/overview.

Put simply, Infisical operates E2EE by default which means the platform itself can’t decrypt secrets. This is unless you opt out of E2EE (secrets remain encrypted at rest) to use select features like native integrations - this is, however, not necessary to use the platform. In your case, you might wish to run Infisical in E2EE mode for maximum security.

That said, it’s always important for you to keep your instance of Infisical secure that is ideally to not allow bad actors to gain root access to the machine.

dangtony98··on Infisical – open-source HashiCorp Vault alternative
Yeah the pricing on their is only for the hosted service.
dangtony98··on Infisical – open-source HashiCorp Vault alternative
Second this, we don’t have any such limitations on OSS that is you can totally self-host Infisical on your own infrastructure and have unlimited users, projects, and environments.

I think there may be a mix-up here with Infisical Cloud which is the managed service with subscription tiers.

dangtony98··on Infisical – open-source HashiCorp Vault alternative
Thank you!

Check out this demo as well: https://www.youtube.com/watch?v=PK23097-25I&ab_channel=Infis...

We put a lot of work into engineering but also the design and messaging of the platform to developers as well :)

dangtony98··on Infisical – open-source HashiCorp Vault alternative
Definitely. Our plan is to double-down on secret management and branch outwards but incrementally starting with secret scanning to prevent and detect leaked secrets in codebases.

Ultimately, we intend each initiative of our roadmap to have synergies with the rest of the platform.

You can check out our past and immediate roadmap here: https://www.notion.so/be2d2585a6694e40889b03aef96ea36b?v=5b1...

dangtony98··on How to mitigate risk from secrets leaks
First off, I want to point out that browser-based services and applications can be made secure; we should keep this one clear, especially for readers here, because otherwise it would invalidate most if not all services that exist accessible via browser. Take AWS which houses infrastructure for so many organizations; we access it via browser and this is totally fine.

The assumption you highlight is specifically "if a browser-based service gets hacked." Well yes, if any browser-based service, like AWS, got hacked then it'd be all game over. However, given that appropriate security measures are implemented/taken, we can in fact design web applications that are securely accessible via browser; this is the basis for how we access applications on the web securely, those that are not end-to-end encrypted (E2EE).

What I'm trying to say is that your assumption is based on a particular case that is "if a browser-based service gets hacked." I think, however, if this assumption occurred to many other non-E2EE services we use on a daily basis, we'd have a huge problem as well. Now, the reverse assumption that is the browser-based service is not hacked, coupled with an E2EE architecture, I believe it's possible to design a secure system here where even the server cannot read the values of secrets which is a point of E2EE.

dangtony98··on How to mitigate risk from secrets leaks
Definitely tricky to validate. Most tools out there offer multiple methods of excluding certain data-points whether it be by adding a comment by it to indicate intentionality, a file containing specs to exclude like values or matching patterns, or a UI that you can use "post-leak" to dismiss it as false positive.

I definitely resonate with your point though on the automatic errors due to false positives. There is a lot of room for improvement.

dangtony98··on How to mitigate risk from secrets leaks
I wouldn't undermine and characterize it as fig leaf personally. I think this would raise a natural question on my end which is how do you evaluate the security of platforms like 1Password, Bitwarden, Vault, all of which also offer browser-based alternatives?
dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Mhm I'll definitely look over SSO and talk to the team about including it in the lower plans as it would definitely be useful for smaller teams as well.
dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Just added it to my bookmarks — Will be checking it out thanks!

I wonder how this compares to Snyk, also in the area of securing against supply chain attacks.

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Big fans of WorkOS! Happy to be talking with your team about SSO options for Infisical :)

We built out all our OAuth2 integrations with other platforms (different from SSO but something relatable), so we have an idea of how much work it is to maintain these types of “integrations” and related services… Clearly enough to warrant entire solutions like WorkOS dedicated for this exact purpose.

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Getting certified is unfortunately not an overnight task … SOC2 alone will likely take months and that’s not yet factoring in the security audit as well. As much as we’d like to have it done ASAP, a lot of it is dependent on the length of the process and requirements to be met - that’s why my estimate is within the next 2 quarters (sooner the better).

As an open source company, we’ve basically “launched” since the moment we open sourced the codebase - it’s a constant iteration process for us and every week we release security updates as part of our roadmap. Security certifications and audits are something we’re starting to do in parallel at the moment whilst still being early in our journey (open sourced 3 months ago roughly).

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Thanks!

We're both in the same domain, open-source, and E2EE. Right off the bat, I'd say there are a few key observable differences:

- Infisical is open-source more-or-less from the get go and, as a testament to that, we've grown our community and contributors a lot (50+ now); Envkey was closed-source for a long time before deciding to open-source more recently.

- Infisical is E2EE with opt-out ability so user's can sync secrets directly to cloud platforms like Vercel, Render, GitHub, Netlify, etc. via their APIs; Envkey doesn't have this capability.

- Infisical's client is browser-based; Envkey's is an application you can download back.

Depending on your circumstance and needs, you may find pros and cons for going with either solution.

I will acknowledge that Envkey has been around for much longer, so it may have broader functionality in some respects (e.g. they have SDKs developed across most major languages that we have on our roadmap for the following quarters). Lastly, (small mention) I think that we do care about UI/UX more than a lot of other solutions in the market.

These are just some early thoughts; will add on as more come in.

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Thanks so much for this comment - very valuable insights.

RE security: 100% agree with everything you said. This is at the end of the day a security product. Even though we're very early, we've put a ton of thought into the security and especially the cryptography behind our product (e.g. we decided E2EE since the start) and intend on maximizing security posture in the coming months and years ahead — earning trust will definitely be an uphill battle but we hope to do it and have an optimal solution for everyone.

RE SSO: Initially, we started by exploring what other solutions on the market are doing about this and noticed SSO as an enterprise ask even for security products like Bitwarden. That said, I think you have a great point here that I'll discuss with the team: SSO doesn't have to be available/not available across plans but that it could be available across all plans and larger organizations would need to pay for it anyways on the basis of needing it for more users — this preserves the SSO benefit for individuals and small teams as well as enterprises.

PS: I'll work on doing a better job responding to security reports; I appreciate everyone's input a lot in this thread and hope to express that better over writing...

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Down to jam on your use-case!

The CLI "wrap command" is the main way of using Infisical at the moment and works for injecting secrets for local development as well as embedding into your Docker images if you use that; it definitely has pros and cons (a pro is not having to bundle any packages into your application code - in that sense, "dependency-less") but I can see it not being for everyone.

As mentioned we have an open API that we're working to make easier to use because E2EE ops for encrypting/decrypting secrets are not pleasant honestly to have to piece together yourself — because of this we have plans to release SDKs to abstract-away the cryptography (reading/writing secrets from/to Infisical would be one function call away).

What options would you want for interacting with a secret manager, just wondering?

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Surprisingly, audit logging has been deceivingly complex for us. There are many types of events (part of logs) triggered throughout the platform carrying different payloads/formats (e.g. events related to secrets, users, etc.). The variation in such events is increasing with the complexity of the product not to mention costs required to handle accumulating events. Last month, we served 14.2M+ secrets alone through the platform not counting other events — I hope this sheds more light on the audit logging side of things?

Re SSO: Totally get this one and I'm aware of the SSO tax — we're still figuring this one out but know currently that it's an absolute must for enterprises.

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
We're preparing to do a SOC2 with Vanta first followed by a security audit with some firm like Trail of Bits next.

We're fortifying the codebase every day and would expect this process to be complete in the next 2 quarters.

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
There are 3 different locations in the GitHub repo regarding the security policy: a SECURITY.md file containing instructions to report security vulnerabilities to team@infisical.com — this is employed in other open core repos like Strapi, PostHog, Chatwoot; a security policy on the sidebar that links to the SECURITY.md; and a security section in our README that also links to the SECURITY.md.

There's also an issue template for reporting vulnerabilities as well as you mentioned.

That said, we'll add info to the security page in our docs to contact us regarding vulnerabilities.

Thanks!

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
In many cases, your infrastructure may be sprawled from local development to cloud providers and CI/CD pipelines like you mention; you may have many environments each requiring their own set of secrets. This phenomenon is known technically as "secret sprawl" (see here for a fuller read: https://www.conjur.org/blog/what-is-secrets-sprawl-how-to-av...).

There's a lot of issues with secret sprawl but I think the relevant one to your specific question mentioning other cloud providers would be having missing secrets across infrastructure (you introduce a new secret to the codebase and forget to update it everywhere else, as well as communicate it or sync it through to other developers on your team) — applications crash, you lose time.

A big idea in secret management amongst others is the idea of *centralizing* your secret management in one place — update here, update everywhere. We help achieve that across your entire infrastructure and have a handy dandy CLI that also helps you inject secrets back into your programs (achieving secret management for local development with zero application dependencies) if you need that :D

I may be misinterpreting your question actually — Unless you mean why use Infisical versus other alternatives on cloud providers like AWS Secret Manager / Parameter Store, Azure Key Vault, etc?

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
I definitely share the concerns/thoughts around open core and keeping too many features closed source here; it's a very difficult thing for companies to figure out what the right balance is for public/closed-source features. There's never a correct balance that satisfies everyone but the best we can do is deliberate which features would be more individual/team-oriented and which would be more enterprise-oriented to be charged.

In terms of Infisical, this is honestly something we're still figuring out as we're mapping out our roadmap ahead — We try to get feedback from our community in thinking about this since we all contribute to the codebase (also do feel free to suggest what you think would be appropriate).

And yea thanks for the suggestion regarding product comparisons with competitors. We have that on the TODO list in addition to other tasks all related to enriching product information like providing more granular product pricing breakdowns!

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Open source is a lot to unpack haha — There's a ton there but yea I think giving the ability for people to self-host the solution is a really important in our mission to increase access to secret management tools to all developers.

Infisical is already pretty easy to self-host but we want it to be even easier — Likely by introducing a 1-click deploy to Heroku/Digital Ocean for folks that need that.

And yea ack with the enterprise space solutions you mentioned. We've a long way to go as a secret manager but I have hopes that one day we'll get to a world-class product that's as good and better!

dangtony98··on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers
Yup!

We appreciate feedback we can get across all aspects including security but employ a security policy of reporting any security concerns via email - this is pretty standard practice we've seen.

← PreviousPage 2 of 3Next →