aboutsummaryrefslogtreecommitdiffstats
path: root/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-02-14Security fixV1-4-2Werner Koch1-0/+1
2005-06-23* http.h: Fix prototypes for http_open_document and http_open again,David Shaw2-7/+12
to handle the new different auth for regular files and proxies.
2005-06-22* http.h: Fix prototypes for http_open_document and http_open to passDavid Shaw2-4/+11
in auth and proxyauth.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch16-16/+31
2005-05-21* cardglue.c (send_status_info): Make CTRL optional.Werner Koch2-1/+24
(agent_scd_writekey, inq_writekey_parms): New. (agent_openpgp_storekey): Removed. * cardglue.h: Add a few more error code mappings. * keygen.c (copy_mpi): Removed. (save_unprotected_key_to_card): Changed to use agent_scd_writekey. * app-common.h, app-openpgp.c, tlv.c, tlv.h: Updated from newer version in gnupg 1.9 CVS.
2005-05-05Remove add_days_to_timestamp (unused)David Shaw2-1/+4
2005-04-22* distfiles: Add assuan.h.David Shaw2-0/+5
2005-04-05Changes to make use of code taken from libassuan. This replaces theWerner Koch3-4/+273
old ad-hoc connection code to gpg-agent. We do need this for the forthcoming diversion of card code to an already running gpg-agent with card-support.
2005-03-18* ttyio.c (tty_enable_completion, tty_disable_completion): Enable andDavid Shaw2-1/+21
disable readline completion. (init_ttyfp): Completion is disabled by default.
2005-03-14* card-util.c (card_status): Use isotimestamp and not theWerner Koch1-0/+1
localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
2005-02-10Disable the "quick check" bytes for PK decryptions. This is inDavid Shaw2-8/+14
regards to the Mister and Zuccherato attack on OpenPGP CFB mode.
2005-01-20* g10.c (i18n_init) [W32]: Pass registry key to gettextWerner Koch1-1/+1
initialization. * gpgv.c (i18n_init) [W32]: Ditto. * simple-gettext.c (set_gettext_file): Use MO files depending on the installation directory. Add new arg REGKEY.
2004-12-16* g10.c (main): Add --require-secmem/--no-require-secmem to cause gpg toDavid Shaw2-1/+5
exit if it cannot lock memory. Also remove --nrsign-key and --nrlsign-key since this can better be done via --edit-key. * secmem.c (secmem_init): Return a flag to indicate whether we got the lock. * memory.h: Return a flag to indicate whether we got the lock.
2004-11-29* cipher.h: Add PUBKEY_USAGE_UNKNOWN.David Shaw2-0/+5
2004-11-032004-11-03 Timo Schulz <[email protected]>Timo Schulz3-4/+11
* strgutil.c (w32_strerror): New. * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here. * iobuf.c (fd_cache_open, file_filter): Likewise. (iobuf_seek, translate_file_handle): Likewise.
2004-10-27* dynload.h: Always use it for _WIN32.Werner Koch2-3/+7
* LINGUAS: Better don't have comments in this file. * mk-w32-dist: Use utf-8 encoding for all MO files. * simple-gettext.c: Removed windows.h. (get_string): On the fly translation from utf-8 to active character set. * strgutil.c (load_libiconv) [_WIN32]: new. (set_native_charset) [_WIN32]: Call it here and autodetect the used code page. (native_to_utf8, utf8_to_native): Reverted arguments for iconv_open. (handle_iconv_error): Made this function match iconv_open argumnet ordering. (utf8_to_native): Disable all quoting for DELIM == -1.
2004-10-21* configure.ac: Remove the check for asprintfWerner Koch2-9/+4
* app-common.h (app_openpgp_storekey: Add prototype. * app-openpgp.c (do_sign): Replace asprintf by direct allocation. This avoids problems with missing vasprintf implementations. * card-util.c (generate_card_keys): Add a #warning for gnupg 1.9 and use the same string there. * util.h [!HAVE_VASPRINTF]: Removed prototype. * vasprintf.c: Removed. It was used only at one place and I don't want to get into build problems in 1.4.
2004-10-15Add asprintf prototype.Werner Koch2-0/+17
2004-10-13* keyserver.h: Add KEYSERVER_TIMEOUT.David Shaw2-1/+6
2004-10-13Added SELInux hacks and did some cleanups.Werner Koch2-16/+1
2004-10-13* configure.ac: Actually name the option --disable-finger and notWerner Koch1-0/+1
http. * openfile.c (overwrite_filep, make_outfile_name, open_outfile) (open_sigfile): Use iobuf_is_pipe_filename to check for pipes so that special filesnames are taken into account. This is bug 327. * tdbdump.c (import_ownertrust): Ditto. * sign.c (write_plaintext_packet): Ditto. * progress.c (handle_progress): Ditto. * plaintext.c (handle_plaintext): Ditto. * encode.c (encode_simple, encode_crypt): Ditto. * iobuf.c (iobuf_is_pipe_filename): New. * fileutil.c (is_file_compressed): Use it here.
2004-09-30* util.h: Prototype destroy_dotlock(). From Werner on stable branch.David Shaw2-0/+6
2004-09-10* http.h: Add auth field for a parsed_uri to allow for basic auth.David Shaw2-1/+6
2004-09-09* README: Doc --disable-card-support and --without-readline.Werner Koch2-1/+6
* configure.ac: Check for readline. Make enable-card-support the default. New option --without-readline. Allow the use of either the development or the stable libusb. * cardglue.h: Add members for CA fingerprints. * cardglue.c (agent_release_card_info): Invalid them. (learn_status_cb): Store them. * app-common.h, app-openpgp.c, iso7816.c, iso7816.h * apdu.c, apdu.h, ccid-driver.c, ccid-driver.h * card-util.c: Updated from current gnupg-1.9. * ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New. * ccid-driver.c (ccid_open_reader): Support the stable 0.1 version of libusb. (ccid_get_atr): Handle short messages. * apdu.c (my_rapdu_get_status): Implemented. * apdu.c: Include <signal.h>. * apdu.c (reader_table_s): Add function pointers for the backends. (apdu_close_reader, apdu_get_status, apdu_activate) (send_apdu): Make use of them. (new_reader_slot): Intialize them to NULL. (dump_ccid_reader_status, ct_dump_reader_status): New. (dump_pcsc_reader_status): New. (open_ct_reader, open_pcsc_reader, open_ccid_reader) (open_osc_reader, open_rapdu_reader): Intialize function pointers. (ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu) (error_string): Removed. Replaced by apdu_strerror. (get_ccid_error_string): Removed. (ct_activate_card): Remove the unused loop. (reset_ct_reader): Implemented. (ct_send_apdu): Activate the card if not yet done. (pcsc_send_apdu): Ditto. * ccid-driver.h: Add error codes. * ccid-driver.c: Implement more or less proper error codes all over the place. * apdu.c (apdu_send_direct): New. (get_ccid_error_string): Add some error code mappings. (send_apdu): Pass error codes along for drivers already supporting them. (host_sw_string): New. (get_ccid_error_string): Use above. (send_apdu_ccid): Reset the reader if it has not yet been done. (open_ccid_reader): Don't care if the ATR can't be read. (apdu_activate_card): New. (apdu_strerror): New. (dump_reader_status): Only enable it with opt.VERBOSE. * iso7816.c (map_sw): Add mappings for the new error codes. * apdu.c (open_ct_reader, open_pcsc_reader, open_ccid_reader) (reset_ccid_reader, open_osc_reader): Call dump_reader_status only in verbose mode. * app-openpgp.c (do_getattr): Fix for sending CA-FPR. * app-openpgp.c (app_openpgp_readkey): Fixed check for valid exponent. * app-openpgp.c (do_setattr): Sync FORCE_CHV1. * card-util.c (change_login): Kludge to allow reading data from a file. (card_edit): Pass ARG_STRING to change_login. (card_status): Print CA fingerprints. (change_cafpr): New. (card_edit): New command CAFPR. * errors.h (G10ERR_NO_CARD, G10ERR_CANCELED): New error codes. * errors.c (g10_errstr): New error codes G10ERR_NO_CARD, G10ERR_CANCELED.
2004-09-09* photoid.c: Include ttyio.h.Werner Koch1-1/+2
* parse-packet.c (skip_rest): Removed. Changed all callers to use the new iobuf_skip_reset. Orginal patch by Florian Weimer. * iobuf.c (iobuf_skip_rest): New. Orginal patch by Florian Weimer. Added new argument PARTIAL.
2004-04-27Renamed prototype parameter name to avoid gcc warnings.Werner Koch2-1/+5
2004-03-04* iobuf.h: Remove iobuf_set_block_mode() and iobuf_in_block_mode().David Shaw2-4/+6
2004-02-21* util.h: Prototype for hextobyte().David Shaw2-2/+6
2004-01-17* cipher.h: Remove the old CIPHER_ALGO_RINJDAEL values. is_ELGAMAL() nowDavid Shaw2-9/+11
only matches type 16 and not type 20.
2004-01-16* util.h: Add prototype for print_string2().David Shaw2-1/+7
2003-12-28* http.h: Pass the http proxy from outside rather than pulling it from theDavid Shaw2-9/+16
evironment.
2003-12-28cleaned up RISC OS code and removed lots of unnecessary stuffStefan Bellon2-8/+4
2003-12-17* mpi.h (gcry_mpi, mpi_get_opaque, mpi_set_opaque): Make nbits and theDavid Shaw2-3/+6
length of an opaque MPI unsigned.
2003-12-17* cipher.h (pubkey_verify): Remove old unused code.David Shaw2-2/+5
2003-12-04* cipher.h: Make cipher list match 2440bis-09.David Shaw2-6/+9
2003-11-21* util.h: Add prototype for match_multistr().David Shaw2-0/+5
2003-10-31* cipher.h: Add COMPRESS_ALGO_BZIP2.David Shaw2-3/+8
2003-10-29* cardglue.c (open_card): Ask for card insertion.Werner Koch1-0/+1
(check_card_serialno): New. (agent_scd_pksign, agent_scd_pkdecrypt): Use it here. * cardglue.c (open_card): Issue insertion status message. * status.h, status.c (STATUS_CARDCTRL): New. * status.c (cpr_get_answer_okay_cancel): New. * miscutil.c (answer_is_okay_cancel): New.
2003-10-08(tty_print_string, tty_print_utf8_string2)Werner Koch1-3/+3
(tty_print_utf8_string): Made string arg const.
2003-10-042003-10-04 Timo Schulz <[email protected]>Timo Schulz2-4/+8
* dynload [WIN32] (dlclose): Do not use CloseHandle but FreeLibrary.
2003-09-30* keygen.c (do_add_key_flags, parse_parameter_usage): Add supportWerner Koch2-0/+5
the proposed AUTH key flag. * getkey.c (fixup_uidnode, merge_selfsigs_main) (merge_selfsigs_subkey, premerge_public_with_secret): Ditto. * keylist.c (print_capabilities): Ditto. * parse-packet.c (parse_key): Allow to parse the divert-to-card S2K mode. * build-packet.c (do_secret_key): Handle divert-to-card S2K * seckey-cert.c (is_secret_key_protected): Ditto. (check_secret_key): Ditto. * keygen.c (do_ask_passphrase): Renamed from ask_passphrase. * passphrase.c (ask_passphrase): New.
2003-09-282003-09-28 Timo Schulz <[email protected]>Timo Schulz3-1/+9
* util.h [WIN32]: Prototype for asprintf. * dynload.h [WIN32]: Define RTLD_LAZY.
2003-09-28* util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.Werner Koch6-0/+90
* dynload.h: New. Taken from 1.9.
2003-09-27First bits of a card support backport from 1.9. It is not enabled byWerner Koch2-0/+13
default and tehre is not yet much more than a new configure option. * configure.ac (LIBUSB_LIBS,HAVE_LIBUSB): Check for Libusb. (--enable-card-support): New. * sign.c (do_sign) [ENABLE_CARD_SUPPORT]: Divert to card. * cardglue.c, cardglue.h: New. * Makefile.am (gpg_LDADD): Added. (card_support_sources): New. * memory.h (xmalloc): Define xmalloc macros in terms of m_alloc.
2003-09-04* cipher.h: Drop TIGER/192 support.David Shaw2-1/+4
2003-08-28* util.h: s/__MINGW32__/_WIN32/ to help building on native WindowsDavid Shaw2-2/+8
compilers. Requested by Brian Gladman. From Werner on stable branch.
2003-07-10* types.h: Prefer using uint64_t when creating a 64-bit unsigned type.David Shaw3-5/+27
This avoids a warning on compilers that support but complain about unsigned long long. * util.h (ascii_isspace): New variation on isspace() that is immune from locale changes. * util.h: Make sure that only ascii is passed to isfoo functions. (From Werner on stable branch).
2003-05-24* cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit allDavid Shaw8-137/+139
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-14* types.h: Add initializer macros for 64-bit unsigned type.David Shaw2-1/+9
2003-05-03* cipher.h: Add constants for compression algorithms.David Shaw2-0/+8