aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure HOME et al have no unsafe characters.Werner Koch2011-11-294-1/+45
|
* Add build script to build all components in one run.Werner Koch2011-11-282-0/+54
| | | | | | | | Run this script in the parent directory of the working copies. It does a VPATH build in ~/tmp/gpg-tmp/b in the right order and installs everything below ~/tmp/gpg-tmp/. Based on a script by Jim Meyering.
* accept --with-libgpg-error-prefix as well as --with-gpg-error-prefixJim Meyering2011-11-282-2/+17
| | | | * m4/gpg-error.m4: Update from git master.
* Improve ssh card key diagnostic message.Werner Koch2011-11-282-2/+10
| | | | | | | * command-ssh.c (card_key_available): Change wording of no key diagnostic. (ssh_handler_request_identities): Do not call card_key_available if the scdaemon is disabled.
* PC/SC pinpad support.NIIBE Yutaka2011-11-289-25/+460
| | | | | | | | | | | | | | | | | | | | | | | | Before this change, it is layered like following: iso7816_verify iso7816_verify_kp apdu_send_simple, apdu_send_simple_kp ... After this change, it will be layered like: iso7816_verify iso7816_verify_kp apdu_send_simple apdu_keypad_verify ... and apdu_send_simple_kp will be deprecated. For PC/SC API, we use: SCardControl API to compose CCID PC_to_RDR_Secure message SCardTransmit API to compose CCID PC_to_RDR_XfrBlock message Considering the support of PC/SC, we have nothing to share between _kp version of iso7816_* and no _kp version.
* Merge branch 'master' of git+ssh://playfair.gnupg.org/git/gnupgWerner Koch2011-11-240-0/+0
|\
| * Make HKP kyeserver engine work again.Werner Koch2011-11-246-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | We had some debug code here which prevented it from working. The host selection code still needs a review! * ks-engine-http.c (ks_http_help): Do not print help for hkp. * ks-engine-hkp.c (ks_hkp_help): Print help only for hkp. (send_request): Remove test code. (map_host): Use xtrymalloc. * certcache.c (classify_pattern): Remove unused variable and make explicit substring search work.
* | Make HKP keyserver engine work again.Werner Koch2011-11-246-11/+20
|/ | | | | | | | | | | | | We had some debug code here which prevented it from working. The host selection code still needs a review! * ks-engine-http.c (ks_http_help): Do not print help for hkp. * ks-engine-hkp.c (ks_hkp_help): Print help only for hkp. (send_request): Remove test code. (map_host): Use xtrymalloc. * certcache.c (classify_pattern): Remove unused variable and make explicit substring search work.
* Updated the German translation.Werner Koch2011-11-241-27/+29
| | | | * po/de.po: Update.
* Don't print anonymous recipient messages in quiet mode.Werner Koch2011-11-222-3/+10
| | | | This is bug#1378.
* Allow creating subkeys using an existing keyWerner Koch2011-11-068-63/+246
| | | | | | This works by specifying the keygrip instead of an algorithm (section number 13) and requires that the option -expert has been used. It will be easy to extend this to the primary key.
* typo fixesWerner Koch2011-11-021-2/+2
|
* Allow distribution of dotlock.* also under a modified BSD licenseWerner Koch2011-10-243-0/+77
|
* Typo fix and remove of some colloquial termsWerner Koch2011-10-181-15/+16
|
* Put more options into the options indexWerner Koch2011-10-125-676/+833
| | | | Also removed the single letter options from the index.
* Extend yat2m to allow indented tables.Werner Koch2011-10-122-35/+72
| | | | | | Current makeinfo versions allow to indent the texinfo source. However yat2m had no support for this. With this patch it is now possible to use a simple indentation style while keeping man pages readable.
* Change JNLIB license to LGPLv3+ or GPLv2+.Werner Koch2011-09-3030-205/+527
| | | | This is to allow the use of this code with code under GPLv2(only).
* Add prefix macro for dotlock functions.Werner Koch2011-09-303-8/+45
| | | | Also fixed a type in the GLIB version.
* Add dotlock_get_fd and dotlock_set_fd.Werner Koch2011-09-293-2/+37
|
* Make dotlock.c thread-safe on pthread systems.Werner Koch2011-09-292-25/+81
| | | | This is achieved by passing the define DOTLOCK_USE_PTHREAD.
* Add a flag parameter to dotlock_create.Werner Koch2011-09-2815-24/+37
| | | | This allows us to extend this function in the future.
* Allow arbitrary timeouts with dotlock.Werner Koch2011-09-282-37/+87
|
* Improved the dotlock module.Werner Koch2011-09-274-43/+529
| | | | | | | - It is now more portable and may be used outside of GnuPG - vfat file systems are now supported. - The use of link(2) is more robust. - Wrote extensive documentation.
* Remove check for gcry_kdf_deriveWerner Koch2011-09-272-24/+13
| | | | | This is not anymore required because we require Libgcrypt 1.5.0 which features this function.
* Renamed the lock functions.Werner Koch2011-09-2316-376/+541
| | | | Also cleaned up the dotlock code for easier readability.
* Remove support for RISCOS from dotlock.cWerner Koch2011-09-221-58/+7
|
* Allow NULL for free_public_key.Werner Koch2011-09-208-34/+36
|
* tests: avoid use of freed pointerJim Meyering2011-09-202-1/+10
| | | | | | | | | | | | | | | | [spotted by coverity] This is only in tests/, but easy to fix, so... I've included extra context so you can see how var->value would be used in the following atoi call. >From cf9ae83fd2da8d7a289b048ef0feed4096f6d263 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 20 Sep 2011 16:32:59 +0200 Subject: [PATCH] avoid use of free'd pointer * asschk.c (set_type_var): Set var->value to NULL after freeing it, to avoid subsequent use of freed pointer.
* avoid use of freed pointerJim Meyering2011-09-202-1/+11
| | | | | | | | | | | | | Without this patch, pk2 would be freed twice. >From 2a18a4b757e0896e738fefbbaa8ff8c23a9edf89 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Tue, 20 Sep 2011 16:20:39 +0200 Subject: [PATCH] avoid use of freed pointer If we free pk2 at the top of the for-loop, set it to NULL so that we don't free it again just before returning. * revoke.c (gen_desig_revoke): Don't use pk2 after freeing it.
* Replace gcry_md_start_debug by gcry_md_debug.Werner Koch2011-09-2010-15/+32
| | | | | This is to allow building with Libgcrypt master (1.6) which has some cleanups in the API/ABI.
* Allow no protection in pinentry-mode=loopback.Ben Kibbey2011-09-132-2/+12
| | | | | When the inquired passphrase has a 0 length then treat it as no protection.
* Fixed invalid free.Ben Kibbey2011-09-131-3/+1
|
* Fixed regression in libcurl.m4Werner Koch2011-09-122-1/+6
| | | | | Fixed lost hash sign introduced by previous change (2011-04-08). Reported by John Marshall.
* Handle pinentry-mode=loopback.Ben Kibbey2011-09-125-2/+83
| | | | | | When this mode is set an inquire will be sent to the client to retrieve the passphrase. This adds a new inquire keyword "NEW_PASSPHRASE" that the GENKEY and PASSWD commands use when generating a new key.
* Mark component descriptions for translation.Werner Koch2011-08-262-6/+11
|
* Beautified the online html manualWerner Koch2011-08-125-9/+32
|
* Fixed set but unused variable bugsWerner Koch2011-08-1023-80/+84
|
* Fix autoconf warnings and update config.* files.Werner Koch2011-08-108-176/+215
|
* Typo fixWerner Koch2011-08-101-1/+1
|
* Update option s2k-count to match the documentation.Ben Kibbey2011-08-102-3/+8
| | | | The option would previously return an error if its value was < 65536.
* Made the KILLAGENT and KILLSCD commands working again.Werner Koch2011-08-104-0/+20
| | | | | This requires that GnuPG is build with a newer version of Libassuan (2.0.3).
* Adjust for signed integer passed to OpenPGP card decrypt.Werner Koch2011-08-082-8/+26
|
* Minor doc updates v2.0 vs. v2.1)Werner Koch2011-08-083-3/+29
|
* Do not print read-only trustdb warning with --quiet.Werner Koch2011-07-292-1/+5
| | | | | This is only a warning and gpg would anyway print an error message if it tries to write to the trustdb.
* Make the inquire cancel fix a little bit more robust.Werner Koch2011-07-272-1/+18
|
* Fixed gpg-agent SCD inquire command cancellation.Ben Kibbey2011-07-272-0/+18
| | | | | Need to send the CANCEL command back to scdaemon otherwise the next SCD command will fail.
* Fix crash while reading unsupported ssh keys.Werner Koch2011-07-222-12/+11
| | | | | This bug was found by n-roeser at gmx.net (gnupg-devel@, msgid [email protected]).
* Try to get the only-valid-if-cert-valid cert from the dirmngr first.Werner Koch2011-07-212-15/+97
| | | | | | | | | This should always work because the dirmngr asked us to validate the given certificate. This should make OCSP configuration easier because there is less requirement to install all certificates for Dirmngr and gpgsm. CAUTION: This code has not yet been tested.
* Allow listing of ssh fingerprint with the agent's KEYINFO command.Werner Koch2011-07-202-8/+32
|
* Support a confirm flag for ssh.Werner Koch2011-07-207-66/+217
| | | | | This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.