3 ms·
Ok, one additional dependency to your go.mod - big deal. And by builtin I was referring to the database/sql module which was designed for this.
by reactordev 1y ago
Ok, one additional dependency to your go.mod - big deal. And by builtin I was referring to the database/sql module which was designed for this.
- fkyoureadthedoc 1y agomaybe this is why they used sha-256 too, it's in the stdlib whereas bcrypt is a package (even if "official")
- ncruces 1y agoThe standard lib has pbkdf2 though. I'm guessing the goal is that the file can be managed more easily with a text editor and some shell utils.
- gtufano 1y agoMost of the more common SQLite implementations for go require CGO and this is a pretty steep request, it's definitely more than a line in go.mod
- jitl 1y agoWell the project goal seems to be extreme minimalism and stdlib only, and the choice of human readable data stores and manually editing the user list suggests a goal is to only need `vim` and `sha256sum` for administration