Commit Graph

13 Commits

Author SHA1 Message Date
Érico Rolim 0910b72cc8 Fix CI.
Forgot to add libargon2-devel.
2020-12-04 18:25:02 -03:00
Érico Rolim ca118c2b0d Remove WIP comment from cbc-file. 2020-12-04 18:24:44 -03:00
Érico Rolim e9bf5578dd Update CI. 2020-11-07 01:12:27 -03:00
Érico Rolim 31187c7af7 Add CI. 2020-11-04 02:12:23 -03:00
Érico Rolim cb41214e59 Install cbc-file in bin.
Allows it to be used as a system utility.
2020-10-09 01:14:16 -03:00
Érico Rolim 2075f4b4d2 Add fread checking and fix order of parameters.
Not a problem on little endian machines, potentially a problem on big
endian ones.

Thanks Riastradh from freenode.##crypto.
2020-10-09 01:05:16 -03:00
Érico Rolim 4fe7044f17 Simplify error checking in get-otp.
Using an authenticated encryption scheme means we can check if we had
the proper password and not print anything to standard out, instead of
having jq verify if its input is valid JSON.
2020-10-09 00:55:06 -03:00
Érico Rolim 0f1ccd703c Add README and license. 2020-10-09 00:48:22 -03:00
Érico Rolim fa759a0c4b Create initial encryption script. 2020-10-09 00:25:20 -03:00
Érico Rolim 2f1a62265c Use argon2id for key derivation. 2020-10-09 00:10:17 -03:00
Érico Rolim 731195cd5d Move to ChaCha20+Poly1305 for encryption. 2020-10-08 23:50:06 -03:00
Érico Rolim 13a596b7ea Initial fix-ups.
- Switch to tab indentation.
- Add error handling to script.
2020-10-08 18:23:07 -03:00
Érico Rolim 54aeb505e5 Initial commit. 2020-10-08 18:14:27 -03:00