aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-06common: Add a global variable to for the default error source.Werner Koch1-0/+1
For the shared code parts it is cumbersome to pass an error sourse variable to each function. Its value is always a constant for a given binary and thus a global variable makes things a lot easier than the former macro stuff. * common/init.c (default_errsource): New global var. (init_common_subsystems): Rename to _init_common_subsystems. Set DEFAULT_ERRSOURCE. * common/init.h: Assert value of GPG_ERR_SOURCE_DEFAULT. (init_common_subsystems): New macro. * common/util.h (default_errsource): Add declaration. * kbx/keybox-defs.h: Add some GPG_ERR_SOURCE_DEFAULT trickery.
2012-01-20Changes to --min-cert-level should cause a trustdb rebuild (issue 1366)David Shaw1-3/+5
* g10/gpgv.c, g10/trustdb.c (read_trust_options): Add min_cert_level * g10/trustdb.c (check_trustdb_stale): Request a rebuild if pending_check_trustdb is true (set when we detect a trustdb parameter has changed). * g10/keylist.c (public_key_list): Use 'l' in the "tru" with-colons listing for min_cert_level not matching. * g10/tdbio.c (tdbio_update_version_record, create_version_record, tdbio_db_matches_options, tdbio_dump_record, tdbio_read_record, tdbio_write_record): Add a byte for min_cert_level in the tdbio version record.
2011-09-28Add a flag parameter to dotlock_create.Werner Koch1-1/+2
This allows us to extend this function in the future.
2011-09-23Renamed the lock functions.Werner Koch1-7/+7
Also cleaned up the dotlock code for easier readability.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-32/+31
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-10-13More agent support for gpg.Werner Koch1-0/+18
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-4/+10
A couple of forward ported changes. Doc updates.
2010-04-23Decryption and signi via agent is now implemented.Werner Koch1-2/+2
2010-04-21Re-indent and changed return type.Werner Koch1-2/+2
2010-04-21More changes on the way to remove secring.gpg.Werner Koch1-0/+7
2010-04-20Generating an OpenPGP key cia gpg-agent basically works.Werner Koch1-2/+2
2010-03-22More chnages to use estream. Add a way to replace the standardWerner Koch1-1/+1
descriptors.
2009-09-23s/DOTLOCK/dotlock_t/.Werner Koch1-4/+4
Add some stuff for g13.
2009-08-202009-08-20 Daiki Ueno <[email protected]>Werner Koch1-0/+8
* mainproc.c (proc_encrypted): Clear passphrase cached with S2K cache ID if decryption failed. * passphrase.c (passphrase_to_dek_ext): Set dek->s2k_cacheid. * gpgv.c (passphrase_clear_cache): New stub.
2009-07-21Make bug reporting address easier changeable.Werner Koch1-2/+2
2009-04-03Make gpgv error message about a missing keyring more useful. This fixesWerner Koch1-5/+6
Debian#494040. Also implement readonly semantic for extra safety.
2009-03-17Move password repetition from gpg to gpg-agent.Werner Koch1-3/+3
2009-03-15* gpg.c (my_strusage): gpg2 and gpgv2 (not gpg and gpgv).David Shaw1-3/+3
* gpgv.c (my_strusage): Same.
2009-03-15* gpgv.c (my_strusage): Fix name of program in "Syntax" line.David Shaw1-1/+1
2008-12-09Minor fixes.Werner Koch1-1/+1
2008-11-18Print library versions according to GNU standards.Werner Koch1-0/+21
2008-11-13Cleaned up unused gpgsm and gpg options.Werner Koch1-107/+111
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-58/+174
2007-07-12Translate all file descriptors received from assuan.Werner Koch1-1/+1
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-0/+1
2007-06-25Fixed a problem in estream-printf.c.Werner Koch1-1/+1
Changes for Windows (gpgsm -k does now work). Minor cleanups.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-2/+5
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-15/+0
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2006-10-10Various changesWerner Koch1-16/+0
2006-10-02Fix for bug 537Werner Koch1-3/+3
2006-09-21Various updatesWerner Koch1-1/+1
2006-08-16With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch1-0/+1
shows no prblems. Needs more testing of course.
2006-05-24Still making gpg2 work.Werner Koch1-1/+0
At least the keyids are now correctly computed again.
2006-05-23g10/ does build again.Werner Koch1-20/+0
2006-04-19Continued with merging.Werner Koch1-10/+8
Still does not build.
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-42/+101
The gpg part does not yet build.
2006-02-24* keydb.h, getkey.c (release_akl), gpg.c (main): AddDavid Shaw1-2/+6
--no-auto-key-locate. * options.h, gpg.c (main): Keep track of each keyserver registered so we can match on them later. * keyserver-internal.h, keyserver.c (cmp_keyserver_spec, keyserver_match), gpgv.c: New. Find a keyserver that matches ours and return its spec. * getkey.c (get_pubkey_byname): Use it here to get the per-keyserver options from an earlier keyserver.
2006-02-22* options.h, keyserver-internal.h, keyserver.c (keyserver_import_name),David Shaw1-1/+4
getkey.c (free_akl, parse_auto_key_locate, get_pubkey_byname): The obvious next step: allow arbitrary keyservers in the auto-key-locate list.
2006-02-21* getkey.c (get_pubkey_byname): Fix minor security problem with PKA whenDavid Shaw1-1/+1
importing at -r time. The URL in the PKA record may point to a key put in by an attacker. Fix is to use the fingerprint from the PKA record as the recipient. This ensures that the PKA record is followed. * keyserver-internal.h, keyserver.c (keyserver_import_pka): Return the fingerprint we requested.
2006-02-21* gpgv.c: Stub keyserver_import_ldap.David Shaw1-0/+3
* keyserver-internal.h, keyserver.c (keyserver_import_ldap): Import using the PGP Universal trick of asking ldap://keys.(maildomain) for the key.
2005-12-23* keyserver.c (keyserver_import_pka): New. Moved fromDavid Shaw1-11/+6
getkey.c:get_pubkey_byname which was getting crowded. * keyserver.c (keyserver_import_cert): Import a key found in DNS via CERT records. Can handle both the PGP (actual key) and IPGP (URL) CERT types. * getkey.c (get_pubkey_byname): Call them both here. * options.h, keyserver.c (parse_keyserver_options): Add "auto-cert-retrieve" option with optional max size argument.
2005-12-23* gpgv.c: Stub.David Shaw1-0/+2
* keyserver-internal.h, keyserver.c (keyserver_spawn, keyserver_work, keygerver_getname): New keyserver_getname function to fetch keys by name. * getkey.c (get_pubkey_byname): Call it here to enable locating keys by full mailbox from a keyserver a la PKA. Try PKA first, though, as it is likely to be faster.
2005-08-05auto retrieve keys from PKA. Thsi allows to specify an email addressWerner Koch1-0/+12
so that gpg can get the key from DNS. This helps with opportunistic encryption. No integration with the trust modell yet.
2005-07-28Implemented PKA trust modelWerner Koch1-0/+7
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch1-1/+2
2005-03-21* gpgv.c: Stubs for tty_enable_completion() & tty_disable_completion().David Shaw1-0/+8
* openfile.c (ask_outfile_name): Enable readline completion when prompting for an output filename. * plaintext.c (ask_for_detached_datafile): Enable readline completion when prompting for a detached sig datafile.
2005-01-20* gpgv.c (tty_fprintf): New stub.Werner Koch1-0/+1
* card-util.c (card_status): Create asecret key stub on the fly and print more information about a card key. * import.c (pub_to_sec_keyblock, auto_create_card_key_stub): New. * getkey.c (get_seckeyblock_byfprint): New. * keylist.c (print_card_key_info): New.
2005-01-20* g10.c (i18n_init) [W32]: Pass registry key to gettextWerner Koch1-10/+5
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-21* gpg-agent.c (main): Use default_homedir().Werner Koch1-9/+2
* protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().