aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: Add a global variable to for the default error source.Werner Koch2012-02-061-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.
* Changes to --min-cert-level should cause a trustdb rebuild (issue 1366)David Shaw2012-01-201-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.
* Add a flag parameter to dotlock_create.Werner Koch2011-09-281-1/+2
| | | | This allows us to extend this function in the future.
* Renamed the lock functions.Werner Koch2011-09-231-7/+7
| | | | Also cleaned up the dotlock code for easier readability.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-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.
* More agent support for gpg.Werner Koch2010-10-131-0/+18
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-4/+10
| | | | | | A couple of forward ported changes. Doc updates.
* Decryption and signi via agent is now implemented.Werner Koch2010-04-231-2/+2
|
* Re-indent and changed return type.Werner Koch2010-04-211-2/+2
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-0/+7
|
* Generating an OpenPGP key cia gpg-agent basically works.Werner Koch2010-04-201-2/+2
|
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-221-1/+1
| | | | | descriptors.
* s/DOTLOCK/dotlock_t/.Werner Koch2009-09-231-4/+4
| | | | | Add some stuff for g13.
* 2009-08-20 Daiki Ueno <[email protected]>Werner Koch2009-08-201-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.
* Make bug reporting address easier changeable.Werner Koch2009-07-211-2/+2
|
* Make gpgv error message about a missing keyring more useful. This fixesWerner Koch2009-04-031-5/+6
| | | | | Debian#494040. Also implement readonly semantic for extra safety.
* Move password repetition from gpg to gpg-agent.Werner Koch2009-03-171-3/+3
|
* * gpg.c (my_strusage): gpg2 and gpgv2 (not gpg and gpgv).David Shaw2009-03-151-3/+3
| | | | | * gpgv.c (my_strusage): Same.
* * gpgv.c (my_strusage): Fix name of program in "Syntax" line.David Shaw2009-03-151-1/+1
|
* Minor fixes.Werner Koch2008-12-091-1/+1
|
* Print library versions according to GNU standards.Werner Koch2008-11-181-0/+21
|
* Cleaned up unused gpgsm and gpg options.Werner Koch2008-11-131-107/+111
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-58/+174
|
* Translate all file descriptors received from assuan.Werner Koch2007-07-121-1/+1
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* More W32 related changesWerner Koch2007-06-261-0/+1
|
* Fixed a problem in estream-printf.c.Werner Koch2007-06-251-1/+1
| | | | | Changes for Windows (gpgsm -k does now work). Minor cleanups.
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-141-2/+5
| | | | | See the ChangeLogs for details.
* First steps towards supporting W32.Werner Koch2007-06-061-15/+0
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* Various changesWerner Koch2006-10-101-16/+0
|
* Fix for bug 537Werner Koch2006-10-021-3/+3
|
* Various updatesWerner Koch2006-09-211-1/+1
|
* With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch2006-08-161-0/+1
| | | | | shows no prblems. Needs more testing of course.
* Still making gpg2 work.Werner Koch2006-05-241-1/+0
| | | | | At least the keyids are now correctly computed again.
* g10/ does build again.Werner Koch2006-05-231-20/+0
|
* Continued with merging.Werner Koch2006-04-191-10/+8
| | | | | Still does not build.
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-42/+101
| | | | | The gpg part does not yet build.
* * gpg-agent.c (main): Use default_homedir().Werner Koch2004-12-211-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().
* * gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2004-09-301-6/+1
| | | | | | | | | | | | | | | | | | | * kbxutil.c (i18n_init): Always use LC_ALL. * gpgsm.c (i18n_init): Always use LC_ALL. * certdump.c (gpgsm_format_name): Factored code out to .. (gpgsm_format_name2): .. new. (gpgsm_print_name): Factored code out to .. (gpgsm_print_name2): .. new. (print_dn_part): New arg TRANSLATE. Changed all callers. (print_dn_parts): Ditto. (gpgsm_format_keydesc): Do not translate the SUBJECT; we require it to stay UTF-8 but we still want to filter out bad control characters. * gpgconf.c (i18n_init): Always use LC_ALL.
* * configure.ac: Require libgcrypt 1.1.94.Werner Koch2004-04-061-3/+3
| | | | | | | | | | Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
* * gpgv.c: Removed g10defs.h.Werner Koch2004-02-121-2/+1
| | | | | * Makefile.am: Include cmacros.am for common flags.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-231-3/+13
|
* * g10.c: New command --card-edit.Werner Koch2003-09-181-3/+3
| | | | | | | | | | | | * card-util.c (card_status): Use tty_fprintf for all output. (print_sha1_fpr, print_isoname): Ditto. (get_one_name,change_name, change_url, change_login,change_lang) (change_sex): New; taken from keygen.c. * keygen.c (smartcard_get_one_name, smartcard_change_name) (smartcard_change_url, smartcard_change_login_data) (smartcard_change_lang, smartcard_change_sex): Removed. (check_smartcard): Removed most menu items.
* Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch2003-06-271-1/+1
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-181-32/+16
| | | | | | | | | | | to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-06-051-0/+396
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-374/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * 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