Commit Graph

541 Commits

Author SHA1 Message Date
git@daemon.de
c11ce76d21 fixed ps_eof(): consider cache. fixed ps_read_cached() which didn't work under certain circumstances (blocksize < readbytes and such) 2014-02-26 15:32:46 +01:00
git@daemon.de
deace4109c added tests/pipetest.c so I can test pcpstream with armoring with various blocksizes 2014-02-26 15:31:45 +01:00
git@daemon.de
fd3edfc728 fixed pcp_unpadfour() which didn't work at all (!!!) 2014-02-26 15:29:26 +01:00
git@daemon.de
504ff55a00 added buffer_get_chunk_tobuf() which copies some chunk from one buffer to the other without a temporary variable 2014-02-26 15:27:53 +01:00
TLINDEN
0069d6ea29 yet another pcpstream problem noted 2014-02-25 19:52:59 +01:00
TLINDEN
271c6259c2 added -O2 2014-02-25 19:30:07 +01:00
TLINDEN
8b955b5e92 added -Wextra -Werror and fixed everything it had to mecker about 2014-02-25 18:05:32 +01:00
git@daemon.de
21b0ea38db fixed doc 2014-02-25 14:32:44 +01:00
git@daemon.de
ac65cb0313 - 2014-02-25 12:26:54 +01:00
git@daemon.de
3b1db06529 changed all occurrences of unsigned char to byte (defined in defines.h) to make the code more precise about sizes. 2014-02-25 11:09:58 +01:00
git@daemon.de
cbc45f5fa1 added is_utf8() check to _buffer_is_binary() so that utf8 comments inside z85 encoded data doesn't count as binary 2014-02-25 11:08:59 +01:00
TLINDEN
99f611ab80 fixed tilde z85 headers in signature stuff as well 2014-02-24 19:52:57 +01:00
git@daemon.de
51858aeda2 changed z85 header and comment syntax and parser 2014-02-24 16:59:04 +01:00
TLINDEN
9a5c8a3547 added doc 2014-02-23 11:04:15 +01:00
TLINDEN
5dd40a1779 fixed decoding and cached read 2014-02-23 11:03:49 +01:00
TLINDEN
33d80dab29 fixed empty goto 2014-02-22 19:59:41 +01:00
TLINDEN
272f7b3dfb added ps_finish() to write the remainder out (if any), split writing into a couple of helpers 2014-02-22 19:58:56 +01:00
TLINDEN
ab142a47b6 fixed double buffer_free() 2014-02-22 16:00:07 +01:00
TLINDEN
cfb8207ac2 added automatically z85 encoding/decoding (again, but this time better) 2014-02-22 14:52:32 +01:00
TLINDEN
10d3b1aa90 brought to current 2014-02-21 20:38:01 +01:00
TLINDEN
9cbde1fb80 fix free() bug 2014-02-21 20:37:48 +01:00
TLINDEN
fe1ea9cb76 Revert "rm html stuff from repo, changes too often. enhanced pcpstream"
This reverts commit 82b05b768e.
2014-02-21 20:35:10 +01:00
git@daemon.de
82b05b768e rm html stuff from repo, changes too often. enhanced pcpstream 2014-02-21 19:56:01 +01:00
TLINDEN
30481fed9a added Pcpstream example 2014-02-20 21:02:52 +01:00
TLINDEN
254c4cd39b added link to read it online 2014-02-20 20:13:43 +01:00
TLINDEN
2e4657bb08 added api docs 2014-02-20 20:09:24 +01:00
git@daemon.de
08bc0bc8bf updated api docs. 2014-02-20 15:36:49 +01:00
git@daemon.de
f13f60bfc2 added buffer_new_buf() which makes it possible to back a Buffer with an existing pointer without copying 2014-02-20 15:36:12 +01:00
git@daemon.de
51e3cec60d api doc updated 2014-02-19 20:39:19 +01:00
git@daemon.de
72ccb0782e added a sample for lib usage 2014-02-19 20:38:56 +01:00
git@daemon.de
3a4e40710b moved key dump functions to the lib 2014-02-19 20:38:21 +01:00
TLINDEN
080482d1cd more api docs 2014-02-17 19:37:26 +01:00
git@daemon.de
be867bdc26 started documenting the api. 2014-02-17 17:05:32 +01:00
git@daemon.de
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. 2014-02-17 17:03:55 +01:00
TLINDEN
3f03f97992 catched up api changes, fixed dysfunctional c++ signature api, enhanced c++ Buf class. 2014-02-16 15:29:19 +01:00
TLINDEN
1342fa2b45 fixes and stuff 2014-02-15 17:39:51 +01:00
TLINDEN
cf8402aec0 added pcpstream usage to signature lib code as well 2014-02-15 17:39:16 +01:00
TLINDEN
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 2014-02-15 13:10:51 +01:00
TLINDEN
347f155341 catch up with api and system changes in libpcp. added c++ buffer class as well 2014-02-14 16:40:09 +01:00
TLINDEN
ec192131af done a lot 2014-02-13 20:22:17 +01:00
TLINDEN
fdbb1efd0d updated to -F 2014-02-13 20:22:02 +01:00
TLINDEN
db47cbd95a fixed pbp encryption fix, no more size field in reclist 2014-02-13 20:21:32 +01:00
TLINDEN
738be64a79 fix err output 2014-02-13 20:21:05 +01:00
TLINDEN
5e04147a35 added C pk export 2014-02-13 20:20:50 +01:00
TLINDEN
604006994f added C pk export 2014-02-13 20:20:07 +01:00
TLINDEN
01cf82b2df fixed segfault when fatals_ifany() called multiple times 2014-02-13 20:19:32 +01:00
git@daemon.de
a3aa740dd0 quote fix 2014-02-13 18:26:16 +01:00
git@daemon.de
7408ebd90c added yaml and perl pubkey export formats (c and python will follow) 2014-02-13 17:05:22 +01:00
git@daemon.de
1c46de629b added string buffer support 2014-02-13 17:04:59 +01:00
git@daemon.de
0a8206b3b0 update to new formats 2014-02-13 15:33:51 +01:00