Live data from Hacker News

Show HN: Kvass, a personal key-value store

github.com

21–30 of 129 posts

Re: Show HN: Kvass, a personal key-value store

#21
post #9

For personal use, I’ve had good luck storing things in files. Then when I need those those things, I read the files.

Heh. Snarky but true. I store just about everything in a “notes” folder which is mostly markdown files. Easily searchable / editable with any tool you like.

Re: Show HN: Kvass, a personal key-value store

#22
post #18

What does it do better than Skate? Or what additional things does it do, url and qr codes?

I think it's fair to say that skate is the more mature tool. Kvass on the other hand is more focused and simpler.

Especially self-hosting kvass is even simpler than skate, and I had issues linking/syncing skate in the past.

It would probably be a nice weekend project to port the url/qr features to skate.

Re: Show HN: Kvass, a personal key-value store

#24
post #11

Nice project! I'm wondering why you choose to implement your own cryptography routines instead of using something standard like TLS. Apparently your `DecryptData` and `Encrypt` methods are vulnerable to replay attacks due to a lack of (EC)DH-style key exchange.

Thanks for the critique! I wanted to use symmetric crypto as its trivial to use without domains and certificates. The possibility of replays is a non-issue, as the key-value store is implemented as a CRDT and therefore all operations are idempotent. On the other hand, I didn't anticipate replay attacks in the design and thanks to your comment, I'll keep them in mind should I ever find myself in a scenario where they…

TLS is available in pre-shared key (PSK) mode. Looks like there is ongoing work to add TLS-PSK to Go's standard library: https://github.com/golang/go/issues/6379#issuecomment-117006...

Re: Show HN: Kvass, a personal key-value store

#25

Cool project! Congrats on launching ! What is the benefit compared to reddit or CF workers KV?

Mainly self-hosting and generating share-able urls. If your key's end in ".html" the mime type is even set accordingly and you can use it for toy-websites ;)

This is by no means meant to replace the backend of your app. It's more of an alternative to usb-sticks and google drive.

Re: Show HN: Kvass, a personal key-value store

#27
post #9

For personal use, I’ve had good luck storing things in files. Then when I need those those things, I read the files.

This seems unnecessarily snarky. You can make anything sound silly by reducing its functionality to the most basic level possible, ignoring all aspects of ergonomics and packaging. And you could make this comment about any storage engine. Like the infamous Dropbox comment here.

Re: Show HN: Kvass, a personal key-value store

#29
post #24

Earlier quoted context omitted.

Thanks for the critique! I wanted to use symmetric crypto as its trivial to use without domains and certificates. The possibility of replays is a non-issue, as the key-value store is implemented as a CRDT and therefore all operations are idempotent. On the other hand, I didn't anticipate replay attacks in the design and thanks to your comment, I'll keep them in mind should I ever find myself in a scenario where they…

TLS is available in pre-shared key (PSK) mode. Looks like there is ongoing work to add TLS-PSK to Go's standard library: https://github.com/golang/go/issues/6379#issuecomment-117006...

Cool! If this gets implemented, I'll definitely use is instead of raw AES.

Re: Show HN: Kvass, a personal key-value store

#30
post #26

What is the benefit compared to the private use of Redis? Redis is under BSD licence and continues to be very actively maintained and used.

I thought it’s a password store. Also bc of the name “v” pronounced Spanish = b, so key-bass, sounds like pass
Post reply on HN