Commit Graph

561 Commits

Author SHA1 Message Date
git@daemon.de
6714dd1c3b prepared recipient list support 2014-01-20 16:07:01 +01:00
git@daemon.de
67ba04f3bd moved file en/de-cryption from src to libpcp, which makes it way easier to
implement pbp compatibility
2014-01-20 10:16:05 +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
TLINDEN
e20a0683c6 dropped "derived key feature", pk-encryption now uses a random keypair on the sender side, puts the public part of it into the encrypted output and drops the keypair, no more key-id will be sent over the wire, be it hashed or whatelse. 2014-01-19 23:57:11 +01:00
TLINDEN
79cd096be5 Fixed incorrect implementation of key stuff: curve25519 and ed25519 keys are now generated separately, the pcp-proprietary "derived key" feature has been dropped. 2014-01-19 23:54: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
git@daemon.de
ce0ec4d5ec Merge branch 'master' of github.com:TLINDEN/pcp 2014-01-14 15:06:32 +01:00
git@daemon.de
2daf5870fa finally fixed issue#1, compilation under OpenBSD now works as it should, I had some invalid defines in platform.h 2014-01-14 15:05:18 +01:00
TLINDEN
7883de06bf start help text on same line as define 2014-01-13 18:52:26 +01:00
git@daemon.de
131ad9f959 try to fix issue#1, compilation problem on openbsd 2014-01-13 11:04:32 +01:00
TLINDEN
a2ae9e1762 updated 2013-12-19 16:56:32 +01:00
TLINDEN
69e1d2ee47 added error checking 2013-12-19 16:54:16 +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
3a107841bb fixed casts in alternate functions. 2013-12-19 12:31:04 +01:00
TLINDEN
89b83dda12 fixed type typo in operator= of Key and PubKey. 2013-12-19 12:30:26 +01:00
TLINDEN
c38e4d9613 added sodium_init() which were missing and lead to problems on big endian machines. 2013-12-19 11:51:13 +01:00
TLINDEN
212bd71ac8 added c++ signature support 2013-12-07 13:24:44 +01:00
TLINDEN
14bead5499 - 2013-12-02 22:54:57 +01:00
TLINDEN
a842338c4a added more (and better) c++ unittests 2013-12-02 22:54:04 +01:00
TLINDEN
fa955d8170 re-organized c++ header(s), added/fixed encryption support, streamlined the api 2013-12-02 22:53:03 +01:00
TLINDEN
4d34a9135e splitted pcp_readz85file() and added pcp_readz85string() which makes a better interface 2013-12-02 22:50:45 +01:00
TLINDEN
3453be54af deleted 2013-12-02 22:50:21 +01:00
TLINDEN
aa140ed1c8 c++ binding now supports vaults and encryption, added test program 2013-12-01 16:16:53 +01:00
TLINDEN
dc5f74e9be fixed global variables, made them extern in *.h files 2013-12-01 16:15:41 +01:00
TLINDEN
6dc134c005 fixed compilation errors 2013-11-29 20:02:27 +01:00
TLINDEN
a9b2796af2 renamed 'public' to 'pub' to avoid conflict with c++ api 2013-11-29 20:01:42 +01:00
git@daemon.de
2fdbf8e1be fixed extern C duplicates 2013-11-29 18:45:44 +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
b9c318e9b9 - 2013-11-19 21:04:14 +01:00
TLINDEN
04dbf19381 fixed yet another endian issue (I used the wrong define for it) 2013-11-19 21:02:59 +01:00
TLINDEN
8b3b76d52d . 2013-11-19 17:20:18 +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
TLINDEN
38b535ef18 aix fix 2013-11-17 12:30:34 +01:00
git@daemon.de
080df75a04 added build env for compile farm 2013-11-16 16:47:38 +01:00
TLINDEN
1bb36e4222 - 2013-11-16 16:28:48 +01:00
TLINDEN
ca0bb79edd fixed umount, moved to iotest 2013-11-16 16:24:47 +01:00
TLINDEN
6d4db28ca1 fix again, free outside of lib 2013-11-16 16:03:21 +01:00
TLINDEN
529e359e13 fixed free() bug in derivekey(), now the caller has to free it. 2013-11-16 16:00:53 +01:00
TLINDEN
bae13c712e fixed lib loading 2013-11-16 15:56:07 +01:00