# # ChangeLog for /openpgpsdk/trunk/examples # # Generated by Trac 0.9.3 # 06/19/13 17:05:54 # 08/13/08 14:36:21 rachel [575] * openpgpsdk/trunk/Makefile: * openpgpsdk/trunk/examples/README: * openpgpsdk/trunk/examples/original: * openpgpsdk/trunk/examples/original/Makefile.template: * openpgpsdk/trunk/examples/original/build-keyring.c: * openpgpsdk/trunk/examples/original/common.c: * openpgpsdk/trunk/examples/original/common.h: * openpgpsdk/trunk/examples/original/create-crypted-gpg-key.sh: * openpgpsdk/trunk/examples/original/create-gpg-key.sh: * openpgpsdk/trunk/examples/original/create-key.c: * openpgpsdk/trunk/examples/original/create-signed-key.c: * openpgpsdk/trunk/examples/original/decrypt.c: * openpgpsdk/trunk/examples/original/encrypt-gpg-message.sh: * openpgpsdk/trunk/examples/original/encrypt.c: * openpgpsdk/trunk/examples/original/packet-dump.c: * openpgpsdk/trunk/examples/original/sign-detached.c: * openpgpsdk/trunk/examples/original/sign-inline.c: * openpgpsdk/trunk/examples/original/verify.c: * openpgpsdk/trunk/examples/original/verify2.c: -- 07/18/08 16:25:42 rachel [567] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/readerwriter.h: * openpgpsdk/trunk/include/openpgpsdk/signature.h: * openpgpsdk/trunk/include/openpgpsdk/validate.h: * openpgpsdk/trunk/plan/OpenPGP.omniplan/contents.xml: * openpgpsdk/trunk/src/app/openpgp.c: * openpgpsdk/trunk/src/lib/adv_armour.c: * openpgpsdk/trunk/src/lib/adv_create.c: * openpgpsdk/trunk/src/lib/adv_keyring.c: * openpgpsdk/trunk/src/lib/adv_packet-parse.c: * openpgpsdk/trunk/src/lib/adv_readerwriter.c: * openpgpsdk/trunk/src/lib/adv_symmetric.c: * openpgpsdk/trunk/src/lib/adv_validate.c: * openpgpsdk/trunk/src/lib/adv_writer_encrypt.c: * openpgpsdk/trunk/src/lib/parse_local.h: * openpgpsdk/trunk/src/lib/std_encrypt.c: * openpgpsdk/trunk/src/lib/std_keyring.c: * openpgpsdk/trunk/src/lib/std_print.c: * openpgpsdk/trunk/src/lib/std_signature.c: * openpgpsdk/trunk/tests/Makefile.template: * openpgpsdk/trunk/tests/test_cmdline.c: * openpgpsdk/trunk/tests/test_common.c: * openpgpsdk/trunk/tests/test_crypt_mpi.c: * openpgpsdk/trunk/tests/test_crypto.c: * openpgpsdk/trunk/tests/test_packet_types.c: * openpgpsdk/trunk/tests/test_rsa_decrypt.c: * openpgpsdk/trunk/tests/test_rsa_encrypt.c: * openpgpsdk/trunk/tests/test_rsa_keys.c: * openpgpsdk/trunk/tests/test_rsa_signature.c: * openpgpsdk/trunk/tests/test_rsa_verify.c: * openpgpsdk/trunk/tests/tests.c: * openpgpsdk/trunk/tests/tests.h: Command line app implemented. 05/02/08 11:25:27 rachel [558] * openpgpsdk/trunk/examples/build-keyring.c: * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/examples/encrypt.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/sign-detached.c: * openpgpsdk/trunk/examples/sign-inline.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/keyring.h: * openpgpsdk/trunk/include/openpgpsdk/readerwriter.h: * openpgpsdk/trunk/include/openpgpsdk/std_print.h: * openpgpsdk/trunk/include/openpgpsdk/validate.h: * openpgpsdk/trunk/plan/OpenPGP.omniplan/contents.xml: * openpgpsdk/trunk/src/lib/adv_accumulate.c: * openpgpsdk/trunk/src/lib/adv_create.c: * openpgpsdk/trunk/src/lib/adv_crypto.c: * openpgpsdk/trunk/src/lib/adv_keyring.c: * openpgpsdk/trunk/src/lib/adv_openssl_crypto.c: * openpgpsdk/trunk/src/lib/adv_packet-parse.c: * openpgpsdk/trunk/src/lib/adv_readerwriter.c: * openpgpsdk/trunk/src/lib/adv_symmetric.c: * openpgpsdk/trunk/src/lib/adv_validate.c: * openpgpsdk/trunk/src/lib/adv_writer_encrypt.c: * openpgpsdk/trunk/src/lib/keyring_local.h: * openpgpsdk/trunk/src/lib/parse_local.h: * openpgpsdk/trunk/src/lib/std_keyring.c: * openpgpsdk/trunk/src/lib/std_print.c: * openpgpsdk/trunk/tests/Makefile.template: * openpgpsdk/trunk/tests/test_common.c: * openpgpsdk/trunk/tests/test_crypt_mpi.c: * openpgpsdk/trunk/tests/test_packet_types.c: * openpgpsdk/trunk/tests/test_rsa_encrypt.c: * openpgpsdk/trunk/tests/test_rsa_signature.c: * openpgpsdk/trunk/tests/test_rsa_verify.c: * openpgpsdk/trunk/tests/tests.c: * openpgpsdk/trunk/tests/tests.h: Implemented basic transferable public & secret keys (binary format). Implemented key signing. Renamed key_data struct to keydata. Added tests for key generation and signing. 02/29/08 19:07:55 rachel [548] * openpgpsdk/trunk/examples/packet-dump.c: Change for renamed directory 12/12/07 11:24:01 rachel [527] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/src/advanced/adv_errors.c: * openpgpsdk/trunk/src/advanced/adv_packet-parse.c: * openpgpsdk/trunk/src/advanced/adv_signature.c: * openpgpsdk/trunk/src/advanced/adv_validate.c: * openpgpsdk/trunk/tests/test_rsa_verify.c: Changes needed to get V4 cleartext sigs working 09/21/07 18:35:41 rachel [511] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/advanced/adv_create.c: * openpgpsdk/trunk/src/advanced/adv_packet-parse.c: * openpgpsdk/trunk/src/advanced/adv_writer_encrypt.c: * openpgpsdk/trunk/src/advanced/adv_writer_encrypt_se_ip.c: * openpgpsdk/trunk/tests/test_packet_types.c: * openpgpsdk/trunk/tests/test_rsa_decrypt.c: * openpgpsdk/trunk/tests/test_rsa_encrypt.c: * openpgpsdk/trunk/tests/tests.c: * openpgpsdk/trunk/tests/tests.h: Fixed problem with large file encryption (Note: there is an interoperability problem with GPG) Split GPG encryption interop tests into separate suite 09/03/07 10:43:03 rachel [497] * openpgpsdk/trunk/Makefile: * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/advanced/Makefile.template: * openpgpsdk/trunk/src/app/Makefile.template: * openpgpsdk/trunk/src/standard/Makefile.template: * openpgpsdk/trunk/tests/Makefile.template: Recombine std and adv dirs into one library 04/22/07 17:05:42 ben [470] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/random.h: * openpgpsdk/trunk/include/openpgpsdk/types.h: * openpgpsdk/trunk/src/advanced/Makefile.template: * openpgpsdk/trunk/src/advanced/adv_create.c: * openpgpsdk/trunk/src/advanced/adv_crypto.c: * openpgpsdk/trunk/src/advanced/adv_openssl_crypto.c: * openpgpsdk/trunk/src/advanced/adv_packet-parse.c: * openpgpsdk/trunk/src/advanced/adv_symmetric.c: * openpgpsdk/trunk/src/advanced/parse_local.h: * openpgpsdk/trunk/src/advanced/random.c: * openpgpsdk/trunk/tests/Makefile.template: Untested, non-functional, partial encryption implementation. 04/08/07 18:11:33 ben [460] * openpgpsdk/trunk/examples/Makefile.template: Spello. 04/08/07 16:07:42 ben [456] * openpgpsdk/trunk/examples/verify.c: Memory leak. 04/08/07 14:59:42 ben [454] * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/include/openpgpsdk/validate.h: * openpgpsdk/trunk/src/advanced/adv_validate.c: Count validation warnings. 04/08/07 13:04:18 ben [452] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/src/advanced/adv_create.c: * openpgpsdk/trunk/src/advanced/adv_validate.c: Improve workingness of tests. 04/08/07 12:06:36 ben [451] * openpgpsdk/trunk/examples/decrypt.c: Fix indentation. 03/28/07 14:33:19 rachel [448] * openpgpsdk/trunk/examples/decrypt.c: At last! A working decryption example. Test file used is RSA-encrypted, no passphrase. Next step is to generate some test cases. 03/21/07 18:52:43 rachel [447] * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/keyring.h: * openpgpsdk/trunk/include/openpgpsdk/std_print.h: * openpgpsdk/trunk/src/advanced/adv_keyring.c: * openpgpsdk/trunk/src/advanced/adv_packet-parse.c: * openpgpsdk/trunk/src/standard/std_print.c: Moved standard packet-print code from packet-dump example into standard library. Other small steps towards decryption. 03/20/07 11:50:06 rachel [444] * openpgpsdk/trunk/examples/encrypt.c: Do proper error checking, not just an assert 03/16/07 14:57:42 rachel [442] * openpgpsdk/trunk/examples/decrypt.c: 3rd time lucky 03/16/07 14:50:24 rachel [441] * openpgpsdk/trunk/examples/decrypt.c: require cmdline arguments 03/16/07 14:46:52 rachel [440] * openpgpsdk/trunk/examples/decrypt.c: Usage statement correct 02/16/07 10:10:33 rachel [439] * openpgpsdk/trunk/examples/encrypt.c: new file 02/15/07 18:30:31 rachel [438] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/src/advanced/adv_accumulate.c: * openpgpsdk/trunk/src/advanced/adv_create.c: * openpgpsdk/trunk/src/advanced/keyring_local.h: * openpgpsdk/trunk/src/standard/std_keyring.c: * openpgpsdk/trunk/src/standard/std_print.c: Ben's stub encryption code. Libraries compile but encrypt.c is needed in examples directory. 02/11/07 10:55:25 ben [436] * openpgpsdk/trunk/examples/build-keyring.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/keyring.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/advanced/adv_keyring.c: * openpgpsdk/trunk/src/standard/std_keyring.c: Constification, fix makefile, return key instead of keyid. 12/19/06 14:40:37 rachel [432] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/src/advanced/Makefile.template: * openpgpsdk/trunk/src/app/Makefile.template: * openpgpsdk/trunk/src/standard/Makefile.template: sort out makefile problems 05/01/06 17:07:22 rachel [418] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/build-keyring.c: * openpgpsdk/trunk/include/openpgpsdk/accumulate.h: * openpgpsdk/trunk/src/accumulate.c: Make ops_parse_and_accumulate return a value so we can print out errors Add example build-keyring program 04/28/06 11:30:38 rachel [417] * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/keyring_local.h: * openpgpsdk/trunk/src/parse_local.h: Doxygen comments Refs #12 04/27/06 14:48:35 rachel [410] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/symmetric.c: Various changes to allow codebase to compile: - some char* casts to unsigned in function calls - use #ifndef OPENSSL_NO_IDEA to hide IDEA-only code - Remove create_signed_key from Examples/Makefile because of missing function Refs #41 03/03/06 14:45:32 ben [397] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/parse_local.h: Handle one pass signatures. 03/03/06 05:59:36 ben [394] * openpgpsdk/trunk/examples/packet-dump.c: Consistency. 03/01/06 14:18:32 ben [393] * openpgpsdk/trunk/examples/packet-dump.c: Print literal data as ASCII. 02/27/06 16:59:22 ben [390] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: Handle encrypted session keys. 02/22/06 16:03:34 ben [384] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/parse_local.h: * openpgpsdk/trunk/src/symmetric.c: Decryption seems to be correct. 02/22/06 11:35:13 ben [383] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/crypto.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/symmetric.c: Decrypt session keys. Generalise CFB mode. 02/21/06 10:33:23 ben [373] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/symmetric.c: Start handling symmetric encryption. 02/20/06 16:59:31 ben [371] * openpgpsdk/trunk/examples/common.c: * openpgpsdk/trunk/examples/create-key.c: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/sign-detached.c: * openpgpsdk/trunk/examples/sign-inline.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/configure.h.template: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/compress.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/hash.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/lists.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/symmetric.c: * openpgpsdk/trunk/src/util.c: * openpgpsdk/trunk/src/validate.c: Make sure dmalloc happens last. 02/19/06 16:34:51 ben [370] * openpgpsdk/trunk/examples/encrypt-gpg-message.sh: Add encrypter. 02/19/06 16:27:18 ben [369] * openpgpsdk/trunk/examples/create-gpg-key.sh: * openpgpsdk/trunk/examples/packet-dump.c: Handle unencrypted secret keys. 02/19/06 15:35:42 ben [368] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet-show.h: * openpgpsdk/trunk/src/packet-show.c: Constification, plus bugfix where strings were freed that might not have been malloced. 02/19/06 14:57:51 ben [367] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet-show.cast: * openpgpsdk/trunk/include/openpgpsdk/packet-show.h: * openpgpsdk/trunk/src/packet-show.c: Show algorithms. 02/02/06 14:21:04 ben [354] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/parse_local.h: * openpgpsdk/trunk/src/symmetric.c: Partial support for V3 secret keys. Doesn't work yet. 02/01/06 15:31:19 ben [352] * openpgpsdk/trunk/examples/packet-dump.c: Turn off buffering. 01/31/06 12:11:22 ben [348] * openpgpsdk/trunk/examples/packet-dump.c: Clean up. 01/30/06 16:25:04 ben [344] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/packet-parse.c: Point at the secret key in the passphrase callback instead. This is both architecturally cleaner and also avoids the public key getting trashed (because its memory is freed). 01/30/06 16:10:43 ben [343] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/symmetric.c: Working secret key decryption! 01/30/06 13:36:42 ben [342] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: Give callbacks a preview of secret keys. 01/30/06 13:08:26 ben [341] * openpgpsdk/trunk/examples/create-crypted-gpg-key.sh: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/symmetric.c: More decryption, missing file. 01/26/06 16:37:18 ben [339] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/src/hash.c: * openpgpsdk/trunk/src/packet-parse.c: More hash support, print the right thing. 01/26/06 15:49:13 ben [338] * openpgpsdk/trunk/examples/packet-dump.c: Better dumping. 01/25/06 18:40:09 ben [336] * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/include/openpgpsdk/keyring.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/include/openpgpsdk/types.h: * openpgpsdk/trunk/include/openpgpsdk/validate.h: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/compress.c: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/keyring_local.h: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/parse_local.h: * openpgpsdk/trunk/src/validate.c: Another step closer to decryption. 01/22/06 12:23:40 ben [335] * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/packet-parse.c: Rearrange error codes, add codes for specific events, read a GPG secret keyring. Add DSA secret key support. 01/20/06 17:52:06 ben [334] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/parse_local.h: Add passphrase callbacks. 01/20/06 09:02:19 ben [333] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/decrypt.c: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: Beginnings of decryption. 01/10/06 18:28:47 ben [332] * openpgpsdk/trunk/Makefile: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/include/openpgpsdk/util.h: * openpgpsdk/trunk/src/util.c: Add memory reader. Closes #31. 01/10/06 17:24:13 ben [331] * openpgpsdk/trunk/examples/packet-dump.c: Actually read the file. 01/05/06 13:57:53 ben [327] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/src/armour.c: Optionally allow trailing whitespace where we don't strictly expect it. 01/03/06 14:18:52 ben [326] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/packet-parse.c: Parse encrypted session key. 01/03/06 12:39:09 ben [323] * openpgpsdk/trunk/Makefile: * openpgpsdk/trunk/configure: * openpgpsdk/trunk/examples: * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/src: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/test/pgp1.eml: * openpgpsdk/trunk/test/pgp2.eml: * openpgpsdk/trunk/util/oink_cc.pl: Preliminary setup to allow the use of oink. 12/07/05 09:39:44 ben [320] * openpgpsdk/trunk/examples/common.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/util.h: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/compress.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/util.c: * openpgpsdk/trunk/src/validate.c: Out of time - hopefully a working refactoring of readers and callbacks. Armour has not been tested. 12/01/05 13:35:33 ben [318] * openpgpsdk/trunk/examples/verify2.c: Control verbosity. 11/30/05 15:23:25 ben [317] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/include/openpgpsdk/memory.h: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/signature.c: Ignore trailing whitespace. Hide memory structures. 11/29/05 16:06:23 ben [314] * openpgpsdk/trunk/examples: * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/create-key.c: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/sign-detached.c: * openpgpsdk/trunk/examples/sign-inline.c: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/signature.h: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/test/91A285AE301B7D6B.pub: * openpgpsdk/trunk/test/rsa-public-key-v4-A0CFDA99.raw: Inline signing. Not 100% RFC compliant yet, but seems to work. References #26. 11/28/05 15:41:06 ben [313] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: Handle RSA sign-only signatures. 11/26/05 12:43:33 ben [308] * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/validate.c: Behave like a grownup and take a filename as an argument. 11/25/05 14:44:20 ben [307] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/create-key.c: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/include/openpgpsdk/memory.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/include/openpgpsdk/signature.h: * openpgpsdk/trunk/include/openpgpsdk/types.h: * openpgpsdk/trunk/include/openpgpsdk/util.h: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/util.c: Start hiding things. 11/24/05 13:52:36 ben [306] * openpgpsdk/trunk/examples/packet-dump.c: Dump secret keys, too. 11/24/05 13:37:16 ben [305] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/common.c: Detached signatures still not working right. 11/24/05 09:53:05 ben [304] * openpgpsdk/trunk/configure: * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/common.c: * openpgpsdk/trunk/examples/common.h: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/signature.h: * openpgpsdk/trunk/include/openpgpsdk/types.h: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/signature.c: Create secret keys from scratch, partially implemented plaintext signing. 11/21/05 14:30:17 rachel [301] * openpgpsdk/trunk/examples/create-key.c: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/include/openpgpsdk/memory.h: * openpgpsdk/trunk/include/openpgpsdk/signature.h: * openpgpsdk/trunk/include/openpgpsdk/util.h: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/util.c: Renamed create_options to create_info to be consistent with parse_info. Added error stack into create_info structure 11/21/05 12:37:55 rachel [300] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/ops_errors.c: * openpgpsdk/trunk/src/util.c: Removed redundant ops_errors.c, all error code now in errors.c Tidied up error output 11/18/05 13:40:57 rachel [299] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/src/errors.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/util.c: * openpgpsdk/trunk/test/err: * openpgpsdk/trunk/test/err/rsa-public-key-2719AF35.raw.too-short: print error functions removed redundant code added sample test file to cause error 11/18/05 06:34:32 ben [297] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/common.c: * openpgpsdk/trunk/examples/common.h: * openpgpsdk/trunk/examples/create-signed-key.c: Refactor. 11/18/05 05:44:20 ben [296] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/src/armour.c: Prepare for write armour. 10/28/05 16:04:50 ben [276] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/src/packet-parse.c: Undo overzealous renaming. 10/27/05 19:07:05 rachel [271] * openpgpsdk/trunk/examples/create-key.c: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/accumulate.h: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/include/openpgpsdk/compress.h: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/compress.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/validate.c: Renamed parse_options to parse_info which makes more sense Made User_ID field unsigned because it's UTF-8 Fixed various signed/unsigned issues 10/25/05 15:19:46 ben [250] * openpgpsdk/trunk/configure: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/configure.h.template: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/compress.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/util.c: * openpgpsdk/trunk/src/validate.c: Add more checking, fix fallout from that. 10/24/05 16:02:19 ben [246] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/src/packet-parse.c: Values may not have been initialised. Also, where available, fill in signature creation time. 10/15/05 14:48:19 ben [241] * openpgpsdk/trunk/Makefile: * openpgpsdk/trunk/configure: * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/create-key.c: * openpgpsdk/trunk/examples/create-signed-key.c: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/openpgpsdk/Makefile: * openpgpsdk/trunk/include/openpgpsdk/configure.h.template: * openpgpsdk/trunk/include/openpgpsdk/create.h: * openpgpsdk/trunk/include/openpgpsdk/crypto.h: * openpgpsdk/trunk/include/openpgpsdk/errors.h: * openpgpsdk/trunk/include/openpgpsdk/keyring.h: * openpgpsdk/trunk/include/openpgpsdk/lists.h: * openpgpsdk/trunk/include/openpgpsdk/memory.h: * openpgpsdk/trunk/include/openpgpsdk/packet-parse.h: * openpgpsdk/trunk/include/openpgpsdk/packet-show.cast: * openpgpsdk/trunk/include/openpgpsdk/packet-show.h: * openpgpsdk/trunk/include/openpgpsdk/packet.h: * openpgpsdk/trunk/include/openpgpsdk/signature.h: * openpgpsdk/trunk/include/openpgpsdk/types.h: * openpgpsdk/trunk/include/openpgpsdk/util.h: * openpgpsdk/trunk/include/openpgpsdk/validate.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/hash.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/keyring_local.h: * openpgpsdk/trunk/src/lists.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/ops_errors.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/signature.c: * openpgpsdk/trunk/src/util.c: * openpgpsdk/trunk/src/validate.c: Move all the headers around. 10/15/05 14:00:07 ben [240] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/build.h: * openpgpsdk/trunk/include/create.h: * openpgpsdk/trunk/include/openpgpsdk: * openpgpsdk/trunk/include/openpgpsdk/accumulate.h: * openpgpsdk/trunk/include/openpgpsdk/armour.h: * openpgpsdk/trunk/include/openpgpsdk/compress.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/build.c: * openpgpsdk/trunk/src/compress.c: * openpgpsdk/trunk/src/create.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/signature.c: Partway through moving headers into their own directory, plus some cleanup. 10/14/05 18:04:00 ben [239] * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/src/packet-parse.c: Squash more memory leaks. 10/14/05 14:00:33 ben [237] * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/armour.h: * openpgpsdk/trunk/include/configure.h.template: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/memory.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/signature.c: Improve our dmalloc act, deal with some memory leaks. 10/13/05 15:32:07 ben [235] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/crypto.h: * openpgpsdk/trunk/include/keyring.h: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/include/signature.h: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/fingerprint.c: * openpgpsdk/trunk/src/hash.c: * openpgpsdk/trunk/src/keyring.c: * openpgpsdk/trunk/src/openssl_crypto.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/signature.c: Check signed cleartext. Also rename a prefixless function. 10/11/05 16:02:27 ben [233] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/examples/verify2.c: * openpgpsdk/trunk/include/armour.h: * openpgpsdk/trunk/src/armour.c: No need for a region in armour, and armour shouldn't parse. 10/11/05 12:47:49 ben [230] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: Improve error handling. 10/10/05 18:44:04 ben [229] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet-parse.h: * openpgpsdk/trunk/src/armour.c: All I'm seeing now is malformed emails, so I guess it works. 10/08/05 18:25:43 ben [225] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet-parse.h: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/packet-parse.c: New! Improved! Nearly working armour. 10/07/05 13:15:56 ben [221] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/armour.h: * openpgpsdk/trunk/include/packet-parse.h: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/armour.c: * openpgpsdk/trunk/src/packet-parse.c: Partially working armour code. 08/22/05 21:28:12 ben [220] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet-parse.h: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/packet-parse.c: Track packet position. 07/14/05 16:12:46 rachel [211] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/ops_errors.h: * openpgpsdk/trunk/include/packet-show.cast: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/include/util.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/ops_errors.c: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/src/packet-show.c: * openpgpsdk/trunk/src/util.c: first stab at rationalising some error codes, and introducing the use of error codes rather than strings 07/13/05 14:41:42 rachel [209] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet-parse.h: * openpgpsdk/trunk/src/packet-parse.c: Output error packets again at end of packet-dump, together with a hexdump of contents. 07/12/05 18:47:17 rachel [208] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/lists.h: * openpgpsdk/trunk/include/packet-parse.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/lists.c: * openpgpsdk/trunk/src/packet-parse.c: Enable packet-dump to print offsets of error packets. 07/12/05 13:21:42 rachel [205] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: Do not stop if an error is found in a packet, give warning, consume the remainder if any, and carry on. ops_parse() return code now indicates success/failure of all packets parsed, an error is returned if any single packet failed. 07/12/05 09:41:54 rachel [203] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/packet-parse.c: Don't assume that Private/Experimental PKAs in signatures are BIGNUMS, also added some documentation for read_data(), read_limited_data() 07/11/05 17:39:56 rachel [202] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/src/packet-parse.c: Add parsing of ElGamal_Encrypt_Or_Sign algorithm in Public Key 07/11/05 16:13:14 rachel [201] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/packet-parse.c: Handle private and experimental Public Key Algorithms in signatures 07/01/05 11:23:08 ben [198] * openpgpsdk/trunk/examples/Makefile.template: Another test. 07/01/05 09:13:22 ben [197] * openpgpsdk/trunk/Makefile: * openpgpsdk/trunk/examples/Makefile.template: More test targets. 07/01/05 09:11:35 ben [196] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/packet-parse.c: * openpgpsdk/trunk/test/subpacket-28.raw: Subpacket 28. 06/30/05 09:40:33 ben [195] * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/test: * openpgpsdk/trunk/test/dsa-public-key-2118CF83.raw: * openpgpsdk/trunk/test/rsa-public-key-2719AF35.raw: * openpgpsdk/trunk/test/signtest: * openpgpsdk/trunk/test/signtest.gpg: * openpgpsdk/trunk/test/subpacket-10.raw: * openpgpsdk/trunk/test/user-attribute-key.raw: Add some tests. 06/29/05 23:16:21 ben [194] * openpgpsdk/trunk/examples/packet-dump.c: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/packet-parse.c: Handle subpacket type 10. 06/29/05 15:36:11 ben [192] * openpgpsdk/trunk/configure: * openpgpsdk/trunk/examples/Makefile.template: * openpgpsdk/trunk/include/packet.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/packet-parse.c: 64-bit port, find socket libraries. 06/27/05 15:05:16 ben [183] * openpgpsdk/trunk/examples/verify.c: * openpgpsdk/trunk/include/Makefile: * openpgpsdk/trunk/include/keyring.h: * openpgpsdk/trunk/src/Makefile.template: * openpgpsdk/trunk/src/accumulate.c: * openpgpsdk/trunk/src/util.c: * openpgpsdk/trunk/src/validate.c: Clean up validation.