aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-4/+5
2005-01-06* filter.h, armor.c (armor_filter): Use the eol string from the armorDavid Shaw1-26/+41
filter context instead of hardcoding '\n' or '\r\n'. If no eol string is provided, default to '\n' or '\r\n' as appropriate. (is_armor_header): Trim tabs in armor header lines as well. * keyserver.c (keyserver_spawn): Use it here to force '\n' line endings since the keyserver output file gets a LF->CRLF expansion on win32.
2005-01-06* g10.c (main): Typo.David Shaw1-9/+16
* armor.c (is_armor_header): Allow CR and LF (not just actual spaces) in an armor header line (-----BEGIN etc). This is needed due to CRLF issues on win32. As before, --openpgp makes it strict.
2004-10-14* keylist.c (list_keyblock_print): Show the fingerprint after the key, notDavid Shaw1-37/+58
after the first user ID. * keyedit.c (show_key_with_all_names): Don't show validity if we're just printing user IDs for signing. * armor.c (fake_packet): Properly handle the case where the line is dash-space (i.e. a blank line that was quoted). Give a warning for bad dash escaping.
2004-10-13* armor.c (fake_packet): Allow arbitrary dash-escaped lines as perDavid Shaw1-20/+19
2440bis-10. This is bug #158.
2004-09-24* main.h: Create S2K_DIGEST_ALGO macro so we do not need to always setDavid Shaw1-6/+6
opt.s2k_digest_algo. This helps fix a problem with PGP 2.x encrypted symmetric messages. Change all callers (encode.c, g10.c, keyedit.c, keygen.c, passphrase.c, sign.c). * armor.c, cardglue.c, getkey.c, import.c, keygen.c: Be consistent in some more quoted strings. Always use 'user ID', not 'user id', "quotes" for user IDs, etc.
2004-08-05* armor.c (radix64_read): No armor CRC is legal according to the spec (theDavid Shaw1-1/+5
CRC is a MAY).
2004-07-16* keylist.c (list_keyblock_print): Always use the new listing format whereDavid Shaw1-6/+5
uids are always on a line for themselves. Mark expired secret keys as expired. * options.h, g10.c (main): Rename list show-validity to show-uid-validity as it only shows for uids. * armor.c (armor_filter): Do not use padding to get us to 8 bytes of header. Rather, use 2+4 as two different chunks. This avoids a fake filename of "is".
2004-03-04* armor.c (fake_packet, armor_filter): Use the 2440 partial lengthDavid Shaw1-25/+48
encoding for the faked plaintext packet.
2003-09-23Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch1-21/+18
2003-09-23* g10.c (main): Deprecate --default-comment in favor of --no-comments.David Shaw1-10/+12
* options.h, g10.c (main), armor.c (armor_filter): Allow using --comment multiple times to get multiple Comment: header lines. --no-comments resets list.
2003-09-04* armor.c (parse_hash_header, armor_filter), g10.c (print_hex, print_mds),David Shaw1-11/+5
pkclist.c (algo_available): Drop TIGER/192 support.
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-15/+16
to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
2003-06-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+1336
'GNUPG-1-9-BRANCH'.
2003-05-24* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw1-10/+10
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.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-03* packet.h, build-packet.c (build_sig_subpkt), export.cDavid Shaw1-3/+1
(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. * options.h, armor.c, cipher.c, g10.c, keyedit.c, pkclist.c, sign.c, encode.c, getkey.c, revoke.c: The current flags for different levels of PGP-ness are massively complex. This is step one in simplifying them. No functional change yet, just use a macro to check for compliance level. * sign.c (sign_file): Fix bug that causes spurious compression preference warning. * sign.c (clearsign_file): Fix bug that prevents proper warning message from appearing when clearsigning in --pgp2 mode with a non-v3 RSA key. * main.h, misc.c (compliance_option_string, compliance_string, compliance_failure), pkclist.c (build_pk_list), sign.c (sign_file, clearsign_file), encode.c (encode_crypt, write_pubkey_enc_from_list): New functions to put the "this message may not be usable...." warning in one place. * options.h, g10.c (main): Part two of the simplification. Use a single enum to indicate what we are compliant to (1991, 2440, PGPx, etc.) * g10.c (main): Show errors for failure in export, send-keys, recv-keys, and refresh-keys. * options.h, g10.c (main): Give algorithm warnings for algorithms chosen against the --pgpX and --openpgp rules. * keydb.h, pkclist.c (algo_available): Make TIGER192 invalid in --openpgp mode. * sign.c (sign_file), pkclist.c (algo_available): Allow passing a hint of 0.
2003-02-04* armor.c (parse_hash_header, armor_filter): Accept the new SHAs in theDavid Shaw1-6/+18
armor Hash: header. * g10.c (print_hex): Print long hash strings a little neater. (print_mds): Add the new SHAs to the hash list.
2003-01-11* armor.c (armor_filter): Comment about PGP's end of line tab problem.David Shaw1-1/+5
* trustdb.h, trustdb.c (trust_letter): Make static. (get_ownertrust_info, get_validity_info): Don't mask the trust level twice. * trustdb.h, gpgv.c, trustdb.c (get_validity, get_validity_info), keylist.c (list_keyblock_colon), keyedit.c (show_key_with_all_names_colon, menu_revuid): Pass a user ID in rather than a namehash, so we only have to do the hashing in one place. * packet.h, pkclist.c (build_pk_list), free-packet.c (release_public_key_parts): Remove unused namehash element for public keys.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-1322/+0
'GNUPG-1-9-BRANCH'.
2002-06-29Update head to match stable 1.0David Shaw1-68/+310
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-18/+45
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-8/+8
2000-01-24See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch1-3/+3
1999-12-31See ChangeLog: Fri Dec 31 12:48:31 CET 1999 Werner KochWerner Koch1-18/+18
1999-12-08See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1-4/+4
1999-11-19See ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner KochWerner Koch1-0/+6
1999-05-20See ChangeLog: Thu May 20 14:04:08 CEST 1999 Werner KochWerner Koch1-4/+8
1999-04-05./BUGSWerner Koch1-1/+0
1999-03-20See ChangeLog: Sat Mar 20 13:59:47 CET 1999 Werner KochV0-9-5Werner Koch1-6/+11
1999-03-17See ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner KochWerner Koch1-1/+3
1999-03-02See ChangeLog: Tue Mar 2 10:38:42 CET 1999 Werner KochWerner Koch1-1/+1
1999-02-26See ChangeLog: Fri Feb 26 17:55:41 CET 1999 Werner KochWerner Koch1-0/+27
1999-02-19See ChangeLog: Fri Feb 19 15:49:15 CET 1999 Werner KochWerner Koch1-21/+11
1999-02-16See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1-7/+8
1999-02-10See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1-13/+16
1999-01-21See ChangeLog: Thu Jan 21 06:22:10 CET 1999 Werner KochV0-9-2Werner Koch1-1/+1
1999-01-20See ChangeLog: Wed Jan 20 18:59:49 CET 1999 Werner KochWerner Koch1-2/+0
1999-01-17See ChangeLog: Sun Jan 17 11:04:33 CET 1999 Werner KochWerner Koch1-28/+2
1999-01-13See ChangeLog: Wed Jan 13 14:10:15 CET 1999 Werner KochWerner Koch1-0/+5
1999-01-13See ChangeLog: Wed Jan 13 12:49:36 CET 1999 Werner KochWerner Koch1-5/+67
1999-01-10See ChangeLog: Sun Jan 10 19:36:42 CET 1999 Werner KochWerner Koch1-2/+2
1999-01-10See ChangeLog: Sun Jan 10 15:10:02 CET 1999 Werner KochWerner Koch1-5/+8
1999-01-09See ChangeLog: Sat Jan 9 18:54:57 CET 1999 Werner KochWerner Koch1-2/+1
1999-01-09See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner KochWerner Koch1-417/+13
1999-01-07See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner KochWerner Koch1-116/+304
1998-12-29See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1-3/+3
1998-12-23See ChangeLog: Wed Dec 23 17:12:24 CET 1998 Werner KochV0-9-0Werner Koch1-0/+1
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-1/+1
1998-12-17See ChangeLog: Thu Dec 17 18:31:15 CET 1998 Werner KochWerner Koch1-1/+1
1998-11-27See ChangeLog: Fri Nov 27 15:30:24 CET 1998 Werner KochWerner Koch1-2/+4