Commit Graph

24 Commits

Author SHA1 Message Date
7fccd5de96 Windows requires stdin/stdout to be explicitly set to binary to avoid mangled bytes 2020-01-03 22:47:59 -05:00
cb8ff1c78e Add windows builds 2020-01-03 01:19:53 -05:00
c05e5cc906 Update readme 2020-01-02 23:14:36 -05:00
74119989f7 Use AAD to validate last chunk and detect file truncation even on a chunk boundary 2020-01-02 20:37:01 -05:00
ec15b8166a Implement minimum password length of 12 for encrypting 2020-01-02 01:01:48 -05:00
f75e3871be Implement reading password from file 2020-01-02 00:58:16 -05:00
355c05219e Clean up documentation 2020-01-01 22:34:20 -05:00
fe7c7f982b Rework tests and AES CPU detection 2020-01-01 03:12:47 -05:00
7540fa7d7c Implement pegh file format Version 1 using ChaCha20-Poly1305 2020-01-01 03:12:34 -05:00
92b8534798 Prefer const to #define where possible 2019-12-30 03:07:32 -05:00
87b6b80ff9 Fix Makefile 2019-12-30 02:55:42 -05:00
f4d68fdb9e Remove obsolete comments in test.sh 2019-12-30 01:01:29 -05:00
3f85f69492 Set CHUNK_SIZE_MAX better for 32-bit systems 2019-12-30 00:51:28 -05:00
fcc9307d7c CI: compile/test against libressl too 2019-12-30 00:51:12 -05:00
d42539da59 Add mode that uses libsodium AES if the CPU supports it but falls back to OpenSSL AES if not 2019-12-29 23:59:38 -05:00
53b1fbb689 Add CI builds 2019-12-29 03:45:29 -05:00
643cd327f4 Add support for compiling against openssl OR libsodium, and tests for both against each other 2019-12-29 02:13:22 -05:00
8a48f437d9 Switch to encrypting chunks at a time instead 2019-12-28 16:39:38 -05:00
cf9d0dd243 Clean Makefile and fix all warnings that could be found 2019-12-27 00:44:52 -05:00
3ada2a29dd Practically rewrite all of pegh.c to operate on streams supporting unlimited length files 2019-12-26 20:12:37 -05:00
6fc9e1d871 document usage and pegh file format 2019-12-26 01:23:04 -05:00
82114dece7 Add options and command line parsing 2019-12-26 00:15:54 -05:00
2d1b9a3942 Add Makefile, make C89 compliant 2019-12-25 09:45:47 -05:00
919deb473d Initial commit 2019-12-25 01:35:42 -05:00