Better HN
topnewbestaskshowjobs
Log inSign up

babawere

1,603 karma · joined Dec 21, 2012 (13y ago) · 194 submissions

Submissions

comment 7mo ago · link · parent

Both, honestly. Fun and production intent. But `production` here is very specific, embedded in a single Go binary, a single *.db not a CLI tool (the cli you see there is just for inspection) for developer or CI.

The problem fnox solves is great, unified access to secrets across dev, CI, prod with cloud backends. That's a different layer of the stack.

Keeper solves a lower-level problem: you have a Go process (a load balancer, a control plane, a daemon) that needs to store secrets inside its own database not in a separate file, not in a cloud vault, not in env vars. Secrets that need per bucket isolation, audit trails, and crash-safe rotation.

Here is my thinking :

- fnox = how your CLI and deploy scripts get secrets

- Keeper = how your running binary stores secrets at rest

Different problems, Could I build Keeper on top of fnox? Probably. But then I'd have a file on disk with secrets that fnox manages which is exactly the problem I wanted to eliminate.

comment 7mo ago · link · parent

The first bug has been confirmed however The second `vulnerability` would only be exploitable if an attacker could also break SHA-256 preimage resistance to forge valid checksums ??? correct me if am wrong

comment 7mo ago · link · parent

Thanks for sharing this. secret looks really well thought out, the three-layer key hierarchy is impressive. And using `age` is a solid choice. once considered it.

Different trade-offs though, Keeper is library first embedded. secret does per version keys with symlink switching - nice, Keeper does per-bucket DEK isolation + audit chains. Both solve "encrypted local storage" but for different workflows.

I'll definitely be looking through your code for ideas

comment 7mo ago · link · parent

Thanks for the look. On the verification hash, you're right, SHA256 would work there. Argon2id was overkill, I agree 100%.

The crash-safe WAL is the part I'm most nervous about too. That's exactly why I posted this. I want eyes on the rotation logic specifically.

And yeah, single bbolt db is a limitation. I could have used pebble or any other, but trade-off for simplicity (a single *.db). A true WAL will need external file. The storage is pluggable though also open to improvement.

Still very young.

comment 7mo ago · link · parent

So have been told. Will definitely look for a better name

comment 7mo ago · link · parent

thanks for the update ... will definitely look for a better name

comment 7mo ago · link · parent

Honestly… the initial use case is to hide certs from the file system and secrets from the environment. However, this can be extended.

The primary issue has been not being able to manage an encrypted storage system… the main goal is to have something that can be audited, not just secured.

yes 100% ... embeded

comment 7mo ago · link · parent

Definitely … agents cannot access your password unless you save it to the environment too. However it's better to use resolvers ... depending on your use case

comment 7mo ago · link · parent

not when you need an audit system

comment 7mo ago · link · parent

I was thinking its better to be boring-correct :)

comment 7mo ago · link · parent

Even when you have a proper function and use AI for auto documentation, it silently changes it (insane) … I will defiantly fix this.

12.

Show HN: Keeper – embedded secret store for Go (help me break it)(github.com ↗)

64 points · by babawere · 7mo ago · 33 comments

13.

Why Reverse Tabnabbing Matters (An Example on Reddit)(reddit.com ↗)

16 points · by babawere · 7y ago · discuss

comment 7y ago · link · parent

Can you please explain in details?

15.

Digitize currency with Chain Core(chain.com ↗)

2 points · by babawere · 9y ago · discuss

16.

Create your own image mosaic.(github.com ↗)

2 points · by babawere · 9y ago · discuss

17.

Moving to Bare Metal(about.gitlab.com ↗)

2 points · by babawere · 10y ago · discuss

18.

Go 1.5 concurrent garbage collector pacing(docs.google.com ↗)

1 points · by babawere · 11y ago · discuss

comment 11y ago · link · parent

Its came with the version 7 and you can see here https://help.comodo.com/topic-72-1-451-6840-.html it says

You can install PrivDog while installing Comodo Internet Security or by downloading the app from www.privdog.com/downloads.html

I saw the option to install PrivDog while Installing the Comodo Internet Security

comment 11y ago · link · parent

Why would comodo promote such a software ???

comment 11y ago · link · parent

Its bad enough because this was bundled with Comodo Internet Security ( https://help.comodo.com/topic-72-1-451-6840-.html and https://help.comodo.com/topic-169-1-413-6109-.html )

22.

Is PrivDog another Superfish

25 points · by babawere · 11y ago · 15 comments

23.

-int16(-32768) == -32768?(reddit.com ↗)

1 points · by babawere · 11y ago · discuss

24.

Write in Go (Fall 2014)(youtube.com ↗)

4 points · by babawere · 12y ago · discuss

25.

PHP 5.6.1 released(php.net ↗)

1 points · by babawere · 12y ago · discuss

26.

What is the difference between while (true) vs. while (\true)?(stackoverflow.com ↗)

3 points · by babawere · 12y ago · discuss

27.

Go Image Filtering Toolkit(github.com ↗)

4 points · by babawere · 12y ago · discuss

comment 12y ago · link · parent

Dmitry Vyukov Bug https://groups.google.com/forum/#!topic/golang-nuts/MnsJ8_F7...

29.

PHP 5.5.12 release(php.net ↗)

1 points · by babawere · 12y ago · discuss

comment 12y ago · link · parent

I think you are evaluating 'go' based on feature set rather than the amount of friction a developer experience when using it to develop a good product.

C++ is fantastic but I personally experience far less friction when working with 'go' for most of my task.

1234567