Werner Koch
7ae15f0027
Fix bug 1091.
...
Doc fixes.
Replace assert by error message.
2009-07-20 11:02:20 +00:00
Werner Koch
e535e3fccc
[g10]
...
* exec.c: Fix function name indentation.
(expand_args): Simplify by using membuf functions.
(exec_write): Fix memory leak on error.
(w32_system): Use DETACHED_PROCESS so
that a new console is not created.
2009-07-13 17:36:02 +00:00
Werner Koch
31084d6dc9
Support writing of existing keys with non-matching key sizes.
2009-07-09 14:54:18 +00:00
Werner Koch
e50cac1d84
Changed default hash algorithm preferences
2009-07-09 08:52:31 +00:00
Werner Koch
f6f5430e50
Reworked passing of envars to Pinentry.
2009-07-07 10:02:41 +00:00
Werner Koch
6f5cd860a0
Translation fix
2009-06-30 11:29:03 +00:00
Werner Koch
2e0ce7d97f
Fixed a bunch of little bugs as reported by Fabian Keil.
...
Still one problem left; marked with a gcc #warning.
2009-06-24 14:03:09 +00:00
Werner Koch
c998dd12a2
Preparing for 2.0.12.
2009-06-17 11:18:26 +00:00
Werner Koch
5f8acaccc0
Add readcert command.
...
fix reading large certificates.
2009-06-17 09:45:50 +00:00
Werner Koch
bdbeb0ac2b
app-openpgp changes
2009-06-09 19:11:28 +00:00
David Shaw
047d97e95e
Add full Camellia support.
...
* configure.ac: Remove Camellia restriction.
* gpg.c (main), misc.c (openpgp_cipher_test_algo): Remove Camellia
restriction.
* misc.c (map_cipher_openpgp_to_gcry), main.h: Add macros for
openpgp_cipher_open, openpgp_cipher_get_algo_keylen, and
openpgp_cipher_get_algo_blklen to wrap around the corresponding gcry_*
functions, but pass the algorithm number through
map_cipher_openpgp_to_gcry. This is needed in case the gcry algorithm
number doesn't match the OpenPGP number (c.f. Camellia).
* encr-data.c, pubkey-enc.c, mainproc.c, cipher.c, encode.c, seskey.c,
passphrase.c, seckey-cert.c: Use new openpgp_cipher_* macros here.
2009-06-05 14:11:03 +00:00
Werner Koch
dac70ca2fd
Fixed an fopen problem on Windows Vista.
2009-06-03 17:24:24 +00:00
Werner Koch
323cca8041
Fix for bug#1066.
...
A couple of minor changes.
2009-06-02 15:46:59 +00:00
Werner Koch
21ad035cc9
Fix a signal cleanup problem.
...
Fix zero length MPI reading.
2009-05-26 09:29:02 +00:00
Werner Koch
41ee7a14cf
Fixed bug#1044. Use of --fingerprint with --with-fingerprint.
2009-05-20 10:23:33 +00:00
Werner Koch
556d4ed983
Allow generation of DSA2 keys without --enable-dsa2.
2009-05-20 09:57:10 +00:00
Werner Koch
ad6326185e
Fix bug#1056.
2009-05-20 09:08:48 +00:00
Werner Koch
387a51f951
New gpgsm server option no-encrypt-to.
...
Add caching for symkey encryption.
Minor cleanups.
2009-05-18 17:38:34 +00:00
Werner Koch
f61e15670a
Changed default algo and size.
2009-05-17 13:08:18 +00:00
Werner Koch
c4e92c3344
Made card key generate with backup key work for 2048 bit.
...
Improved card key generation prompts.
2009-05-15 19:26:46 +00:00
Marcus Brinkmann
abc632a4a6
2009-05-15 Marcus Brinkmann <marcus@g10code.de>
...
* gpg.c (gpgconf_list): Remove dead entry "allow-pka-lookup" (a
verify option for a couple of years now).
2009-05-15 12:11:46 +00:00
Werner Koch
a766a37290
Print keyid in gpg --list-packets.
...
Add some not yet code to app-nks.c
Changed batch mode expiration time computation
2009-05-13 11:42:34 +00:00
Werner Koch
dcc0907793
Fix bug 1045.
2009-05-11 09:36:51 +00:00
Werner Koch
74300e64f5
Print 'empty file' warning only with --verbose.
2009-05-11 09:20:57 +00:00
David Shaw
b613817269
* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well.
...
From 1.4.
2009-05-11 03:56:34 +00:00
Werner Koch
b6798b5d8d
Fix bug#1034.
...
Remove dead code.
2009-05-06 09:36:06 +00:00
Werner Koch
7c98dad98e
Make gpgv error message about a missing keyring more useful. This fixes
...
Debian#494040. Also implement readonly semantic for extra safety.
2009-04-03 10:34:22 +00:00
Werner Koch
0b99639624
Ported changes from 1.4.
2009-04-01 13:23:27 +00:00
Werner Koch
f8b4cd7650
Import/export of pkcs#12 now uses the gpg-agent directly.
...
Removed duplicated code (percent unescaping).
2009-04-01 10:51:53 +00:00
Werner Koch
ceb42db4dd
Print NO_SECKEY status line in gpgsm.
...
This fixes bug#1020.
2009-03-25 16:05:16 +00:00
Werner Koch
370f841a01
Enhanced last patch.
2009-03-17 17:59:36 +00:00
Werner Koch
6e7c855d98
Move password repetition from gpg to gpg-agent.
2009-03-17 12:13:32 +00:00
David Shaw
91e5544e38
* gpg.c (my_strusage): gpg2 and gpgv2 (not gpg and gpgv).
...
* gpgv.c (my_strusage): Same.
2009-03-15 03:58:38 +00:00
David Shaw
0ff2a6b943
* gpgv.c (my_strusage): Fix name of program in "Syntax" line.
2009-03-15 03:39:50 +00:00
Werner Koch
ec4a3eb3c5
Fix a gpg2 problem with removed cards.
...
Allow runtime conf change for scdaemon.
New commands for scdaemon.
2009-02-27 14:36:59 +00:00
Werner Koch
16e76f3a69
Replace a call to BUG by an error return.
2009-02-24 11:47:25 +00:00
Werner Koch
02890eedd8
Fix bug#998.
2009-02-09 11:09:57 +00:00
Werner Koch
51e4831685
Add a Geldkarte gadget application.
...
Minor other changes.
2009-01-27 11:30:02 +00:00
Werner Koch
38251aa74f
Add a sample key.
...
Detect and show the card type.
2009-01-13 14:01:56 +00:00
Werner Koch
4adb5c03e7
preparing a release
2009-01-12 09:18:27 +00:00
Werner Koch
7784e86a66
Add limited support for NetKey 3.0 cards.
2009-01-08 19:56:30 +00:00
Werner Koch
82ab848ea4
Update spanish translation.
...
Cleanups.
Allow utf-8 in email addresses.
2009-01-08 15:48:51 +00:00
Werner Koch
fb12b4fad3
Add rmd160.c.
...
Emit anotehr error code status line.
2008-12-12 12:01:20 +00:00
Werner Koch
713b80543c
Add missing header file.
2008-12-12 08:54:50 +00:00
Werner Koch
6558568912
Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.
...
Fix SIG_ID computation.
2008-12-11 17:44:52 +00:00
Werner Koch
cb1d526227
Minor bug fix.
2008-12-09 12:32:53 +00:00
Werner Koch
d478455c17
W32 fix
2008-12-09 12:03:04 +00:00
Werner Koch
9874c62a10
Flush keyserver search output.
...
Add trustdb chnages from 1.4.
Check algo usage for batch key generation.
2008-12-09 10:46:29 +00:00
Werner Koch
382d2f8efb
Minor fixes.
2008-12-09 08:58:02 +00:00
Werner Koch
5bc9948f69
Add a custom prompt for the CSR generation.
...
Add a new percent escape fucntion.
2008-12-05 16:31:39 +00:00
Werner Koch
5dc1c18c3a
Print library versions according to GNU standards.
2008-11-18 18:01:03 +00:00
Werner Koch
4b3389b7bd
Cleaned up unused gpgsm and gpg options.
2008-11-13 12:37:45 +00:00
Werner Koch
329509c864
Made arg_parse more readable.
2008-11-12 17:41:49 +00:00
Werner Koch
3f8e827f63
fixed a bug in the prompt formatter.
2008-10-28 11:41:52 +00:00
Werner Koch
0a5f742466
Marked all unused args on non-W32 platforms.
2008-10-20 13:53:23 +00:00
Werner Koch
0698c5169f
Use more warning options with modern GCCs.
...
Other minor changes.
2008-10-17 19:18:46 +00:00
David Shaw
1b86ee9806
* main.h, mainproc.c (check_sig_and_print), keylist.c
...
(list_keyblock_print), pkclist.c (do_edit_ownertrust), keyedit.c
(menu_showphoto), photoid.c (generate_photo_id, show_photos), misc.c
(pct_expando): Add %v and %V expandos so that displaying photo IDs can
show the attribute validity tag (%v) and string (%V). Originally by
Daniel Gillmor.
2008-10-03 20:00:46 +00:00
Werner Koch
7d63aa42e5
Remove hacks which are not anymore needed since we now require Libgcrypt 1.4
2008-09-29 15:02:55 +00:00
David Shaw
d3157d6f8e
* keyedit.c (keyedit_menu): Fix bug where a modified keyring loses its
...
modified status after a "clean" or "minimize" that doesn't need to do
anything.
2008-09-25 18:12:39 +00:00
Werner Koch
b77e7c9f2e
Fix bug #931
2008-09-25 12:55:50 +00:00
Werner Koch
96f16f736e
Finished support for v2 cards with the exception of secure messaging.
2008-09-25 10:06:02 +00:00
David Shaw
0d71795aae
* pkclist.c (select_algo_from_prefs): Redo function to rank prefs and
...
pick a consensus winner across all keys.
2008-09-23 21:52:18 +00:00
Werner Koch
f899b9683b
Support the Certifciate DO of the v2 OpenPGP cards.
2008-09-23 09:57:45 +00:00
David Shaw
1377e1fe8d
* keyserver.c (keyserver_import_cert): Allow keyserver URLs in
...
addition to full URLs in CERT records.
2008-09-04 16:54:58 +00:00
Werner Koch
7b81a6b074
Print a 'f' for validated non-root certificates in gpgsm colon style listing.
...
Doc fixes.
2008-08-13 15:41:48 +00:00
Werner Koch
ac5c3fab30
Cehck for expire date overflows.
2008-08-11 08:08:08 +00:00
Werner Koch
201a348565
Fix !EROFS bug.
...
Doc updates
2008-08-01 10:51:11 +00:00
Werner Koch
a7c9e79190
Revert that last stupid setuid detection fix.
2008-07-17 19:49:51 +00:00
Werner Koch
9d5a10a453
Do not run the setuid test if running under as root proper.
...
Documentation fixes.
Some enhancements for the new OpenPGP Card.
2008-07-17 19:40:53 +00:00
Marcus Brinkmann
b60bfbe25c
g10/
...
2008-06-25 Marcus Brinkmann <marcus@g10code.de>
* gpg.c (enum cmd_and_opt_values): Remove option
oEnableW32HandleTranslation.
(opts): Remove option --enable-w32-handle-translation.
(main): Remove variable w32_handle_translation.
common/
2008-06-25 Marcus Brinkmann <marcus@g10code.de>
Revert last three changes related to handle translation.
* sysutils.c:
(FD_TRANSLATE_MAX, fd_translate, fd_translate_len)
(translate_table_init, translate_table_lookup): Removed.
* iobuf.c (check_special_filename): Do not use
translate_table_lookup.
* sysutils.h (translate_table_init, translate_table_lookup):
Remove prototypes.
2008-06-25 17:44:26 +00:00
Werner Koch
e573011dda
Robustness fix.
...
Add group to the --gpgconf-list.
2008-06-19 10:45:16 +00:00
Marcus Brinkmann
d9c588dc06
2008-06-18 Marcus Brinkmann <marcus@g10code.de>
...
* gpg.c (enum cmd_and_opt_values): New option
oEnableW32HandleTranslation.
(opts): New option --enable-w32-handle-translation.
(main): New variable w32_handle_translation to keep track of
option.
2008-06-18 14:49:54 +00:00
Werner Koch
aa68a60301
Add controlo statement %ask-passphrase
2008-06-16 15:48:33 +00:00
Werner Koch
5bc7732a73
Implement dotlocking for W32.
2008-06-13 16:18:59 +00:00
Werner Koch
035c838f71
Made --fixed-list-mode obsolete.
2008-06-11 08:07:54 +00:00
Werner Koch
49b2db7636
Changes the header presented before requesting the user ID.
2008-06-01 19:44:05 +00:00
Werner Koch
fc797016da
Remove a warning.
2008-05-09 10:03:55 +00:00
Werner Koch
dbaca1ed0f
Print a note for revoked signing keys.
2008-05-08 10:10:27 +00:00
Werner Koch
99361140a2
--locate-key now returns several keys if they all match.
2008-05-07 18:19:41 +00:00
Werner Koch
69ae16636c
Add command --locate-key.
...
Fix auto-key-locate processing of "nodefault".
2008-05-07 15:40:36 +00:00
Werner Koch
4896f5f47c
Adjust for the changed Camellia draft.
...
W32 gettext changes.
Comment and typo fixes.
2008-04-18 09:20:25 +00:00
David Shaw
057558d04b
Test commit
2008-04-16 16:11:41 +00:00
Werner Koch
18351bf8da
If there are multiple 0x19 backsigs, take the most recent one. (from 1.4).
...
add log-file and debug-level to the --gpgconf-list.
2008-04-16 08:23:23 +00:00
Werner Koch
97ec9aac2b
Enhanced --auto-key-locate.
2008-04-08 11:04:16 +00:00
Werner Koch
86f35a55d0
Minor cleanups.
...
Implemented key helper kdns
2008-04-07 19:31:12 +00:00
Werner Koch
5e755a2222
disable DSA2 for old Libgcrypts.
2008-04-02 18:03:04 +00:00
Werner Koch
b2dd413cfa
Last minute cleanups.
2008-03-26 09:38:42 +00:00
Werner Koch
9a8ee6e6be
Changed the way i18n files are located under Windows. The setting of the
...
Registry key is not anymore required. Helpfiles are not properly located.
2008-03-25 19:41:11 +00:00
Werner Koch
d7f0b3bd89
Fix bug 894.
...
Change default keyserver.
Allow key protection with Camellia.
2008-03-25 08:33:31 +00:00
Werner Koch
432cd50b97
Fix for v3 keys.
2008-03-18 17:09:45 +00:00
Werner Koch
6a78bca874
Fixed an email/DN bug.
...
Changed pinentry prompts.
2008-03-13 08:46:08 +00:00
Werner Koch
fa800e7c86
Comment fixes.
...
Convey the new envvars when using simple-pwquery.
2008-03-06 18:28:47 +00:00
Werner Koch
30a97e770c
Poems for AllowSetForegroundWindow (W32)
2008-02-14 19:50:10 +00:00
Werner Koch
0819c1e8ca
Always search missing certifcates using a running Dirmngr's cache.
2008-02-13 16:47:14 +00:00
Marcus Brinkmann
791d8e6990
2008-02-09 Marcus Brinkmann <marcus@g10code.de>
...
* gpg.c (main): New variable default_configname. Use it if
save_configname is NULL (can happen if default configfile does
not exist). Move default configname determination to ...
(get_default_configname): ... this new function.
2008-02-09 00:05:55 +00:00
Werner Koch
3d654dfb29
Fixed yesterday's W32 fix.
2008-01-30 14:26:57 +00:00
Werner Koch
b680d034fa
W32 fix for trustdb creation.
2008-01-30 13:26:32 +00:00
Werner Koch
843d6c69ef
Fixed a W32 crash in gpg2 when creating a new keyring.
...
Typo fixes.
2008-01-29 16:04:57 +00:00
Werner Koch
e2a98c2b26
Add --logger-fd alias.
...
Ass card vendor 004.
2008-01-26 13:11:31 +00:00
Werner Koch
a6549ca548
Preparing a release candidate.
2007-12-14 16:08:53 +00:00