aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-06-09* keydb.h, getkey.c (get_user_id_native), import.c (import_one): DisplayDavid Shaw1-1/+6
user ID while importing a key. Note this applies to both --import and keyserver --recv-keys. * exec.c (exec_finish): Log unnatural exit (core dump, killed manually, etc) for fork/exec/pipe child processes.
2002-06-06* main.h, g10.c (main), keygen.c (build_personal_digest_list): Put in aDavid Shaw1-1/+1
default digest preference list consisting of SHA-1, followed by every other installed digest except MD5. Note this is the same as having no digest preference at all except for SHA-1 being favored. * options.h, g10.c (main), keygen.c (keygen_set_std_prefs), pkclist.c (select_algo_from_prefs): Split --personal-preference-list into three: --personal-{cipher|digest|compress}-preferences. This allows a user to set one without affecting another (i.e. setting only a digest pref doesn't imply an empty cipher pref). * exec.c (exec_read): This is a safer way of guessing the return value of system(). Noted by Stefan Bellon.
2002-06-06* hkp.c (parse_hkp_index): Be more robust with keyservers returning veryDavid Shaw1-5/+11
unparseable responses. * exec.c (exec_read): Catch and display an error when the remote process exits unnaturally (i.e. segfault) so the user knows what happened. Also fix exec_write stub which has a different number of arguments now.
2002-06-04* sign.c (hash_for, sign_file): When encrypting and signing at the sameDavid Shaw1-7/+9
time, consult the various hash prefs to pick a hash algorithm to use. Pass in a 160-bit hint if any of the signing keys are DSA. * keydb.h, pkclist.c (select_algo_from_prefs, algo_available): Pass a "hints" opaque pointer in to let the caller give hints as to what algorithms would be acceptable. The only current hint is for PREFTYPE_HASH to require a 160-bit hash for DSA. Change all callers in encode.c (encode_crypt, encrypt_filter) and sign.c (sign_file). If we settle on MD5 as the best algorithm based solely on recepient keys and SHA1 is also a possibility, use SHA1 unless the user intentionally chose MD5. This is as per 2440:13. * exec.c (make_tempdir): Fix duplicated filename problem.
2002-05-29* options.h, exec.c: Add some debugging info, using the 1024 debug flag.David Shaw1-4/+53
* exec.c (win_system): New system()-like function for win32 that does not return until the child process terminates. Of course, this doesn't help if the process itself exits before it is finished.
2002-05-142002-05-14 Timo Schulz <[email protected]>Timo Schulz1-1/+1
* exec.c (make_tempdir) [MINGW32]: Added missing '\'.
2002-05-13EXTSEP_S instead of hardcoded dotStefan Bellon1-1/+1
2002-05-13* photoid.c (show_photos): Use the long keyid as the filename for theDavid Shaw1-15/+13
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-05* import.c (import_one): When merging with a key we already have, don'tDavid Shaw1-15/+18
let a key conflict (same keyid but different key) stop the import: just skip the bad key and continue. * exec.c (make_tempdir): Under Win32, don't try environment variables for temp directories - GetTempDir tries environment variables internally, and it's better not to second-guess it in case MS adds some sort of temp dir handling to Windows at some point.
2002-05-04* photoid.c: Provide default image viewer for Win32.David Shaw1-8/+14
* 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-03* configure.ac: Add --disable-exec flag to disable all remote programDavid Shaw1-0/+14
execution. --disable-exec implies --disable-ldap and --disable-mailto. Also look in /usr/lib for sendmail. If sendmail is not found, do not default - just fail. * exec.c: Provide stubs for exec_ functions when NO_EXEC is defined.
2002-04-29Added a copyright year for files changed this year.Werner Koch1-1/+1
2002-04-22RISC OS specific changesStefan Bellon1-1/+2
2002-04-08Merged in my changes, after disk crash. Fortunately the CVS was notWerner Koch1-4/+6
affected - but everything else and it seems that there is no backup of the BTS data is available :-(
2002-01-27More comments about when to use IDEA in keygen.cDavid Shaw1-6/+9
When key signing with multiple keys at the same time, make sure each key gets the sigclass prompt Close the iobuf and FILE before trying to reap the child process to encourage the child to exit Disable cache-on-close of the fd iobuf (shouldn't all fd iobufs not be cached?)
2002-01-09Added missing include file.Timo Schulz1-0/+3
2002-01-03Minor tweaks: remove --no-default-check-level, don't cache child tempfilesDavid Shaw1-6/+4
and simpler code in keyserver
2002-01-02invalidate close cacheStefan Bellon1-2/+7
2001-12-27Some exec cleanups and tweaks for photo ID and keyserver executionDavid Shaw1-24/+54
2001-12-23Fixed a typo and W32 support for the latest CVS changes.Timo Schulz1-0/+4
2001-12-22Avoid const compiler warningDavid Shaw1-1/+1
2001-12-22Some last minute tweaks - type fixes from Stefan and win32 temp filesDavid Shaw1-1/+8
from Timo.
2001-12-21Add new photo ID files and modify gpgsplit to name attribute packetsDavid Shaw1-0/+443
properly