Commit Graph

120 Commits

Author SHA1 Message Date
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
72ccb0782e added a sample for lib usage 2014-02-19 20:38:56 +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
347f155341 catch up with api and system changes in libpcp. added c++ buffer class as well 2014-02-14 16:40:09 +01:00
git@daemon.de
0a8206b3b0 update to new formats 2014-02-13 15:33:51 +01:00
TLINDEN
bf2500b335 updated unittests 2014-02-13 00:06:36 +01:00
TLINDEN
91f94a532e removed redundant code and fixed an invalid read of size 1 in ...unpadfour() 2014-02-09 17:50:00 +01:00
TLINDEN
82883d92ac oops 2014-02-08 20:37:33 +01:00
TLINDEN
5bbe95f6fe re-generated unittests check files due changed z85 padding 2014-02-08 20:36:40 +01:00
git@daemon.de
5161e15c69 added Buffer "class" based on openssh/buffer.c, which is a really beautiful idea. I'll use this for file i/o and data handling 2014-02-07 16:58:02 +01:00
TLINDEN
f481457ad7 get rid of that autoconf stuff, das geht mir vielleicht auf die nerven verdammt nochmal... 2014-02-05 20:00:56 +01:00
git@daemon.de
e2125351d7 added unittest for sign+encrypt 2014-02-05 14:04:55 +01:00
git@daemon.de
42f700bf9c updated aconf bubble 2014-02-05 13:07:35 +01:00
TLINDEN
71013ac03d updated to changes in crypto.c 2014-02-02 16:06:51 +01:00
TLINDEN
1b1cdecf3f changed usage (--help) message, to be shorter and clearer 2014-01-30 20:55:23 +01:00
git@daemon.de
369398eea9 - 2014-01-30 14:35:31 +01:00
git@daemon.de
ad009a8142 changed detach sig verification commandline (-a => -f <file>) 2014-01-28 12:19:25 +01:00
git@daemon.de
130177f6e9 updated. 2014-01-27 16:13:58 +01:00
TLINDEN
78987a1d27 (re-)added detached signature support, now with 32k-blockwise reading of files, enabled with -a. 2014-01-26 16:02:47 +01:00
git@daemon.de
c717c060ec re-implemented signature system to match the standard (orinal input, including sig for full sig; or 32k blockwise hash of input and sig from hash attached to original input without the hash), verify_buffered currently not implemented, armored sig only for output. 2014-01-23 15:40:06 +01:00
TLINDEN
f09d4774cb added unittest for symetric crypto 2014-01-22 23:29:28 +01:00
git@daemon.de
7b56ab60a6 changed asym decryption to pbp scheme, compatibility untested yet, but works pcp-internally already 2014-01-22 16:23:30 +01:00
TLINDEN
05db2f1204 modifications to match recent changes. that's just preparation of more changes towards PBP-Compatibility. Current state is UNSTABLE. See TODO for details whats left to do. 2014-01-19 23:58:53 +01:00
git@daemon.de
691786cc68 changed key derivation function, using scrypt (from tarsnap) now instead of my own derivation function 2014-01-16 15:25:09 +01:00
TLINDEN
fa317c8dec fixed invalid echo -n calls, which didnt work under /bin/sh 2013-12-19 16:53:08 +01:00
TLINDEN
a426558155 added sodium_init() 2013-12-19 12:38:10 +01:00
TLINDEN
7fc71b67f7 added sodium_init() 2013-12-19 12:37:03 +01:00
TLINDEN
212bd71ac8 added c++ signature support 2013-12-07 13:24:44 +01:00
TLINDEN
a842338c4a added more (and better) c++ unittests 2013-12-02 22:54:04 +01:00
TLINDEN
aa140ed1c8 c++ binding now supports vaults and encryption, added test program 2013-12-01 16:16:53 +01:00
TLINDEN
a9b2796af2 renamed 'public' to 'pub' to avoid conflict with c++ api 2013-11-29 20:01:42 +01:00
TLINDEN
33844f6ceb started with c++ bindings (not working yet) 2013-11-28 19:36:50 +01:00
TLINDEN
ff78754ddd added raw library encryption test with static keys, cipher and message 2013-11-24 19:59:55 +01:00
TLINDEN
e2713d40ec fixed havesodium flag 2013-11-24 17:05:41 +01:00
TLINDEN
80ec5014a8 fixed z85 encoding overflow bug, fixed signature code on big-endian systems. 2013-11-19 17:17:30 +01:00
TLINDEN
314dbde0b9 finally it works on aix, at least sec/pub key stuff, signatures still hang 2013-11-19 10:06:24 +01:00
TLINDEN
c4940b966c more aix/big-endian fixes 2013-11-18 21:48:24 +01:00
TLINDEN
88d947aed7 always wondered why this Makefile were deleted: make clean deleted it! so I renamed it now 2013-11-18 17:40:08 +01:00
TLINDEN
5e8324bb0b fixed yet another endianess problem, now always using the raw key values for export, sotrage and checksum calculation 2013-11-18 17:38:03 +01:00
TLINDEN
8c9d3289de re-added 2013-11-17 16:53:58 +01:00
TLINDEN
9a3431654e fixed aix portability problems 2013-11-17 16:53:20 +01:00
TLINDEN
91cc164f8d invalid delete 2013-11-17 15:48:25 +01:00
git@daemon.de
080df75a04 added build env for compile farm 2013-11-16 16:47:38 +01:00
TLINDEN
ca0bb79edd fixed umount, moved to iotest 2013-11-16 16:24:47 +01:00
TLINDEN
bae13c712e fixed lib loading 2013-11-16 15:56:07 +01:00
TLINDEN
594a080b3f - 2013-11-16 13:46:56 +01:00
TLINDEN
6cde8ed52e io disk tests extra 2013-11-16 13:45:28 +01:00
TLINDEN
b4d91293a6 . 2013-11-16 13:42:01 +01:00
TLINDEN
e4247494ee . 2013-11-16 13:29:54 +01:00