sanitized pcp_unpadfour(), just return the number of zero padding, leave the input pointer untouched; fixed header
done
enhanced a little
changed internal key format again, now we've got a master-key-signing keypair as well, used for exports. also, fixed a security hole in pcp_keynew(): the actual key material, unencrypted, have been stored on heap and not zeroed after exit.
(re-)added ucfree() which does memset(0) and free() afterwards
moved the actual public key export code out into the lib (mgmt.c). cmdline client does only armor the blobs, if neccessary. Also, armored pubkey exports don't contain any comments anymore.
fixed bug with previously removed var definition
added -F parameter (-F pbp or -F pcp, the latter being the default), which can be used to specify the key export format
changed public key export format to (slightly modified) RFC4880 style (openpgp format).
Current state is totally unstable, it's not yet ready.