aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * g10.c (main), keydb.c (keydb_add_resource, keydb_locate_writable):David Shaw2002-11-253-10/+16
| | | | | | Rename --default-keyring as --primary-keyring. Stefan wins the naming contest.
* * g10.c (add_notation_data): Disallow notation names that do not contain aDavid Shaw2002-11-244-8/+37
| | | | | | | | | | | '@', unless --expert is set. This is to help prevent people from polluting the (as yet unused) IETF namespace. * main.h: Comments about default algorithms. * photoid.c (image_type_to_string): Comments about 3-letter file extensions.
* * encode.c (encode_simple), passphrase.c (passphrase_to_dek), sign.cDavid Shaw2002-11-244-8/+9
| | | | | | (sign_symencrypt_file): Use --s2k-digest-algo for passphrase mangling rather than --digest-algo.
* * gpg.sgml: Add an interoperability section.David Shaw2002-11-222-1/+28
|
* * keygen.c (keygen_set_std_prefs): Properly handle an empty preferenceDavid Shaw2002-11-213-30/+40
| | | | | | | | string. * misc.c (string_to_compress_algo): "none" is a bad choice since it conflicts with the "none" in setpref.
* * gpgkeys_ldap.c (main), gpgkeys_hkp.c (main): Use new keyserver protocolDavid Shaw2002-11-183-2/+7
| | | | | version.
* * gpg.sgml: Correct defaults for --s2k-mode and --s2k-digest-mode. NotedDavid Shaw2002-11-172-10/+13
| | | | | by Haakon Riiser.
* * config.links: Use OpenBSD/NetBSD powerpc assembler code for Darwin.David Shaw2002-11-162-2/+7
| | | | | Successfully tested by Gordon Worley.
* * gpg.sgml: --compress-algo now allows algorithm names.David Shaw2002-11-153-27/+65
| | | | | | | | * gpg.sgml: Document --trust-model. * README.W32: Add blurb on how to create a ZIP file, changed requirement for mingw32 to 0.3.2.
* * g10.c (main): Allow compression algorithm names as the argument toDavid Shaw2002-11-153-4/+43
| | | | | | | | | --compress-algo. The old algorithm names still work for backwards compatibility. * misc.c (string_to_compress_algo): Allow "none" as an alias for "uncompressed".
* * gpgkeys_ldap.c (get_key): The deduping code requires "pgpcertid", butDavid Shaw2002-11-142-2/+11
| | | | | that was not available when running without verbose on. Noted by Stefan.
* fixed type incompatibilityStefan Bellon2002-11-132-1/+6
|
* * encode.c (encode_simple): Make sure that files larger than about 4G useDavid Shaw2002-11-136-27/+102
| | | | | | | | | | | | | | | | | | | partial length encoding. This is required because OpenPGP allows only for 32 bit length fields. From Werner on stable branch. * getkey.c (get_pubkey_direct): Renamed to... (get_pubkey_fast): this and made extern. (get_pubkey_byfprint_fast): New. From Werner on stable branch. * keydb.h, import.c (import_one): Use get_pubkey_fast instead of get_pubkey. We don't need a merged key and actually this might lead to recursions. (revocation_present): Likewise for search by fingerprint. From Werner on stable branch. * g10.c (main): Try to create the trustdb even for non-colon-mode list-key operations. This is required because getkey needs to know whether a a key is ultimately trusted. From Werner on stable branch.
* * exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32; we don't needDavid Shaw2002-11-136-15/+28
| | | | | | | | | | | | | | | it here as it behaves more like a Posix system. From Werner on stable branch. * passphrase.c (agent_get_passphrase): Ditto. From Werner on stable branch. * tdbio.c (MY_O_BINARY): Need binary mode with Cygwin. From Werner on stable branch. * g10.c, gpgv.c (main) [__CYGWIN32__]: Don't get the homedir from the registry. From Werner on stable branch.
* * mk-w32-dist: Don't use iconv for pl.po. From Werner on stable branch.David Shaw2002-11-132-2/+14
| | | | | * mk-w32-dist: Include gpgkeys_ldap and gpgkeys_hkp.
* * util.h [__CYGWIN32__]: Don't need the registry prototypes. From WernerDavid Shaw2002-11-132-1/+6
| | | | | on stable branch.
* * THANKS: Changes from stable branch.David Shaw2002-11-135-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for ctermid(). From Werner on stable branch. * configure.ac (GPGKEYS_LDAP,GPGKEYS_HKP): Add $EXEEXT. From Werner on stable branch. * configure.ac (try_gettext): Remove special case for cygwin. This removes all the DOS specific macros and let Cygwin work like a real OS. Needs a couple of changes elsewhere but after all, GnuPG presents itself much more like a Posix program and can be used in a full Cygwin environment; e.g. used along with mutt. Changes suggested by Volker Quetschke. From Werner on stable branch. * acinclude.m4 (GNUPG_SYS_NM_PARSE): Allow for underscore in test symbols. Useful for Cygwin builds. (GNUPG_SYS_SYMBOL_UNDERSCORE): Don't hardwire to yes for Cygwin. From Werner on stable branch. * README: Add an installation note for Darwin 6.1. From Werner on stable branch.
* * secmem.c (lock_pool) [__CYGWIN__]: Don't print secmem warning. FromDavid Shaw2002-11-132-1/+6
| | | | | Werner on stable branch.
* * keyedit.c (show_key_with_all_names_colon): Make --with-colons --editDavid Shaw2002-11-135-41/+90
| | | | | | | | | | | | | | | | display match the validity and trust of --with-colons --list-keys. * passphrase.c (agent_send_all_options): Fix compile warning. * keylist.c (list_keyblock_colon): Validity for subkeys should match that of the primary key, and not that of the last user ID. * getkey.c (merge_selfsigs): Revoked/expired/invalid primary keys carry these facts onto all their subkeys, but only after the subkey has a chance to be marked valid. This is to fix an incorrect "invalid public key" error verifying a signature made by a revoked signing subkey, with a valid unrevoked primary key.
* * config.sub, config.guess: Updated from ftp.gnu.org/gnu/configWerner Koch2002-11-123-249/+363
| | | | | to version 2002-11-08.
* Post release version number bump.Werner Koch2002-11-122-1/+5
|
* Preparing 1.3.1 release.V1-3-1Werner Koch2002-11-124-665/+765
|
* * gpgkeys_ldap.c (get_key): Fix typo in deduping code.David Shaw2002-11-102-1/+5
|
* * ttyio.c (TERMDEVICE): Removed.Werner Koch2002-11-093-14/+47
| | | | | | (tty_get_ttyname): New. (init_ttyfp): Use it here instead of the TERMDEVICE macro.
* * passphrase.c (agent_send_all_options): Use tty_get_ttyname toWerner Koch2002-11-092-2/+7
| | | | | get the default ttyname.
* Fixed copyright yearWerner Koch2002-11-091-1/+1
|
* * keyring.h, keyring.c (keyring_register_filename): Return the pointer ifDavid Shaw2002-11-086-29/+89
| | | | | | | | | | a given keyring is registered twice. * keydb.h, keydb.c (keydb_add_resource): Use flags to indicate a default keyring. (keydb_locate_writable): Prefer the default keyring if possible. * g10.c (main): Add --default-keyring option.
* * options.h, g10.c (main), trustdb.c (ask_ownertrust): AddDavid Shaw2002-11-074-6/+35
| | | | | | | | --force-ownertrust option for debugging purposes. This allows setting a whole keyring to a given trust during an --update-trustdb. Not for normal use - it's just easier than hitting "4" all the time to test a large trustdb.
* * w32reg.c (read_w32_registry_string): Fixed expanding of the environmentDavid Shaw2002-11-065-12/+31
| | | | | | | | | | | | | | buffer; didn't worked at all. Reported by Thijmen Klok. From Werner on stable branch. * secmem.c (secmem_free, secmem_term): Use wipememory2() instead of memset() to overwrite secure memory * iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available. From Werner on stable branch. * fileutil.c: Comment from stable branch.
* * util.h: Add wipememory2() macro (same as wipememory, but can specify theDavid Shaw2002-11-062-1/+7
| | | | | byte to wipe with).
* * rndw32.c [__CYGWIN32__]: Don't include winioctl.h - it is not requiredDavid Shaw2002-11-0614-25/+41
| | | | | | | | | | | | | | | anymore. (From Werner) * random.c (read_seed_file,update_random_seed_file): Use binary mode for __CYGWIN__. (From Werner) * blowfish.c (burn_stack), cast5.c (burn_stack), des.c (burn_stack), md5.c (burn_stack), random.c (burn_stack, read_pool, fast_random_poll), rijndael.c (burn_stack), rmd160.c (burn_stack), rndegd.c (rndegd_gather_random), rndlinux.c (rndlinux_gather_random), sha1.c (burn_stack), tiger.c (burn_stack), twofish.c (burn_stack): Replace various calls to memset() with the more secure wipememory().
* * pubkey-enc.c (get_session_key): With hidden recipients or try a givenDavid Shaw2002-11-066-13/+57
| | | | | | | | | | | | | | | passphrase against all secret keys rather than trying all secret keys in turn. Don't if --try-all-secrets or --status-fd is enabled. * passphrase.c (passphrase_to_dek): Mode 1 means do a regular passphrase query, but don't prompt with the key info. * seckey-cert.c (do_check, check_secret_key): A negative ask count means to enable passphrase mode 1. * keydb.h, getkey.c (enum_secret_keys): Add flag to include secret-parts-missing keys (or not) in the list.
* * gpgkeys_ldap.c (key_in_keylist, add_key_to_keylist, free_keylist,David Shaw2002-11-052-198/+292
| | | | | | | get_key, search_key): The LDAP keyserver doesn't remove duplicates, so remove them locally. Do not include the key modification time in the search response.
* * keyserver.c (keyserver_search_prompt): When --with-colons is enabled,David Shaw2002-11-052-8/+16
| | | | | | don't try and fit the search output to the screen size - just dump the whole list.
* * keyserver.c (keyserver_search_prompt): When --with-colons is enabled,David Shaw2002-11-052-3/+27
| | | | | just dump the raw keyserver protocol to stdout and don't print the menu.
* * KEYSERVER: New. Documents the --with-colons format for keyserverDavid Shaw2002-11-053-3/+94
| | | | | | | listings. * DETAILS: Clarify meaning of 'u'. Noted by Timo.
* * trustdb.c (trust_model_string, check_trustdb, update_trustdb,David Shaw2002-11-042-23/+54
| | | | | | | validate_one_keyblock): It's not clear what a trustdb rebuild or check means with a trust model other than "classic" or "openpgp", so disallow this.
* * gpgkeys_hkp.c (send_key), gpgkeys_ldap.c (send_key): Properly handle anDavid Shaw2002-11-043-16/+21
| | | | | input file that does not include any key data at all.
* * options.h, g10.c (main): Add --trust-model option. Current models areDavid Shaw2002-11-037-16/+45
| | | | | | | | | | | | | | "openpgp" which is classic+trustsigs, "classic" which is classic only, and "always" which is the same as the current option --always-trust (which still works). Default is "openpgp". * trustdb.c (validate_one_keyblock): Use "openpgp" trust model to enable trust sigs. * gpgv.c (main), mainproc.c (check_sig_and_print), pkclist.c (do_we_trust, do_we_trust_pre, check_signatures_trust): Use new --trust-model option in place of --always-trust.
* * gpg.sgml: Document "tsign", clarify "setpref", clarify --recipient,David Shaw2002-11-032-8/+50
| | | | | | document --hidden-recipient, document --hidden-encrypt-to, clarify --no-encrypt-to, clarify --throw-keyid, document --no-throw-keyid.
* * NEWS: Note trust signature support,David Shaw2002-11-032-0/+31
| | | | | | --hidden-encrypt-to/--hidden-recipient, and long algorithm name support everywhere.
* * keyedit.c (sign_mk_attrib, trustsig_prompt, sign_uids, keyedit_menu):David Shaw2002-11-034-39/+191
| | | | | | | | | | | Prompt for and create a trust signature with "tsign". This is functional, but needs better UI text. * build-packet.c (build_sig_subpkt): Able to build trust and regexp subpackets. * pkclist.c (do_edit_ownertrust): Comment.
* * keygen.c (set_one_pref, keygen_set_std_prefs): Allow using the fullDavid Shaw2002-11-035-85/+130
| | | | | | | | | | | algorithm name (CAST5, SHA1) rather than the short form (S3, H2). * main.h, keygen.c (keygen_get_std_prefs), keyedit.c (keyedit_menu): Return and use a fake uid packet rather than a string since we already have a nice parser/printer in keyedit.c:show_prefs. * main.h, misc.c (string_to_compress_algo): New.
* * cipher.c (string_to_cipher_algo), md.c (string_to_digest_algo): AllowDavid Shaw2002-11-023-8/+33
| | | | | the Sxxx and Hxxx format for cipher and digest names.
* * g10.c (main): Add --no-throw-keyid.David Shaw2002-11-016-12/+69
| | | | | | | | | | * keydb.h, encode.c (write_pubkey_enc_from_list), g10.c (main), pkclist.c (build_pk_list): Add --hidden-recipient (-R) and --hidden-encrypt-to, which do a single-user variation on --throw-keyid. The "hide this key" flag is carried in bit 0 of the pk_list flags field. * keyserver.c (parse_keyrec): Fix shadowing warning.
* * Makefile.am: Put gnupg.spec in the root directory so rpm -ta works.David Shaw2002-10-312-1/+4
|
* * gnupg.spec.in: Update source ftp path.David Shaw2002-10-312-2/+6
|
* added RISC OS module loading supportStefan Bellon2002-10-3119-133/+395
|
* * build-packet.c (do_plaintext), encode.c (encode_sesskey, encode_simple,David Shaw2002-10-314-5/+12
| | | | | | | encode_crypt), sign.c (write_plaintext_packet): Use wipememory() instead of memset() to wipe sensitive memory as the memset() might be optimized away.
* * util.h: Add wipememory() macro.David Shaw2002-10-312-0/+6
|