aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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-115-44/+41
| | | | | | | | 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.
* * g10.c, options.h: Removed option --emulate-checksum-bug.Werner Koch2002-09-1110-126/+152
| | | | | | | | | | | | | | | * misc.c (checksum_u16_nobug): Removed. (checksum_u16): Removed the bug emulation. (checksum_mpi): Ditto. (checksum_mpi_counted_nbits): Removed and replaced all calls with checksum_mpi. * parse-packet.c (read_protected_v3_mpi): New. (parse_key): Use it here to store it as an opaque MPI. * seckey-cert.c (do_check): Changed the v3 unprotection to the new why to store these keys. (protect_secret_key): Likewise. * build-packet.c (do_secret_key): And changed the writing.
* * exec.c (expand_args): Remove loop left over from earlier implementation.David Shaw2002-09-102-4/+13
| | | | | (exec_write): Missed one tick.
* typo fixes and new credits.Werner Koch2002-09-103-3/+6
|
* typo fixes and disabled dummy cipherWerner Koch2002-09-102-4/+4
|
* Cleanups and minor fixes.Werner Koch2002-09-1017-64/+121
|
* Added prototype.Werner Koch2002-09-101-1/+2
|
* * gpgkeys_hkp.c (send_key, get_key, search_key): Check returnWerner Koch2002-09-102-12/+40
| | | | | | | | value of malloc. (dehtmlize): Use ascii_tolower to protect against weird locales. Cast the argument for isspace for the sake of broken HP/UXes. (search_key): Check return value of realloc.
* * mpicoder.c (mpi_set_buffer): Cast all left operands of a shiftWerner Koch2002-09-102-7/+13
| | | | | | to a larger type so that 16 bit CPUs don't suffer from an overflow. Suggested by TOGAWA Satoshi.
* * w32reg.c (read_w32_registry_string): Handle REG_EXPAND_SZ.Werner Koch2002-09-104-12/+110
| | | | | | | Suggested by Ryan Malayter. * strgutil.c (ascii_strcasecmp): Replaced by code from gnulib. (ascii_strncasecmp): New.
* * gpgkeys_ldap.c (get_key): Some compilers (RISC OS, HPUX c89) don't likeDavid Shaw2002-09-092-8/+6
| | | | | using variables as array initializers.
* * gpgkeys_hkp.c (send_key): Use CRLF in headers.David Shaw2002-09-092-1/+5
|
* * g10.c (add_group): Use '=' to separate group name from group members.David Shaw2002-09-093-3/+10
| | | | | | | Use a better error message for when no = is found. * hkp.c (hkp_export): Use CRLF in headers.
* * NEWS: typo.David Shaw2002-09-093-5/+13
| | | | | | * configure.ac: Add a link test for LDAP without -lresolv for HPUX. Remove "hstrerror" test as it is no longer needed.
* * gpg-agent.c (create_private_keys_directory)Werner Koch2002-09-092-2/+80
| | | | | | (create_directories): New. (main): Try to create a home directory.
* 2002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2002-09-052-1/+11
| | | | | * gpg-agent.c (main): Use sigaction, not signal.
* 2002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2002-09-052-1/+14
| | | | | | | * vasprintf.c (vasprintf) [va_copy]: Use va_copy. [!va_copy && __va_copy]: Use __va_copy. [!va_copy && !__va_copy]: Only now fall back to using memcpy.
* 2002-09-03 Neal H. Walfield <[email protected]>Neal Walfield2002-09-052-4/+29
| | | | | | | * findkey.c: Include <fcntl.h>. (agent_write_private_key): Prefer POSIX compatibity, open and fdopen, over the simplicity of GNU extensions, fopen(file, "x").
* 2002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2002-09-052-4/+15
| | | | | | * Makefile.am (inittests.stamp): Do not set LD_LIBRARY_PATH, but rather prepend it. Be more robust and prefer printf over echo -n.
* 2002-09-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-09-042-5/+11
| | | | | | | | * asschk.c (start_server): Close the parent's file descriptors in the child. (read_assuan): Variable NREAD removed. Cut off the received line currectly if more than one line was read.
* 2002-09-03 Neal H. Walfield <[email protected]>Neal Walfield2002-09-042-1/+20
| | | | | | * Makefile.am (inittests.stamp): Construct an LD_LIBRARY_PATH from LDFLAGS.
* * mainproc.c (print_pkenc_list): Don't increment the error counter whenDavid Shaw2002-09-042-1/+9
| | | | | | | printing the list of keys a message was encrypted to. This would make gpg give a non-zero exit code even for completely valid messages if the message was encrypted to more than one key that the user owned.
* new test certs and messagesWerner Koch2002-09-034-0/+138
|
* * gpgsm.c (main): Disable the internal libgcrypt locking.Werner Koch2002-09-032-1/+9
|
* * gnupg.7: New mini man page.Werner Koch2002-09-023-21/+12
| | | | | | * README: Removed the note about a development version so that we later don't forget this. Minor other changes.
* * mk-w32-dist: Include more man pages and gpg split. Changed nameWerner Koch2002-09-022-16/+32
| | | | | of ZIP file to better indicate that this is a command line version.
* Moved some items from TODO to NEWS.Werner Koch2002-09-022-6/+5
|
* * g10.c (main): Try to set a default character set. Print theWerner Koch2002-09-026-2/+55
| | | | | | | | | used one in verbosity level 3. * gpgv.c (main): Try to set a default character set. * status.c, status.h (STATUS_IMPORT_OK): New. * import.c (import_one,import_secret_one): Print new status.
* * gpg.sgml: Updated the charset option.Werner Koch2002-09-023-2/+22
| | | | | * DETAILS: Added status IMPORT_OK.
* * strgutil.c (set_native_charset): Allow NULL as argument to useWerner Koch2002-09-022-3/+27
| | | | | nl_langinfo for selection. Mapped latin-15 to latin-1.
* * gnupg.7: New mini man page.Werner Koch2002-09-023-2/+25
|
* * gpg.sgml: Document keyserver-option include-subkeys. Note thatDavid Shaw2002-08-303-1/+19
| | | | | | | honor-http-proxy is a keyserver-option now. * DETAILS: Add "Key not trusted" to INV_RECP status code.
* * pkclist.c (build_pk_list): Add new status code to indicate an untrustedDavid Shaw2002-08-302-1/+7
| | | | | | user. This (or a disabled key) fail with "unavailable pubkey" (G10ERR_UNU_PUBKEY).
* * pkclist.c (build_pk_list): Fail if any recipient keys are unusable.David Shaw2002-08-304-3/+26
| | | | | | | | | * options.skel: The PGP LDAP keyserver is back. Use MIT keyserver as a sample rather than cryptnet as cryptnet does not support searching yet. * keyedit.c (show_key_with_all_names): Fix error message (preferences are userid/selfsig and not key specific).
* * iobuf.c (block_filter): Removed the assert, so that one can passWerner Koch2002-08-302-13/+15
| | | | | | the first character of a message and use the block filter for non partial length encoded packets.
* * configure.ac (random_modules): Reworked the code to select theWerner Koch2002-08-306-79/+93
| | | | | random module. Define USE_ALL_RANDOM_MODULES for value all.
* * pkclist.c (do_we_trust_pre): Changed the wording of a warning.Werner Koch2002-08-307-59/+82
| | | | | | | | | | | | | | | | * encode.c (encode_simple,encode_crypt): Use new style CTB for compressssed packets when using MDC. We need to do this so that concatenated messages are properly decrypted. Old style compression assumes that it is the last packet; given that we can't determine the length in advance, the uncompressor does not know where to start. Actually we should use the new CTB always but this would break PGP 2 compatibility. * parse-packet.c (parse): Special treatment for new style CTB compressed packets. * build-packet.c (do_mdc): Removed. Was not used. (do_encrypted_mdc): Count the version number and the MDC packet.
* * random.c: Automagically detect the entrop gatherer whenWerner Koch2002-08-305-69/+129
| | | | | | | | | configure so. * rndegd.c (rndegd_connect_socket): New. Factored out from .. (rndegd_gather_random): here and call it. (do_read): Update the counter variables correctly. This was not a problem due to the way EGD works. Bug found by Christian Biere.
* * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.David Shaw2002-08-282-6/+5
| | | | | This was probably leftover from earlier code where the typing mattered.
* * sig-check.c (do_check_messages, do_check): Show keyid in error messages.David Shaw2002-08-283-16/+27
| | | | | | * keyserver.c (print_keyinfo): More readable key listings for --search-keys responses.
* * gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent inDavid Shaw2002-08-282-55/+53
| | | | | | m_alloc and malloc usage. Remove include-disabled (meaningless on HKP). RISC OS tweak.
* * gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.David Shaw2002-08-273-369/+257
|
* * configure.ac: Check type of mode_t.David Shaw2002-08-272-0/+3
|
* * gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings.David Shaw2002-08-272-3/+5
|
* * NEWS: Clarify that --libexecdir is a configure option.David Shaw2002-08-273-3/+9
| | | | | * configure.ac: Check for hstrerror.
* * gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include aDavid Shaw2002-08-272-0/+39
| | | | | | replacement for hstrerror() for those platforms (such as RISC OS) that don't have it.
* * Makefile.am: May as well include gpgkeys_hkp.c in the distribution now.David Shaw2002-08-262-3/+5
| | | | | | It works well enough without proxies, and isn't built by default. It would be good to get some test experience with it.
* * gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn'tDavid Shaw2002-08-262-4/+10
| | | | | unsupported, it's actually non-meaningful in the context of HKP (yet).
* * gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality intoDavid Shaw2002-08-262-73/+104
| | | | | | | new "dehtmlize" function. Remove HTML before trying to parse each line from the keyserver. If the keyserver provides key type information in the listing, use it. (Copy over from g10/hkp.c).
* * hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into newDavid Shaw2002-08-262-78/+103
| | | | | | | "dehtmlize" function. Remove HTML before trying to parse each line from the keyserver. If the keyserver provides key type information in the listing, use it.