aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * keydb.c (keydb_add_resource): Factored keyring creation out to ..Werner Koch2004-08-131-0/+1
| | | | | | (maybe_create_keyring): .. new. Make sure that we do the checks in a locked state. Problem reported by Stefan Haller.
* * gpgv.c: s/__MINGW32__/_WIN32/ to help building on native WindowsDavid Shaw2003-08-291-1/+1
| | | | | compilers. Requested by Brian Gladman.
* Removed trailing semicolon to avoid error with Norcroft CStefan Bellon2003-07-311-1/+1
|
* * gpgv.c (read_trust_options): Stub.David Shaw2003-07-211-0/+2
|
* * armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,David Shaw2003-05-221-11/+11
| | | | | | | | | getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, hkp.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all 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.
* * g10.c (main): New --gnupg option to disable the various --openpgp,David Shaw2003-05-091-1/+1
| | | | | | | | | | | | | | | | --pgpX, etc. options. This is the same as --no-XXXX for those options. * packet.h, getkey.c (skip_disabled), keylist.c (print_capabilities): New "pk_is_disabled" macro to retrieve the cached disabled value if available, and fill it in via cache_disabled_value if not available. * trustdb.h, gpgv.c (is_disabled), trustdb.c (is_disabled): Rename to cache_disabled_value. Cache the result of the check so we don't need to hit the trustdb more than once. * trustdb.c (get_validity): Cache the disabled value since we have it handy and it might be useful later.
* * keyedit.c (sign_uids): Show keyid of the key making the signature.David Shaw2003-05-071-1/+1
| | | | | | | | | | | * trustdb.h, trustdb.c (is_disabled), keylist.c (print_capabilities), gpgv.c (is_disabled): is_disabled now takes a pk and not just the keyid. This is for speed since there is no need to re-fetch a key when we already have that key handy. * getkey.c (skip_disabled): New function to get a pk and call is_disabled on it. (key_byname): Use it here.
* * passphrase .c (agent_get_passphrase): New arg CANCELED.Werner Koch2003-04-091-2/+4
| | | | | | | | | | | | | | | | (passphrase_to_dek): Ditto. Passed to above. Changed all callers to pass NULL. * seckey-cert.c (do_check): New arg CANCELED. (check_secret_key): Terminate loop when canceled. * keyedit.c (change_passphrase): Pass ERRTEXT untranslated to passphrase_to_dek and translate where appropriate. * seckey-cert.c (check_secret_key): Ditto. * keygen.c (ask_passphrase): Ditto. * passphrase.c (agent_get_passphrase): Translate the TRYAGAIN_TEXT. Switch the codeset to utf-8.
* * trustdb.c (validate_keys): Mask the ownertrust when building the list ofDavid Shaw2003-02-261-0/+1
| | | | | | | | | | | | fully valid keys so that disabled keys are still counted in the web of trust. * gpgv.c (main): Fix bug #113 - gpgv should accept the --ignore-time-conflict option. * g10.c (main): Use 3DES for the s2k cipher in --openpgp mode. Double the amount of secure memory to 32k (keys are getting bigger these days).
* * packet.h, pkclist.c (build_pk_list), free-packet.cDavid Shaw2003-01-091-1/+1
| | | | | | | | | | (release_public_key_parts): Remove unused namehash element for public keys. * trustdb.h, gpgv.c, trustdb.c (get_validity, get_validity_info): Pass a user ID in rather than a namehash, so we only have to do the hashing in one place.
* * keydb.h, getkey.c (key_byname): Flag to enable or disable includingDavid Shaw2002-12-191-0/+7
| | | | | | | | | | | | | | | | | | disabled keys. Keys specified via keyid (i.e. 0x...) are always included. * getkey.c (get_pubkey_byname, get_seckey_byname2, get_seckey_bynames), keyedit.c (keyedit_menu, menu_addrevoker): Include disabled keys in these functions. * pkclist.c (build_pk_list): Do not include disabled keys for -r or the key prompt. Do include disabled keys for the default key and --encrypt-to. * trustdb.h, trustdb.c (is_disabled): New skipfnc for skipping disabled keys. * gpgv.c (is_disabled): Stub.
* * exec.c [__CYGWIN32__]: Keep cygwin separate from Mingw32;Werner Koch2002-10-211-3/+3
| | | | | | | | | | we don't need it here as it behaves more like a Posix system. * passphrase.c (agent_get_passphrase): Ditto. * tdbio.c (MY_O_BINARY): Need binary mode with Cygwin. * g10.c, gpgv.c (main) [__CYGWIN32__]: Don't get the homedir from the registry.
* * g10.c (set_homedir): New. Changed all direct assignments to useWerner Koch2002-09-261-7/+16
| | | | | | this. * gpgv.c (set_homedir): Ditto.
* * g10.c (main): Try to set a default character set. Print theWerner Koch2002-09-021-0/+2
| | | | | | | | | 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.
* Update head to match stable 1.0David Shaw2002-06-291-0/+372