aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * util.h: Prototype destroy_dotlock(). From Werner on stable branch.David Shaw2004-09-302-0/+6
|
* * http.h: Add auth field for a parsed_uri to allow for basic auth.David Shaw2004-09-102-1/+6
|
* * README: Doc --disable-card-support and --without-readline.Werner Koch2004-09-092-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.
* * photoid.c: Include ttyio.h.Werner Koch2004-09-091-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.
* Renamed prototype parameter name to avoid gcc warnings.Werner Koch2004-04-272-1/+5
|
* * iobuf.h: Remove iobuf_set_block_mode() and iobuf_in_block_mode().David Shaw2004-03-042-4/+6
|
* * util.h: Prototype for hextobyte().David Shaw2004-02-212-2/+6
|
* * cipher.h: Remove the old CIPHER_ALGO_RINJDAEL values. is_ELGAMAL() nowDavid Shaw2004-01-172-9/+11
| | | | | only matches type 16 and not type 20.
* * util.h: Add prototype for print_string2().David Shaw2004-01-162-1/+7
|
* * http.h: Pass the http proxy from outside rather than pulling it from theDavid Shaw2003-12-282-9/+16
| | | | | evironment.
* cleaned up RISC OS code and removed lots of unnecessary stuffStefan Bellon2003-12-282-8/+4
|
* * mpi.h (gcry_mpi, mpi_get_opaque, mpi_set_opaque): Make nbits and theDavid Shaw2003-12-172-3/+6
| | | | | length of an opaque MPI unsigned.
* * cipher.h (pubkey_verify): Remove old unused code.David Shaw2003-12-172-2/+5
|
* * cipher.h: Make cipher list match 2440bis-09.David Shaw2003-12-042-6/+9
|
* * util.h: Add prototype for match_multistr().David Shaw2003-11-212-0/+5
|
* * cipher.h: Add COMPRESS_ALGO_BZIP2.David Shaw2003-10-312-3/+8
|
* * cardglue.c (open_card): Ask for card insertion.Werner Koch2003-10-291-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.
* (tty_print_string, tty_print_utf8_string2)Werner Koch2003-10-081-3/+3
| | | | | (tty_print_utf8_string): Made string arg const.
* 2003-10-04 Timo Schulz <[email protected]>Timo Schulz2003-10-042-4/+8
| | | | | * dynload [WIN32] (dlclose): Do not use CloseHandle but FreeLibrary.
* * keygen.c (do_add_key_flags, parse_parameter_usage): Add supportWerner Koch2003-09-302-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-28 Timo Schulz <[email protected]>Timo Schulz2003-09-283-1/+9
| | | | | | * util.h [WIN32]: Prototype for asprintf. * dynload.h [WIN32]: Define RTLD_LAZY.
* * util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.Werner Koch2003-09-286-0/+90
| | | | | * dynload.h: New. Taken from 1.9.
* First bits of a card support backport from 1.9. It is not enabled byWerner Koch2003-09-272-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.
* * cipher.h: Drop TIGER/192 support.David Shaw2003-09-042-1/+4
|
* * util.h: s/__MINGW32__/_WIN32/ to help building on native WindowsDavid Shaw2003-08-282-2/+8
| | | | | compilers. Requested by Brian Gladman. From Werner on stable branch.
* * types.h: Prefer using uint64_t when creating a 64-bit unsigned type.David Shaw2003-07-103-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).
* * cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit allDavid Shaw2003-05-248-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.
* * types.h: Add initializer macros for 64-bit unsigned type.David Shaw2003-05-142-1/+9
|
* * cipher.h: Add constants for compression algorithms.David Shaw2003-05-032-0/+8
|
* * http.h: Add HTTP_FLAG_TRY_SRV.David Shaw2003-03-112-1/+6
|
* * types.h: Try and use uint64_t for a 64-bit type.David Shaw2003-02-122-0/+11
|
* * cipher.h: Add constants for new SHAs.David Shaw2003-02-042-0/+7
|
* * util.h [__CYGWIN32__]: Don't need the registry prototypes. From WernerDavid Shaw2002-11-132-1/+6
| | | | | on stable branch.
* * ttyio.c (TERMDEVICE): Removed.Werner Koch2002-11-091-0/+1
| | | | | | (tty_get_ttyname): New. (init_ttyfp): Use it here instead of the TERMDEVICE macro.
* * util.h: Add wipememory2() macro (same as wipememory, but can specify theDavid Shaw2002-11-062-1/+7
| | | | | byte to wipe with).
* added RISC OS module loading supportStefan Bellon2002-10-313-8/+152
|
* * util.h: Add wipememory() macro.David Shaw2002-10-312-0/+6
|
* tidied RISC OS filetype supportStefan Bellon2002-10-292-1/+8
|
* filetype support for RISC OSStefan Bellon2002-10-282-0/+7
|
* * distfiles, _regex.h: Add _regex.h from glibc 2.3.1.David Shaw2002-10-193-0/+579
|
* * keyserver.h: Go to KEYSERVER_PROTO_VERSION 1.David Shaw2002-10-142-0/+6
|
* * keyserver.h: Add new error code KEYSERVER_UNREACHABLE.David Shaw2002-10-092-0/+5
|
* * util.h: Add new log_warning logger command which can be switched betweenDavid Shaw2002-10-032-0/+9
| | | | | log_info and log_error via log_set_strict.
* * keyserver.h: Add some new error codes for better GPA support.David Shaw2002-09-242-6/+18
|
* * mpi-bit.c (mpi_normalize): Replaced the check for protected byV1-2-5V1-2-4V1-2-3RC-1-2-5rc2RC-1-2-5rc1RC-1-2-4rc1RC-1-2-3rc2RC-1-2-3rc1Werner Koch2002-09-112-6/+7
| | | | | | | | is_opaque. (mpi_get_nbits): Removed the special case for protected MPIs. * mpicoder.c (do_get_buffer): Likewise. (mpi_print): Removed the nbit_info printing.
* Added prototype.Werner Koch2002-09-101-1/+2
|
* * cipher.h: Add AES aliases for RIJNDAEL algo numbers.David Shaw2002-08-132-3/+10
|
* * cipher.h: Add md_algo_present().David Shaw2002-08-072-0/+5
|
* tidying up RISC OS stuffStefan Bellon2002-08-062-0/+5
|
* RISC OS changes due to dynload removalStefan Bellon2002-08-031-1/+1
|