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.

This commit is contained in:
TLINDEN
2014-01-19 23:58:53 +01:00
parent e20a0683c6
commit 05db2f1204
35 changed files with 1034 additions and 1843 deletions

25
TODO
View File

@@ -1,5 +1,3 @@
aix works now so far, but -R doesnt work - now it does but decryption fails for some unknown reason.
libpcp/z85.c:148 free(z85) leads to coredump on aix sometimes
add more abstract en+de-cryption() functions to libpcp/crypto, which
@@ -9,4 +7,25 @@ Bug: pcp_z85_decode() segfaults at z85.c:83 if input consists of "-----" only.
Bug: pcp_z85_decode() fails if after end marker follows something, even whitespaces
key++: normalize id and lc()
key++: normalize id and lc()
allow signing using an alternate secret key, like in pcpdecrypt()
use recipient in encryption to lookup public key in the vault, if id not given
change encrypted file format to the one of pbp, following it:
- support multiple recipients
- encrypt 32k blockwise using crypto_secretbox() using
a random key, encrypt that key for each recipient with
pk using crypto_box()
- base85 <=> z85? maybe make us base85 tolerant while still
preferring z85? I dunno...
support export/import from/to pbp
remove key-id from stored signatures, maybe add the file content again
(by default a signature consists of the file+sig, but I sometime decided
to detach the sig and only write this to the signature file, at least pbp
stores the full stuff, so I shall do it as well).