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
1efff67d37
implemented pbp-compatible self encryption mode (symetrical encryption using scrypt(passphrase, static nonce), no pk)
2014-01-22 23:20:30 +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
git@daemon.de
26d4ee43c5
started to implement pbp compatibility, added support for multiple -r options,
...
using it now to look through the vault for recipients, -i to follow. current
state: encrypt produces output without errors or crashes; decrypt is incompatible
for the moment.
2014-01-21 16:11:04 +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
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
TLINDEN
69e1d2ee47
added error checking
2013-12-19 16:54:16 +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
dc5f74e9be
fixed global variables, made them extern in *.h files
2013-12-01 16:15:41 +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
04dbf19381
fixed yet another endian issue (I used the wrong define for it)
2013-11-19 21:02:59 +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
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
9a3431654e
fixed aix portability problems
2013-11-17 16:53:20 +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
72935b0669
last fix was wrong, smlen was invalid instead
2013-11-16 15:53:48 +01:00
TLINDEN
e5afdbd209
fixed invalid malloc of sig message (forgot 1 byte for trailing 0)
2013-11-16 15:22:22 +01:00
TLINDEN
f290652209
used invalid sha size (64 bytes) with 32 malloc'd buffer
2013-11-16 15:16:13 +01:00
TLINDEN
da55e17ff7
fixed invalid malloc if char *z85
2013-11-16 15:13:03 +01:00
TLINDEN
b9255e80c3
fixed invalid malloc od pad_clear variable
2013-11-16 14:52:58 +01:00
TLINDEN
5a8e3ee8b0
moved all uthash related code into keyhash.c
2013-11-13 13:06:01 +01:00
TLINDEN
bdaa7aae46
updated autoconf stuff
2013-11-12 19:45:22 +01:00
git@daemon.de
b5166c3d89
forgot to delete
2013-11-12 09:11:36 +01:00
git@daemon.de
a8a479fe32
removed conditional include "config.h", it's senseless, added pkg-config configuration
2013-11-12 09:05:55 +01:00
TLINDEN
71d7121c87
fixed key generation, now the ed25519 key is derived from a seed
...
and the curve25519 key is derived from the ed25519 key. the encrypted
part now contains the ed25519 secret.
2013-11-10 14:25:36 +01:00
TLINDEN
1a772e15b8
added better error handling to vault writing, always use a tmp
...
vault file for writing. added matching unittest to check if
the code catches a disk full error.
2013-11-09 13:46:40 +01:00
git@daemon.de
60ee58b106
changed key format, now includes the ed25519 pubkey for signing.
2013-11-08 12:50:04 +01:00
git@daemon.de
e6733e5e56
added signature support (doesn't work yet)
2013-11-08 09:40:51 +01:00
git@daemon.de
a45323440e
fixed signedness warning
2013-11-07 12:41:34 +01:00
git@daemon.de
cb14f1c833
moved to ../include/pcp/
2013-11-07 12:04:27 +01:00
git@daemon.de
f843d4c570
re-organized include files
2013-11-07 08:10:31 +01:00
TLINDEN
0e3835bf97
added GPLv3 disclaimer to everything.
2013-11-04 17:43:22 +01:00
TLINDEN
ed51e57b9a
uh, type "uint" unknown here, using size_t instead.
2013-11-04 16:27:15 +01:00
TLINDEN
13aa3dd66c
backport fix d7c8021 of issue https://github.com/zeromq/zeromq4-x/issues/29 .
2013-11-04 16:24:03 +01:00
git@daemon.de
a9edd305ed
fixed wrong include for memset
2013-11-03 17:02:27 +01:00
TLINDEN
a1794a4775
always use lowercase version of emailadresses.
2013-11-03 14:50:03 +01:00
TLINDEN
bf5556e1ec
bugfix in encryption key computing, added new feature: derived public keys
2013-11-02 11:02:36 +01:00
TLINDEN
58a3bca8d7
replaces old bzero() with memset().
2013-10-29 23:08:43 +01:00
TLINDEN
40a49cd76f
forgot the check for the net includes
2013-10-29 22:54:07 +01:00
TLINDEN
bfc9f5cb5f
more fixes for endian portability.
2013-10-29 22:51:06 +01:00
TLINDEN
08ce1c1b8e
fixed libtools portability bug, fixed arc4random() portability,
...
fixed htobe32 and be32toh portability, fixed error handling in main(),
fixed invalid type parameter for randomart image in pcppubkey_printshortinfo(),
fixed configure search for libsodium.
2013-10-29 22:14:34 +01:00
TLINDEN
2d7babae35
initial commit
2013-10-28 22:50:05 +01:00