TLINDEN
90fbf2ccd7
fixed encrypted file header output (fwrite &uint8t isn't the same as fwrite uchar)
2014-02-02 16:05:38 +01:00
TLINDEN
1b1cdecf3f
changed usage (--help) message, to be shorter and clearer
2014-01-30 20:55:23 +01:00
git@daemon.de
871a3c7696
added
2014-01-30 20:44:27 +01:00
git@daemon.de
369398eea9
-
2014-01-30 14:35:31 +01:00
git@daemon.de
bf0e592a03
pbp key support were still incompatible. now I can at least import pbp keys.
2014-01-30 14:33:59 +01:00
git@daemon.de
a822851c14
last update was wrong, since pbp exported keys are base85 encoded, fixed that. incorporated the git/base85.c and added source padding to it
2014-01-30 13:16:26 +01:00
git@daemon.de
dbdaf38185
use a struct to fetch in a pbp key (pbp_pubkey_t) instead of manual parsing
2014-01-29 12:53:42 +01:00
TLINDEN
68d8f640e6
fixed pbp import
2014-01-28 20:05:46 +01:00
git@daemon.de
3f1bfef581
added PBP public key import/export compatibility mode (-b --pbpcompat)
2014-01-28 16:53:26 +01:00
git@daemon.de
fa9d8ed800
don't print the whole usage if called wrongly, just tell about it.
2014-01-28 13:33:38 +01:00
git@daemon.de
df6cd442fb
more todo
2014-01-28 13:27:16 +01:00
git@daemon.de
c18686804b
fixed malloc() cast
2014-01-28 12:21:03 +01:00
git@daemon.de
5ae1d07067
added CBC encryption mode (configure --enable-cbc)
2014-01-28 12:20:30 +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
git@daemon.de
3c9785e38e
updated POD to reflect recent changes
2014-01-27 16:13:35 +01:00
git@daemon.de
770d8cb234
added crypt+sign support
2014-01-27 16:12:43 +01:00
git@daemon.de
038439bbfb
Merge branch 'master' of github.com:TLINDEN/pcp
...
Conflicts:
TODO
2014-01-27 11:30:30 +01:00
git@daemon.de
78616a5848
b
2014-01-27 11:26:40 +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
TLINDEN
52a7509fe2
sig calculation and output follows pbp scheme. unittests, doc and
...
detached sigs still missing.
2014-01-26 11:57:23 +01:00
TLINDEN
7b7aa6d395
added pcp_ed_verify_buffered() [doesnt work yet, needs debugging]
2014-01-23 23:36:57 +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
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
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