aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-04-13* keygen.c (make_backsig): New function to add a backsig to a binding sigDavid Shaw1-2/+5
of signing subkeys. Currently disabled. (write_keybinding): Call it here, for signing subkeys only. * sign.c (make_keysig_packet): Allow generating 0x19 signatures (same as 0x18 or 0x28, but used for backsigs). * packet.h, build-packet.c (build_sig_subpkt): Add new SIGSUBPKT_SIGNATURE type for embedded signatures.
2004-03-26* build-packet.c (calc_plaintext, do_plaintext): Do not create illegalDavid Shaw1-7/+8
(packet header indicates a size larger than the actual packet) encrypted data packets when not compressing and using a filename longer than 255 characters.
2004-03-09* import.c (import_one): Try and collapse user IDs when importing a keyDavid Shaw1-2/+2
for the first time. * build-packet.c (do_comment, do_user_id): Try for a headerlen of 2 since that's the smallest and most likely encoding for these packets * keyedit.c (menu_addrevoker): Allow appointing a subkey as a designated revoker if the user forces it via keyid!, so long as the subkey can certify. Also use the proper date string when prompting for confirmation.
2004-02-15* build-packet.c (do_user_id): Do not force a header for attribute packetsDavid Shaw1-3/+1
as they require a new CTB, and we don't support forced headers for new CTBs yet.
2004-02-14* build-packet.c (write_header2): If a suggested header length is providedDavid Shaw1-24/+26
along with a zero length, interpret this as an actual zero length packet and not as an indeterminate length packet. (do_comment, do_user_id): Use it here as these packets might be naturally zero length. * parse-packet.c (parse): Show packet type when failing due to an indeterminate length packet.
2003-05-22* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw1-6/+6
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, hkp.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
2003-05-02* packet.h, build-packet.c (build_sig_subpkt), export.cDavid Shaw1-3/+0
(do_export_stream), import.c (remove_bad_stuff, import), parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt): Remove vestigal code for the old sig cache subpacket. This wasn't completely harmless as it caused subpacket 101 to disappear on import and export.
2003-04-28* build-packet.c (build_sig_subpkt): Comments.David Shaw1-1/+4
* exec.c (exec_write): Cast NULL to void* to properly terminate varargs list. * keyedit.c (show_key_with_all_names): Just for safety, catch an invalid pk algorithm. * sign.c (make_keysig_packet): Crucial that the call to mksubpkt comes LAST before the calls to finalize the sig as that makes it possible for the mksubpkt function to get a reliable pointer to the subpacket area.
2003-04-23Reverted recent changes in the copyright notices. We can't use aWerner Koch1-1/+2
range of years but must list each year we have prepared a release and applied a textual change to a file. It is common that some files are not changed in a couple of years and a range would not allow to express this.
2003-04-22* keyedit.c (sign_uids): Allow replacing expired signatures. AllowDavid Shaw1-1/+7
duplicate signatures with --expert. * pkclist.c (check_signatures_trust): Don't display a null fingerprint when checking a signature with --always-trust enabled. * filter.h (progress_filter_context_t), progress.c (handle_progress): Fix compiler warnings. Make "what" constant. * build-packet.c (do_plaintext): Do not create invalid literal packets with >255-byte names.
2002-12-04* main.h, keyedit.c, keygen.c: Back out previous (2002-12-01) change.David Shaw1-1/+14
Minimal isn't always best. * sign.c (update_keysig_packet): Use the current time rather then a modification of the original signature time. Make sure that this doesn't cause a time warp. * keygen.c (keygen_add_key_expire): Properly handle a key expiration date in the past (use a duration of 0). * keyedit.c (menu_expire): Use update_keysig_packet so any sig subpackets are maintained during the update. * build-packet.c (build_sig_subpkt): Mark sig expired or unexpired when the sig expiration subpacket is added. (build_sig_subpkt_from_sig): Handle making an expiration subpacket from a sig that has already expired (use a duration of 0).
2002-10-31* build-packet.c (do_plaintext), encode.c (encode_sesskey, encode_simple,David Shaw1-1/+1
encode_crypt), sign.c (write_plaintext_packet): Use wipememory() instead of memset() to wipe sensitive memory as the memset() might be optimized away.
2002-10-28reverted filetype patchStefan Bellon1-24/+0
2002-10-28filetype support for RISC OSStefan Bellon1-0/+24
2002-09-11* g10.c, options.h: Removed option --emulate-checksum-bug.Werner Koch1-2/+14
* misc.c (checksum_u16_nobug): Removed. (checksum_u16): Removed the bug emulation. (checksum_mpi): Ditto. (checksum_mpi_counted_nbits): Removed and replaced all calls with checksum_mpi. * parse-packet.c (read_protected_v3_mpi): New. (parse_key): Use it here to store it as an opaque MPI. * seckey-cert.c (do_check): Changed the v3 unprotection to the new why to store these keys. (protect_secret_key): Likewise. * build-packet.c (do_secret_key): And changed the writing.
2002-08-30* pkclist.c (do_we_trust_pre): Changed the wording of a warning.Werner Koch1-17/+8
* encode.c (encode_simple,encode_crypt): Use new style CTB for compressssed packets when using MDC. We need to do this so that concatenated messages are properly decrypted. Old style compression assumes that it is the last packet; given that we can't determine the length in advance, the uncompressor does not know where to start. Actually we should use the new CTB always but this would break PGP 2 compatibility. * parse-packet.c (parse): Special treatment for new style CTB compressed packets. * build-packet.c (do_mdc): Removed. Was not used. (do_encrypted_mdc): Count the version number and the MDC packet.
2002-07-22* options.h, main.h, export.c (parse_export_options, do_export_stream),David Shaw1-1/+3
g10.c (main): add new --export-options option. Current flags are "include-non-rfc", "include-local-sigs", "include-attributes", and "include-sensitive-revkeys". * options.h, hkp.c (hkp_export), keyserver.c (parse_keyserver_options, keyserver_spawn): try passing unknown keyserver options to export options, and if successful, use them when doing a keyserver --send-key. * build-packet.c (build_sig_subpkt): We do not generate SIGSUBPKT_PRIV_VERIFY_CACHE anymore.
2002-07-01* packet.h, build-packet.c (build_attribute_subpkt), exec.c (expand_args),David Shaw1-3/+4
mkdtemp.c (mkdtemp), photoid.c (parse_image_header): Fix some signedness compiler warnings.
2002-06-29Update head to match stable 1.0David Shaw1-157/+280
2000-10-11Add features packet and fixes MIPS3.Werner Koch1-0/+1
2000-09-18See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch1-0/+1
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-23/+65
2000-05-25See ChangeLog: Thu May 25 18:39:11 CEST 2000 Werner KochWerner Koch1-1/+2
2000-03-13See ChangeLog: Mon Mar 13 19:22:46 CET 2000 Werner KochWerner Koch1-0/+1
2000-01-31See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner KochWerner Koch1-1/+0
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-11/+11
2000-01-24See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch1-7/+7
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-9/+9
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-0/+1
1999-10-26See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1-5/+5
1999-07-08See ChangeLog: Thu Jul 8 16:21:27 CEST 1999 Werner KochWerner Koch1-0/+1
1999-05-31See ChangeLog: Mon May 31 19:41:10 CEST 1999 Werner KochWerner Koch1-2/+0
1999-05-26See ChangeLog: Wed May 26 14:36:29 CEST 1999 Werner KochWerner Koch1-13/+43
1999-05-25See ChangeLog: Tue May 25 19:50:32 CEST 1999 Werner KochWerner Koch1-0/+1
1999-05-17See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner KochWerner Koch1-2/+26
1999-05-08See ChangeLog: Sat May 8 19:28:33 CEST 1999 Werner KochWerner Koch1-15/+8
1999-05-06See ChangeLog: Thu May 6 14:18:17 CEST 1999 Werner KochWerner Koch1-28/+32
1999-04-26See ChangeLog: Mon Apr 26 17:48:15 CEST 1999 Werner KochWerner Koch1-3/+9
1999-04-18See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1-2/+2
1999-04-06See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1-0/+34
1999-03-11See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner KochWerner Koch1-1/+1
1999-02-16See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1-11/+11
1999-01-09See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner KochWerner Koch1-1/+1
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-10-18Snapshot release 0.4.2V0-4-2Werner Koch1-1/+1
1998-10-16last local commitWerner Koch1-4/+16
1998-09-11*** empty log message ***Werner Koch1-9/+27
1998-08-11bug fix releaseV0-3-4Werner Koch1-1/+2
1998-08-08ready for a new releaseWerner Koch1-3/+5
1998-08-05intermediate check inWerner Koch1-10/+16