Commit Graph

  • 7ae0cedcb1 adapted pcp context stuff git@daemon.de 2014-05-05 12:01:25 +02:00
  • f01c2d2ca0 fixed invalid handling of pcp_err saving (crashed) git@daemon.de 2014-05-05 12:00:56 +02:00
  • e11c295b42 fixed integer overflows when importing keys with invalid header sizes (or invalid headers, that is) git@daemon.de 2014-05-05 11:59:54 +02:00
  • 01f149d4f1 adapt unittests to new pcp context stuff git@daemon.de 2014-05-05 11:57:57 +02:00
  • 86e815346a Merge branch 'master' of github.com:TLINDEN/pcp TLINDEN 2014-05-04 17:14:16 +02:00
  • da9891ff81 put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe. TLINDEN 2014-05-04 17:11:03 +02:00
  • 0476fa0795 get rid of static buffers git@daemon.de 2014-03-18 09:56:30 +01:00
  • 8336e57c43 fixed subtest names git@daemon.de 2014-03-18 09:55:59 +01:00
  • d1c87d1001 - TLINDEN 2014-03-17 19:16:41 +01:00
  • b6dadceda3 fixed utf8 bug, which sometimes lead to z85 handling of pure binary data TLINDEN 2014-03-17 19:15:04 +01:00
  • 322a135ee3 using Buffer instead of void for key2blob storage directly TLINDEN 2014-03-17 18:04:26 +01:00
  • b3851f62e8 revert mode changes made by windows devel system (sic) TLINDEN 2014-03-17 17:20:29 +01:00
  • 9e234600ca converted the arc4* function wrappers to makros git@daemon.de 2014-03-17 17:06:14 +01:00
  • 2e337c3aeb made the platform replacement functions extern git@daemon.de 2014-03-17 15:19:56 +01:00
  • 979cdd5c99 fixed unittest.pl - more portable git@daemon.de 2014-03-15 19:02:08 +01:00
  • a1cfe16c3c (back) ported win32 32bit compatibility along with lots of fixes scip 2014-03-15 17:26:42 +01:00
  • 080456219a removed unused vars git@daemon.de 2014-03-14 19:50:12 +01:00
  • 89b1dd770d Merge branch 'master' of github.com:TLINDEN/pcp TLINDEN 2014-03-14 15:52:55 +01:00
  • 85e2853925 added loop feature (variable loop = $count) to execute the same test multiple times TLINDEN 2014-03-14 15:50:32 +01:00
  • 92c14cc621 added fuzz unittests, trying to import invalid binary keys using mangle.c by Ilja van Sprundel TLINDEN 2014-03-14 15:49:42 +01:00
  • e8d835c0c6 made md5 command portable via wrapper script git@daemon.de 2014-03-10 17:05:41 +01:00
  • c5903ad7b4 fixed invalid fread() call git@daemon.de 2014-03-10 17:04:59 +01:00
  • 79e25bc05e fixed use of uninitialized var x git@daemon.de 2014-03-10 17:04:15 +01:00
  • 3594a53cd5 fixed invalid malloc (notation size, missed trailing zero) git@daemon.de 2014-03-10 17:03:27 +01:00
  • ad0c0bf0f7 fixed invalid sigstart initial size git@daemon.de 2014-03-10 17:02:29 +01:00
  • e2a509f30b fixed early free() and invalid malloc of pubkey (with size of skey) git@daemon.de 2014-03-10 17:01:35 +01:00
  • 3f8efaeec4 fixed invalid vasnprintf() calls git@daemon.de 2014-03-10 17:01:00 +01:00
  • c3070242a8 fixed invalid vasnprintf() calls git@daemon.de 2014-03-10 17:00:31 +01:00
  • 770d464dd1 added inline stdnstr() implementation for systems where it doesnt exists (e.g. linux) git@daemon.de 2014-03-10 16:58:48 +01:00
  • f383630e8e fixed buffer overflow with too small line buffer git@daemon.de 2014-03-10 16:57:49 +01:00
  • 5e82b7ec7b fixed buffer overflow when calling pcp_scrypt(), used invalid passwd size git@daemon.de 2014-03-10 16:57:01 +01:00
  • 71faa88592 portability fixes (compiles under macosx 5.8 as well, probably on newer ones as well) git@daemon.de 2014-03-08 19:27:52 +01:00
  • 1c068d441d check for zero sized input git@daemon.de 2014-03-04 23:08:10 +01:00
  • 9d60f7524d fixed decoding of files smaller than blocksize, fixed check for EOF without newline git@daemon.de 2014-03-04 23:07:08 +01:00
  • 8fe28625fc removed -S and -P, replaced by -K, keymgmt determines key type automatically git@daemon.de 2014-03-04 23:06:49 +01:00
  • 1852a8b7f9 removed -S and -P, replaced by -K, keymgmt determines key type automatically git@daemon.de 2014-03-04 23:05:47 +01:00
  • 3d2cdb8b89 updated manpage and usage TLINDEN 2014-03-02 22:01:03 +01:00
  • b640fe6743 fixed keysig saving (forgot the id), enhancements on cmdline TLINDEN 2014-03-02 18:05:45 +01:00
  • 0767e55e55 added -L, enhanced -E TLINDEN 2014-03-02 18:04:54 +01:00
  • 93a9f2d307 fixed signature headers, fixed z85 string parser, it didnt properly catch END headers TLINDEN 2014-03-02 10:35:51 +01:00
  • 4253e1088f rewrote z85 stream decoder (again), using hyphens again. clearsig doesn't work yet, a newline problem... TLINDEN 2014-03-01 18:51:25 +01:00
  • b8552af5e9 - broken - reimplementing z85 decoder, using hyphens again, doesn't work yet... git@daemon.de 2014-03-01 11:58:10 +01:00
  • 32b24a08c5 Merge branch 'master' of github.com:TLINDEN/pcp git@daemon.de 2014-02-27 20:02:36 +01:00
  • db125d7e79 dammit! git@daemon.de 2014-02-27 20:02:15 +01:00
  • efb2665497 fixed invalid tests TLINDEN 2014-02-27 19:53:25 +01:00
  • 49b2c191b0 Merge branch 'master' of github.com:TLINDEN/pcp git@daemon.de 2014-02-27 19:44:53 +01:00
  • 5281fd4042 bump git@daemon.de 2014-02-27 13:58:11 +01:00
  • 0d86dee4ee fixed doc git@daemon.de 2014-02-27 13:57:24 +01:00
  • 97f4d14d3b finally fixed all stream related problems, z85 transparent en/decoding works, unittests all ok. git@daemon.de 2014-02-27 13:55:43 +01:00
  • 927541092d added streams+armor unittest TLINDEN 2014-02-26 18:27:34 +01:00
  • 1ac81a3ac3 added support for backticks in variables TLINDEN 2014-02-26 18:27:10 +01:00
  • 2b54ac015a fixed another bug in ps_read_cached (buffer overflow in fact) TLINDEN 2014-02-26 18:26:44 +01:00
  • c11ce76d21 fixed ps_eof(): consider cache. fixed ps_read_cached() which didn't work under certain circumstances (blocksize < readbytes and such) git@daemon.de 2014-02-26 15:32:46 +01:00
  • deace4109c added tests/pipetest.c so I can test pcpstream with armoring with various blocksizes git@daemon.de 2014-02-26 15:31:45 +01:00
  • fd3edfc728 fixed pcp_unpadfour() which didn't work at all (!!!) git@daemon.de 2014-02-26 15:29:26 +01:00
  • 504ff55a00 added buffer_get_chunk_tobuf() which copies some chunk from one buffer to the other without a temporary variable git@daemon.de 2014-02-26 15:27:53 +01:00
  • 0069d6ea29 yet another pcpstream problem noted TLINDEN 2014-02-25 19:52:59 +01:00
  • 271c6259c2 added -O2 TLINDEN 2014-02-25 19:30:07 +01:00
  • 8b955b5e92 added -Wextra -Werror and fixed everything it had to mecker about TLINDEN 2014-02-25 18:05:32 +01:00
  • 21b0ea38db fixed doc git@daemon.de 2014-02-25 14:32:44 +01:00
  • ac65cb0313 - git@daemon.de 2014-02-25 12:26:54 +01:00
  • 3b1db06529 changed all occurrences of unsigned char to byte (defined in defines.h) to make the code more precise about sizes. git@daemon.de 2014-02-25 11:09:58 +01:00
  • cbc45f5fa1 added is_utf8() check to _buffer_is_binary() so that utf8 comments inside z85 encoded data doesn't count as binary git@daemon.de 2014-02-25 11:08:59 +01:00
  • 99f611ab80 fixed tilde z85 headers in signature stuff as well TLINDEN 2014-02-24 19:52:57 +01:00
  • 51858aeda2 changed z85 header and comment syntax and parser git@daemon.de 2014-02-24 16:59:04 +01:00
  • 9a5c8a3547 added doc TLINDEN 2014-02-23 11:04:15 +01:00
  • 5dd40a1779 fixed decoding and cached read TLINDEN 2014-02-23 11:03:49 +01:00
  • 33d80dab29 fixed empty goto TLINDEN 2014-02-22 19:59:41 +01:00
  • 272f7b3dfb added ps_finish() to write the remainder out (if any), split writing into a couple of helpers TLINDEN 2014-02-22 19:58:56 +01:00
  • ab142a47b6 fixed double buffer_free() TLINDEN 2014-02-22 16:00:07 +01:00
  • cfb8207ac2 added automatically z85 encoding/decoding (again, but this time better) TLINDEN 2014-02-22 14:52:32 +01:00
  • 10d3b1aa90 brought to current TLINDEN 2014-02-21 20:38:01 +01:00
  • 9cbde1fb80 fix free() bug TLINDEN 2014-02-21 20:37:48 +01:00
  • fe1ea9cb76 Revert "rm html stuff from repo, changes too often. enhanced pcpstream" TLINDEN 2014-02-21 20:35:10 +01:00
  • 82b05b768e rm html stuff from repo, changes too often. enhanced pcpstream git@daemon.de 2014-02-21 19:56:01 +01:00
  • 30481fed9a added Pcpstream example TLINDEN 2014-02-20 21:02:52 +01:00
  • 254c4cd39b added link to read it online TLINDEN 2014-02-20 20:13:43 +01:00
  • 2e4657bb08 added api docs TLINDEN 2014-02-20 20:09:24 +01:00
  • 08bc0bc8bf updated api docs. git@daemon.de 2014-02-20 15:36:49 +01:00
  • f13f60bfc2 added buffer_new_buf() which makes it possible to back a Buffer with an existing pointer without copying git@daemon.de 2014-02-20 15:36:12 +01:00
  • 51e3cec60d api doc updated git@daemon.de 2014-02-19 20:39:19 +01:00
  • 72ccb0782e added a sample for lib usage git@daemon.de 2014-02-19 20:38:56 +01:00
  • 3a4e40710b moved key dump functions to the lib git@daemon.de 2014-02-19 20:38:21 +01:00
  • 080482d1cd more api docs TLINDEN 2014-02-17 19:37:26 +01:00
  • be867bdc26 started documenting the api. git@daemon.de 2014-02-17 17:05:32 +01:00
  • 1afb5cc3d7 fixed annoying error in _buffer_is_binary() which returned false sometimes even when the input were in fact binary. This fixes those 2 annoying unittests which failed from time to time. git@daemon.de 2014-02-17 17:03:55 +01:00
  • 3f03f97992 catched up api changes, fixed dysfunctional c++ signature api, enhanced c++ Buf class. TLINDEN 2014-02-16 15:29:19 +01:00
  • 1342fa2b45 fixes and stuff TLINDEN 2014-02-15 17:39:51 +01:00
  • cf8402aec0 added pcpstream usage to signature lib code as well TLINDEN 2014-02-15 17:39:16 +01:00
  • e78269fceb added pcpstream, which wraps buffers or file i/o, so crypto code doesn't have to know if it works with a file or a buffer. makes the api much more flexible TLINDEN 2014-02-15 13:10:51 +01:00
  • 347f155341 catch up with api and system changes in libpcp. added c++ buffer class as well TLINDEN 2014-02-14 16:40:09 +01:00
  • ec192131af done a lot TLINDEN 2014-02-13 20:22:17 +01:00
  • fdbb1efd0d updated to -F TLINDEN 2014-02-13 20:22:02 +01:00
  • db47cbd95a fixed pbp encryption fix, no more size field in reclist TLINDEN 2014-02-13 20:21:32 +01:00
  • 738be64a79 fix err output TLINDEN 2014-02-13 20:21:05 +01:00
  • 5e04147a35 added C pk export TLINDEN 2014-02-13 20:20:50 +01:00
  • 604006994f added C pk export TLINDEN 2014-02-13 20:20:07 +01:00
  • 01cf82b2df fixed segfault when fatals_ifany() called multiple times TLINDEN 2014-02-13 20:19:32 +01:00
  • a3aa740dd0 quote fix git@daemon.de 2014-02-13 18:26:16 +01:00
  • 7408ebd90c added yaml and perl pubkey export formats (c and python will follow) git@daemon.de 2014-02-13 17:05:22 +01:00