aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-04-29Added a copyright year for files changed this year.Werner Koch1-1/+1
2002-04-23* parse-packet.c (parse_plaintext), packet.h, plaintext.cDavid Shaw1-4/+12
(handle_plaintext): Fix bug in handling literal packets with zero-length data (no data was being confused with partial body length). * misc.c (pct_expando), options.skel: %t means extension ("jpg"). %T means MIME type ("image/jpeg"). * import.c (import_one): Only trigger trust update if the keyring is actually changed. * export.c (do_export_stream): Missing a m_free.
2002-04-11* misc.c (pct_expando), options.skel: Use %t to indicate type of a photoDavid Shaw1-5/+15
ID (in this version, it's always "jpeg"). Also tweak string expansion loop to minimize reallocs. * mainproc.c (do_check_sig): Variable type fix. * keyedit.c (menu_set_primary_uid): Differentiate between true user IDs and attribute user IDs when making one of them primary. That is, if we are making a user ID primary, we alter user IDs. If we are making an attribute packet primary, we alter attribute packets. This matches the language in the latest attribute packet draft. * keyedit.c (sign_uids): No need for the empty string hack. * getkey.c (fixup_uidnode): Only accept preferences from the hashed segment of the self-sig.
2002-02-26Treat key lists internally as fingerprints when possible. All this is viaDavid Shaw1-0/+25
KEYDB_SEARCH_DESC - no point in reinventing the wheel. This allows the helper program to search the keyserver by fingerprint if desired (and the keyserver supports it). Note that automatic fingerprint promotion during refresh only applies to v4 keys as a v4 fingerprint can be easily changed into a long or short key id, and a v3 cannot. Take two copies of hextobyte() from pubkey-enc.c and getkey.c and make them into one copy in misc.c.
2002-02-10For --sig-policy-url and --cert-policy-url, clarify what is a sig and whatDavid Shaw1-2/+6
is a cert. A sig has sigclass 0x00, 0x01, 0x02, or 0x40, and everything else is a cert. Add a "nrlsign" for nonrevocable and local key signatures. Add a --no-force-mdc to undo --force-mdc. Add a knob to force --disable-mdc/--no-disable-mdc. Off by default, of course, but is used in --pgp2 and --pgp6 modes. Allow specifying multiple users in the "Enter the user ID" loop. Enter a blank line to stop. Show each key+id as it is added. It is not illegal (though possibly silly) to have multiple policy URLs in a given signature, so print all that are present. More efficient implementation of URL-ifying code for --search on an HKP keyserver.
2002-02-05Allow policy URLs with %-expandos in them. This allows policy URLs likeDavid Shaw1-0/+108
"http://notary.jabberwocky.com/keysign/%K" to create a per-signature policy URL. Use the new generic %-handler for the photo ID stuff as well. Display policy URLs and notations during signature generation if --show-policy-url/--show-notation is set.
2002-01-09Move idea_cipher_warn to misc.c so gpgv.c doesn't need a stubDavid Shaw1-0/+15
Remove get_temp_dir (it's in exec.c now) Allow --delete-key (now --delete-keys, though --delete-key still works) to delete multiple keys in one go. This applies to --delete-secret-key(s) and --delete-secret-and-public-key(s) as well
2001-12-29Bugfix in photoid.c and keyserver.cDavid Shaw1-14/+40
Properly handle permission/ownership checks on files that are shared (for example /usr/local/lib/gnupg/idea)
2001-12-27Some exec cleanups and tweaks for photo ID and keyserver executionDavid Shaw1-4/+4
2001-12-23Fixed a typo and W32 support for the latest CVS changes.Timo Schulz1-0/+2
2001-12-20New function to check the permissions of GNUPGHOME and the various filesDavid Shaw1-7/+52
that live there for safe permission/ownership (--no-permission-warning to disable) The newer glibcs print scary warnings about using mktemp(). The use here was actually safe, but the warning was bound to confuse people, so here is an arguably better tempname creator that pulls random bits from the pool.
2001-09-09more bug fixesand some warning cleanupsWerner Koch1-9/+8
2001-04-23Add kludge for broken HTTP proxies.Werner Koch1-1/+1
2001-03-27Fixed a bugs; e.g. in --list-secret-keysWerner Koch1-1/+1
2001-03-12worked on solving some bugsWerner Koch1-0/+1
2001-03-08Changed and added copyright noticesWerner Koch1-1/+1
2001-02-08Backported getkey.c from 1.1Werner Koch1-0/+73
2000-10-18Typo fixes.Werner Koch1-2/+2
2000-10-18*** empty log message ***Werner Koch1-0/+3
2000-10-13Fixed serious bug related to multiple cleartext signatures.Werner Koch1-0/+27
2000-09-14See ChangeLog: Thu Sep 14 14:20:38 CEST 2000 Werner KochWerner Koch1-6/+7
2000-09-06See ChangeLog: Wed Sep 6 17:55:47 CEST 2000 Werner KochWerner Koch1-9/+2
2000-05-12See ChangeLog: Fri May 12 14:01:20 CEST 2000 Werner KochWerner Koch1-1/+1
1999-08-30See ChangeLog: Mon Aug 30 20:38:33 CEST 1999 Werner KochWerner Koch1-0/+2
1999-05-20See ChangeLog: Thu May 20 14:04:08 CEST 1999 Werner KochWerner Koch1-1/+4
1999-04-07See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner KochWerner Koch1-1/+2
1998-12-29See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1-4/+6
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-12-17See ChangeLog: Thu Dec 17 18:31:15 CET 1998 Werner KochWerner Koch1-2/+2
1998-12-10See ChangeLog: Thu Dec 10 20:15:36 CET 1998 Werner KochWerner Koch1-0/+58
1998-12-09See ChangeLog: Wed Dec 9 13:41:06 CET 1998 Werner KochWerner Koch1-1/+1
1998-11-10Some bug fixes of the last releaseWerner Koch1-2/+3
1998-07-29edit-key is now completeWerner Koch1-2/+2
1998-07-14syncWerner Koch1-0/+22
1998-06-25nearly ready for 0.3.0Werner Koch1-0/+12
1998-06-16some more internall structure changesWerner Koch1-1/+7
1998-06-15extensions are now working and fixed a lot of bugsWerner Koch1-2/+56
1998-05-15new releaseV0-2-18Werner Koch1-0/+31
1998-04-07cipher reorganisiertWerner Koch1-26/+35
1998-02-24Renamed to GNUPGV-0-2-8Werner Koch1-4/+4
1997-11-18initially checkinWerner Koch1-0/+54