aboutsummaryrefslogtreecommitdiffstats
path: root/g10/photoid.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-06-20* keydb.h, pkclist.c (select_algo_from_prefs): Allow passing a suggestedDavid Shaw1-9/+30
algorithm which will be used if available. * encode.c (encode_crypt, encrypt_filter), sign.c (sign_file): Use new select_algo_from_prefs feature to check if forcing an algorithm would violate the recipient preferences. * photoid.c (get_default_photo_command, show_photos): Use different default viewers on different platforms. Currently we have Win 9x, Win NT (2k, xp), Mac OSX, RISC OS, and "everybody else". These are #ifdefs as much as possible to avoid clutter. * g10.c (strusage, build_list), keyedit.c (show_prefs), main.h, misc.c (compress_algo_to_string, check_compress_algo), pkclist.c (algo_available), keygen.c (keygen_set_std_prefs): New algo_to_string and check functions for compress algorithms.
2002-06-20image file system feature and filetype for RISC OSStefan Bellon1-0/+5
2002-06-03* main.h, g10.c (main), keylist.c (dump_attribs, set_attrib_fd,David Shaw1-10/+15
list_keyblock_print, list_keyblock_colon), status.h, status.c (get_status_string): New --attribute-fd feature to dump the contents of attribute subpackets for frontends. If --status-fd is also used, then a new status tag ATTRIBUTE is provided for each subpacket. * packet.h, getkey.c (fixup_uidnode, merge_selfsigs_main, merge_selfsigs_subkey), parse-packet.c (setup_user_id): Keep track of the expiration time of a user ID, and while we're at it, use the expired flag from the selfsig rather than reparsing the SIG_EXPIRE subpacket. * photoid.c (generate_photo_id): When adding a new photo ID, showing the photo for confirmation is not safe when noninteractive since the "user" may not be able to dismiss a viewer window. Noted by Timo Schulz.
2002-06-03* options.skel: Sample photo viewers for Win32.David Shaw1-2/+5
* misc.c (pct_expando): Use the seckey for %k/%K if the pubkey is not available. * photoid.h, photoid.c (show_photos): Include the seckey in case a user tries to view a photo on a secret key, and change all callers in keyedit.c (menu_showphoto), keylist.c (list_keyblock_print), and photoid.c (generate_photo_id).
2002-06-02* photoid.c (show_photos): Work properly when not called with a publicDavid Shaw1-2/+3
key.
2002-05-13* photoid.c (show_photos): Use the long keyid as the filename for theDavid Shaw1-10/+28
photo. Use the short keyid as the filename on 8.3 systems. * exec.h, exec.c (make_tempdir, exec_write, exec_finish): Allow caller to specify filename. This should make things easier on windows and macs where the file extension is required, but a whole filename is even better. * keyedit.c (show_key_with_all_names, show_prefs): Show proper prefs for a v4 key uid with no selfsig at all. * misc.c (check_permissions): Don't check permissions on non-normal files (pipes, character devices, etc.)
2002-05-04* photoid.c: Provide default image viewer for Win32.David Shaw1-1/+6
* misc.c (pct_expando): %t means extension, not name ("jpg", not "jpeg"). * keyserver.c (keyserver_spawn), photoid.c (show_photos), exec.h, exec.c: Allow the caller to determine the temp file extension when starting an exec_write and change all callers.
2002-05-02* photoid.h, photoid.c (parse_image_header, image_type_to_string): UsefulDavid Shaw1-17/+99
functions to return data about an image. * packet.h, parse-packet.c (make_attribute_uidname, parse_attribute_subpkts, parse_attribute), photoid.h, photoid.c (show_photos): Handle multiple images in a single attribute packet. * main.h, misc.c (pct_expando), sign.c (mk_notation_and_policy), photoid.c (show_photos): Simpler expando code that does not require using compile-time string sizes. Call image_type_to_string to get image strings (i.e. "jpg", "image/jpeg"). Change all callers. * keyedit.c (menu_showphoto), keylist.c (list_keyblock_print): Allow viewing multiple images within a single attribute packet. * gpgv.c: Various stubs for link happiness.
2002-04-29Added a copyright year for files changed this year.Werner Koch1-1/+1
2002-03-31Fix ownertrust display with --with-colons.David Shaw1-2/+3
Properly initialize the user ID refcount for user and photo IDs. Tweak a few prompts to change "y/n" to "y/N", which is how most other prompts are written. Warn the user if they are about to revoke an expired sig (not a problem, but they should know). Control-d escapes the keyserver search prompt. If a subkey is considered revoked solely because the parent key is revoked, print the revocation reason from the parent key. Allow revocation/expiration to apply to a uid/key with no entry in the trustdb.
2002-02-05Allow policy URLs with %-expandos in them. This allows policy URLs likeDavid Shaw1-83/+6
"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.
2001-12-29Bugfix in photoid.c and keyserver.cDavid Shaw1-4/+1
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-2/+8
2001-12-25Some tweaks - copyleft info for mkdtemp.c, and header pruning in photoid.cDavid Shaw1-15/+8
and keyserver.c
2001-12-23Fixed a typo and W32 support for the latest CVS changes.Timo Schulz1-0/+2
2001-12-22Some last minute tweaks - type fixes from Stefan and win32 temp filesDavid Shaw1-3/+5
from Timo.
2001-12-21Add new photo ID files and modify gpgsplit to name attribute packetsDavid Shaw1-0/+256
properly