Commit Graph

22 Commits

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