aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * INSTALL: Replaced by generic install file.V1-1-90Werner Koch2002-07-013-16/+168
| | | | | | * README: Marked as development version and moved most stuff of the old INSTALL file to here.
* * encode.c (encode_symmetric): Do not use the new encryption code.Werner Koch2002-07-012-1/+11
|
* typo fixWerner Koch2002-07-011-1/+1
|
* * mk-gpg-texi: New.Werner Koch2002-07-013-0/+51
|
* Better keep it in the CVSWerner Koch2002-07-011-0/+1427
|
* * Makefile.am: Due to problems with VPATH builds we don't try toWerner Koch2002-07-013-16/+30
| | | | | build the texi vesions of the manual pages anymore automatically.
* * README.W32: Adjusted some descriptions. Fixed the regsitryWerner Koch2002-06-302-12/+22
| | | | | entry descriptions.
* * configure.ac: Link W32 version against libwsock32.Werner Koch2002-06-302-1/+5
|
* * photoid.c: Use __MINGW32__ to include windows becauseWerner Koch2002-06-302-2/+11
| | | | | | HAVE_DOSISH_SYSTEM is also set for OS/2 and plain DOS. Provide constant missing in older mingw installations.
* * mk-w32-dist (bindir): Fixes vor VPATH builds in a subdir,Werner Koch2002-06-302-8/+19
| | | | | include gpgv.
* msgmerge'd.Werner Koch2002-06-3018-12051/+15085
|
* automake updated.Werner Koch2002-06-290-0/+0
|
* * configure.ac (development_version): New.Werner Koch2002-06-295-260/+131
| | | | | | | | (HAVE_DEV_RANDOM_IOCTL): Removed test for it; it was never used. * BUGS, AUTHORS: Add a note on how to send security related bug reports.
* * rndlinux.c: Removed HAVE_LINUX_RANDOM_H conditional because itWerner Koch2002-06-292-2/+6
| | | | | | was never used and the configure test did set the wrong macro anyway.
* * argparse.c (optfile_parse): Renamed an auto I to P2 to avoidWerner Koch2002-06-292-6/+11
| | | | | shadowing warning.
* Update head to match stable 1.0David Shaw2002-06-29144-667/+18924
|
* * gpgsm.c: New option --auto-issuer-key-retrieve.Werner Koch2002-06-298-23/+214
| | | | | | | | | | | | | | | | * certpath.c (find_up): Try to retrieve an issuer key from an external source and from the ephemeral key DB. (find_up_store_certs_cb): New. * keydb.c (keydb_set_ephemeral): Does now return the old state. Call the backend only when required. * call-dirmngr.c (start_dirmngr): Use GNUPG_DEFAULT_DIRMNGR. (lookup_status_cb): Issue status only when CTRL is not NULL. (gpgsm_dirmngr_lookup): Document that CTRL is optional. * call-agent.c (start_agent): Use GNUPG_DEFAULT_AGENT.
* * query.c (start_pinentry): Use GNUPG_DERAULT_PINENTRY.Werner Koch2002-06-293-4/+7
| | | | | * call-scd.c (start_scd): Use GNUPG_DEFAULT_SCDAEMON.
* Update head to match stable 1.0David Shaw2002-06-29155-37086/+83373
|
* Update head to match stable 1.0David Shaw2002-06-29154-1318/+29290
|
* Removed files for CVS reorganizationDavid Shaw2002-06-2917-2707/+0
|
* * maperror.c (map_to_assuan_status): Map more errorcodes to BadWerner Koch2002-06-282-0/+11
| | | | | Certificate.
* * server.c (cmd_recipient): Add more reason codes.Werner Koch2002-06-284-3/+17
|
* * protect-tool.c (export_p12_file): New.Werner Koch2002-06-284-15/+492
| | | | | | | (main): New command --p12-export. * minip12.c (create_final,p12_build,compute_tag_length): New. (store_tag_length): New.
* * gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch2002-06-278-24/+71
| | | | | | | | | | | | | * call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
* * Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch2002-06-2713-41/+769
| | | | | | | | | | | | | | | | * findkey.c (agent_write_private_key,agent_key_from_file) (agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant. * gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * protect-tool.c (store_private_key): New. (import_p12_file): Store the new file if requested. (main): New options --force and --store. * gpg-agent.c (main): Set a global flag when runing detached. * query.c (start_pinentry): Pass the list of FD to keep in the child when not running detached. * call-scd.c (start_scd): Ditto.
* * import.c (gpgsm_import): Print an STATUS_IMPORTED.Werner Koch2002-06-263-2/+15
| | | | | * gpgsm.c: --debug-no-path-validation does not take an argument.
* * maperror.c (map_to_assuan_status): Map EOF to No_Data_Available.Werner Koch2002-06-262-0/+7
|
* * assuan-buffer.c (assuan_write_line): Make sure we neverWerner Koch2002-06-262-5/+18
| | | | | accidently print an extra LF.
* * protect-tool.c (rsa_key_check): New.NEWPG-0-3-8Werner Koch2002-06-256-10/+1112
| | | | | | | (import_p12_file): New. (main): New command --p12-import. * minip12.c, minip12.h: New.
* * certdump.c (print_dn_part): Always print a leading slash,Werner Koch2002-06-255-49/+53
| | | | | | | | | | | removed NEED_DELIM arg and changed caller. * export.c (gpgsm_export): Print LFs to FP and not stdout. (print_short_info): Ditto. Make use of gpgsm_print_name. * server.c (cmd_export): Use output-fd instead of data lines; this was actually the specified way.
* * gpgsm.c, gpgsm.h: New option --debug-no-path-validation.Werner Koch2002-06-245-5/+18
| | | | | | | | | * certpath.c (gpgsm_validate_path): Use it here instead of the debug flag hack. * certpath.c (check_cert_policy): Return No_Policy_Match if the policy file could not be opened.
* * certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch2002-06-2012-36/+176
| | | | | | | | | | | | | | | | | | | | | | | certificate with the required key usage. * gpgsm.c (main): Fixed a segv when using --outfile without an argument. * keylist.c (print_capabilities): Also check for non-repudiation and data encipherment. * certlist.c (cert_usage_p): Test for signing and encryption was swapped. Add a case for certification usage, handle non-repudiation and data encipherment. (gpgsm_cert_use_cert_p): New. (gpgsm_add_to_certlist): Added a CTRL argument and changed all callers to pass it. * certpath.c (gpgsm_validate_path): Use it here to print a status message. Added a CTRL argument and changed all callers to pass it. * decrypt.c (gpgsm_decrypt): Print a status message for wrong key usage. * verify.c (gpgsm_verify): Ditto. * keydb.c (classify_user_id): Allow a colon delimited fingerprint.
* * call-agent.c (learn_cb): Use log_info instead of log_error onWerner Koch2002-06-199-8/+78
| | | | | | | | | | | | successful import. * keydb.c (keydb_set_ephemeral): New. (keydb_store_cert): New are ephemeral, changed all callers. * keylist.c (list_external_cb): Store cert as ephemeral. * export.c (gpgsm_export): Kludge to export epehmeral certificates. * gpgsm.c (main): New command --list-external-keys.
* * keybox-init.c (keybox_set_ephemeral): New.Werner Koch2002-06-199-15/+79
| | | | | | | | | | | * keybox-blob.c (create_blob_header): Store epheermal flag. (_keybox_create_x509_blob): Pass epheermal flag on. * keybox-update.c (keybox_insert_cert): Ditto. * keybox-search.c (blob_get_blob_flags): New. (keybox_search): Ignore ephemeral blobs when not in ephemeral mode. * keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
* * certreqgen.c (read_parameters): Improved error handling.Werner Koch2002-06-172-11/+37
| | | | | (gpgsm_genkey): Print error message.
* * agent.h: Add a callback function to the pin_entry_info structure.Werner Koch2002-06-176-79/+118
| | | | | | | | | | | | | | | * query.c (agent_askpin): Use the callback to check for a correct PIN. Removed the start_err_text argument becuase it is not anymore needed; changed callers. * findkey.c (unprotect): Replace our own check loop by a callback. (try_unprotect_cb): New. * genkey.c (reenter_compare_cb): New. (agent_genkey): Use this callback here. Fixed setting of the pi2 variable and a segv in case of an empty PIN. * divert-scd.c (getpin_cb): Removed some unused stuff and explained what we still have to change.
* * card-dinsig.c: Documented some stuff from the DIN norm.Werner Koch2002-06-152-2/+57
|
* Fixed last fix.Werner Koch2002-06-131-4/+0
|
* * gpgsm.c (main): New option --log-file.Werner Koch2002-06-134-26/+54
|
* * call-dirmngr.c (lookup_status_cb): New.Werner Koch2002-06-124-6/+27
| | | | | | (gpgsm_dirmngr_lookup): Use the status CB. Add new arg CTRL and changed caller to pass it.
* * gpgsm.c (open_fwrite): New.Werner Koch2002-06-122-11/+60
| | | | | (main): Allow --output for --verify.
* Various changes.Werner Koch2002-06-125-6/+91
|
* * protect-tool.c: Add command --show-keygripWerner Koch2002-06-123-1/+43
| | | | | (show_keygrip): New.
* * sign.c (hash_and_copy_data): New.Werner Koch2002-06-127-34/+212
| | | | | | | | | | | (gpgsm_sign): Implemented normal (non-detached) signatures. * gpgsm.c (main): Ditto. * certpath.c (gpgsm_validate_path): Special error handling for no policy match. * configure.ac (NEED_LIBKSBA_VERSION): We need 0.4.3 now.
* * gpgsm.c (main): New command --list-sigsNEWPG-0-3-7Werner Koch2002-06-045-5/+480
| | | | | | | * keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New.
* * gpgsm.c (main): Don't print the "go ahead" message for anWerner Koch2002-05-312-1/+6
| | | | | invalid command.
* * import.c (gpgsm_import): Add error messages.Werner Koch2002-05-232-1/+19
|
* * no-pth.c, Makefile.am: Removed.Werner Koch2002-05-2312-162/+416
| | | | | | | | | | | | * call-scd.c: Seirialized all scdaeom access when using Pth. * cache.c: Made the cache Pth-thread-safe. (agent_unlock_cache_entry): New. * findkey.c (unprotect): Unlock the returned cache value. * command.c (cmd_get_passphrase): Ditto. * gpg-agent.c (main): Register pth_read/write with Assuan.
* * assuan-util.c (assuan_set_io_func): New.Werner Koch2002-05-237-35/+97
| | | | | | | | | * assuan-buffer.c (writen, readline): Use the new functions instead of pth. * assuan-socket-server.c (accept_connection): Don't use the pth_accept - using the assuan included accept code would be a bad idea within Pth so we don't need a replacement function.