Werner Koch
b3adbb576e
Fix regression introduced by "editing only change".
...
Signing and verification using a new key works again.
2011-01-24 12:02:35 +01:00
Werner Koch
c3db7705c0
Truncate the DSA hash; fixes regression.
...
Removed left over debug code.
2011-01-21 15:58:07 +01:00
Werner Koch
27929981fc
Make most of the selftests work.
...
Note that there is still a problem with tests/openpgp/sigs.test while
using the option --digest-algo SHA256.
2011-01-21 15:22:41 +01:00
Werner Koch
90b0ff23b7
Editorial changes and allow building with old libgcrypts.
...
Changed order of some conditional to make to put the special case into
the true branch. Indentation changes. Minor other changes to make the
ECC code more similar to the rest of our code.
It builds but many sefltests still fail. Need to fix that before
using it with an ECDH enabled libgcrypt.
[/]
2011-01-21 Werner Koch <wk@g10code.com>
* configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP.
(HAVE_GCRY_PK_ECDH): Add new test.
[agent/]
2011-01-21 Werner Koch <wk@g10code.com>
* cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New.
[include/]
2011-01-21 Werner Koch <wk@g10code.com>
* cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros
because we now require libgcrypt 1.4.6.
(GCRY_PK_ECDH): Add replacement.
2011-01-21 12:00:57 +01:00
Werner Koch
7f32d88ed1
All standard keyserver commands are now using dirmngr.
2011-01-20 14:12:53 +01:00
Werner Koch
357f8d5398
Keyserver search and get basically works again.
2011-01-18 12:51:16 +01:00
Andrey Jivsov
b73d8ed06f
Fixed key generation with P-521. Confirmed that signature generation and verification work.
2011-01-12 21:14:45 -08:00
Andrey Jivsov
5761a9ba74
'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 --debug 15 _e.asc', as well as decoding of an old message posted on https://sites.google.com/site/brainhub/pgpecckeys work.
...
This is the milestone 2 that brings in ECDH support from http://code.google.com/p/gnupg-ecc/source/detail?r=15 .
This corresponds to the commit 899386826c85f1e757e75bcc5d5b2159d05676a0 in libgcrypt
2011-01-10 20:24:14 -08:00
Werner Koch
8c8c45725f
Initial code checking for backup - not yet working.
2011-01-10 14:30:17 +01:00
Andrey Jivsov
ded546b4b5
Milestone: Data signing/verification and key signing/verification work with ECDSA.
2011-01-06 15:44:01 -08:00
Andrey Jivsov
e0972d3d96
Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .
...
The following works:
gpg2 --gen-key (ECC)
gpg2 --list-keys
gpg2 --list-packets ~/.gnupg/pubring.gpg
gpg2 --list-packets <private key from http://sites.google.com/site/brainhub/pgpecckeys >
ECDH doesn't work yet as the code must be re-written to adjust for gpg-agent refactoring.
2011-01-05 17:33:17 -08:00
Werner Koch
3f659600c7
Change last change. Does now work.
2010-12-09 12:57:50 +00:00
Werner Koch
1486dec17b
Change dirmngr timer under W32CE.
...
Fix trustdb open problem under W32CE.
2010-12-09 11:50:22 +00:00
Werner Koch
fcb5f7d08f
s/AES/AES128/ in diagnostics and --list-config
2010-12-02 15:49:02 +00:00
Werner Koch
b3f9e2130e
Change stack size for Wince.
...
Allow for a longer agent atartup under wince.
Print gpg output via estream.
2010-11-23 18:46:41 +00:00
Werner Koch
0103a53aa6
Smartcard related updates
2010-11-17 13:21:24 +00:00
David Shaw
b4da5a4150
* pkclist.c (select_algo_from_prefs): Make sure the scores can't
...
overflow when picking an algorithm (not a security issue since we
can't pick something not present in all preference lists, but we might
pick something that isn't scored first choice).
* pkclist.c (select_algo_from_prefs): Slightly improve the handling of
MD5 in preference lists. Instead of replacing MD5 with SHA-1, just
remove MD5 from the list altogether, and let the next-highest ranked
algorithm be chosen.
2010-10-29 19:49:54 +00:00
Werner Koch
2e82b095cd
Better support unsigned time_t
2010-10-27 11:26:53 +00:00
Werner Koch
02e4c3cb7e
Re-implemented GPG's --passwd command and improved it.
2010-10-26 09:10:29 +00:00
Werner Koch
c212133918
Remove cruft.
...
Make --gen-revoke work
2010-10-21 10:25:03 +00:00
Werner Koch
25b1e76b44
Enable i18n for W32.
2010-10-20 15:06:50 +00:00
Werner Koch
cc99c37549
Make public key data structure easier to read.
...
Check vor v1 card while signing.
2010-10-20 11:33:50 +00:00
Werner Koch
ff59089979
replace some sprintf by bin2hex.
2010-10-18 13:54:42 +00:00
Werner Koch
6872919efe
Fix a signing problem with the card
2010-10-18 12:59:19 +00:00
Werner Koch
764e88d4df
All tests work are again working
2010-10-14 16:34:31 +00:00
Werner Koch
54591341a4
More agent support for gpg.
2010-10-13 15:57:08 +00:00
Werner Koch
a78335c9ce
Add new option --with-keygrip
2010-10-08 11:11:08 +00:00
Werner Koch
002b30e75c
Import fixes.
...
new otion for watchgnupg
2010-10-06 11:29:10 +00:00
Werner Koch
bfbd80feb9
Exporting secret keys via gpg-agent is now basically supported.
...
A couple of forward ported changes.
Doc updates.
2010-10-01 20:33:53 +00:00
David Shaw
aeb31977ec
* options.skel: Make the example for force-v3-sigs match reality (it
...
has defaulted to off since 2007-10-25).
2010-09-28 16:17:30 +00:00
Werner Koch
4fdd83b401
Fix standard directories for Wince.
...
Typo fix.
2010-09-13 10:17:04 +00:00
Werner Koch
299ed4c9e2
Removed more secret key related code.
...
It builds fine and passes some of the tests but there are quite some
features which don't work yet.
2010-09-06 19:57:42 +00:00
Werner Koch
daab9aff3a
Merge secret keys during import
2010-09-02 15:11:51 +00:00
Werner Koch
a0b9ebfb7d
Even less prompts for a new key now.
2010-09-01 12:49:05 +00:00
Werner Koch
9a9b3da58f
Use passphrase caching for import and genkey.
2010-09-01 09:48:35 +00:00
Werner Koch
87fac99112
Import OpenPGP keys into the agent.
2010-08-31 15:58:39 +00:00
Werner Koch
34dde96669
Fix regression in logging.
...
Add a registry key to enable catch-all remote debugging for W32.
Replace more stdio stuff by estream.
2010-08-18 19:25:15 +00:00
Werner Koch
a22c38baad
Some work on the dirmngr
2010-07-23 16:16:14 +00:00
Werner Koch
006fd75aea
Avoid using the protect-tool to import pkcs#12.
2010-06-17 15:44:44 +00:00
Werner Koch
db0fd50da1
use estream for status output.
2010-06-07 17:04:50 +00:00
Werner Koch
bbe388b5db
Add unfinished gpgtar.
...
Collected changes and ports of bug fixes from stable.
2010-06-07 13:33:02 +00:00
Werner Koch
b9f2c0daaf
Fix for bug 1223
2010-05-07 13:13:56 +00:00
Werner Koch
03d34be425
Provide a useful pinentry prompt.
2010-04-27 14:11:41 +00:00
Werner Koch
31bbe71ad6
Fix preference setting in new keys
2010-04-26 11:53:14 +00:00
Werner Koch
8e5010a958
Decryption and signi via agent is now implemented.
2010-04-23 11:36:59 +00:00
Werner Koch
ac823ac671
Re-indent and changed return type.
2010-04-21 17:30:07 +00:00
Werner Koch
a1412b05de
More changes on the way to remove secring.gpg.
2010-04-21 16:26:17 +00:00
Werner Koch
3af8efd595
Reindented
2010-04-20 18:19:19 +00:00
Werner Koch
21b0a955be
Generating an OpenPGP key cia gpg-agent basically works.
2010-04-20 17:57:50 +00:00
Werner Koch
53c636c4c6
./autogen.sh --build-w32ce does now succeed.
2010-04-14 14:39:16 +00:00
Werner Koch
31d7bdfe77
Whole lot of changes to support CE.
2010-04-14 11:24:02 +00:00
Werner Koch
f3839fe81d
Use gpg_err_set_errno to assign values to ERRNO.
2010-04-01 13:24:55 +00:00
Werner Koch
492f08ff68
Minor cleanups
2010-03-29 12:57:11 +00:00
Werner Koch
f080b353ed
More changes for CE. gpgsm does now build and run a keylisting.
2010-03-24 12:15:30 +00:00
Werner Koch
e64038608b
More chnages to use estream. Add a way to replace the standard
...
descriptors.
2010-03-22 12:46:05 +00:00
Werner Koch
fb2ba98963
Finished the bulk of changes to use estream in most places instead of
...
stdio.
2010-03-15 11:15:45 +00:00
Werner Koch
37870234a1
Use a custom log handler for libassuan.
2010-03-11 12:34:11 +00:00
Werner Koch
d8b1099d01
Merged jnlib into common.
2010-03-10 12:24:58 +00:00
Werner Koch
6216d33e8c
Removed almost al dup calls.
2010-03-08 18:19:21 +00:00
Werner Koch
40a78fab0c
Use macros for iobuf ioctls.
2010-03-08 17:05:37 +00:00
Werner Koch
0e018d7144
Some minor changes and typo fixes.
...
Started to implement a TCP option in gpg-connect-agent.
2010-02-26 10:52:05 +00:00
Werner Koch
1b7c791186
Fix bug#1186.
2010-02-17 10:23:42 +00:00
Werner Koch
8459bcf95a
Various changes to eventually support openpgp keys in pgp-agent.
...
Comment fixes.
Minor chnages in preparation of a W32CE port.
2010-02-02 14:06:19 +00:00
Werner Koch
ff147275c3
Re-indent
2010-01-09 19:00:46 +00:00
Werner Koch
be45bf3d54
Add dummu option --passwd for gpg.
...
Collected changes.
2010-01-08 19:18:49 +00:00
Werner Koch
ad27e8f41b
Fix bug#1059 (missing status line signature verification done with a
...
subkey while on the main key has expired).
2009-12-17 17:55:43 +00:00
Werner Koch
af935bd410
Implement --faked-systrem-time for gpg.
...
Typo and comment fixes.
2009-12-17 17:25:26 +00:00
Werner Koch
34baa18187
Do not use the VMC C reserved word readonly.
2009-12-15 11:03:17 +00:00
Werner Koch
c9271f6d58
Fix bug#1162: error creating home directory
2009-12-15 10:16:54 +00:00
Werner Koch
4d693033ab
Implement dynamic S2K count computation.
2009-12-14 20:12:56 +00:00
Werner Koch
9a96043be4
Unification of the search descriptor usage.
2009-12-08 16:30:33 +00:00
Werner Koch
49b00ffd67
allow for default algorithms in a gpg parameter file
2009-12-04 19:47:54 +00:00
Werner Koch
cb5491bfaf
support numeric debug levels.
2009-12-03 18:04:40 +00:00
Werner Koch
9e83404751
More stuff for the audit-log.
2009-12-02 18:33:59 +00:00
Marcus Brinkmann
18bdcc0881
agent/
...
2009-11-25 Marcus Brinkmann <marcus@g10code.de>
* command.c (start_command_handler): Use assuan_fd_t and
assuan_fdopen on fds.
scd/
2009-11-25 Marcus Brinkmann <marcus@g10code.de>
* command.c (scd_command_handler): Use assuan_fd_t and
assuan_fdopen on fds.
sm/
2009-11-25 Marcus Brinkmann <marcus@g10code.de>
* server.c (gpgsm_server): Use assuan_fd_t and assuan_fdopen on
fds.
g10/
2009-11-25 Marcus Brinkmann <marcus@g10code.de>
* server.c (gpg_server): Use assuan_fd_t and assuan_fdopen on fds.
2009-11-25 17:58:26 +00:00
Werner Koch
cf2ec5673f
Add gpgconf related dummy options default_pubkey_algo.
...
Add option --skip-hidden-recipients
Comment updates.
2009-11-23 19:18:04 +00:00
Werner Koch
8e8368b00e
Adjust for assuan_register_command change.
2009-11-04 10:06:38 +00:00
Marcus Brinkmann
717c38381a
agent/
...
2009-11-02 Marcus Brinkmann <marcus@g10code.de>
* command.c (reset_notify): Take LINE arg and return error.
(register_commands): Use assuan_handler_t type.
common/
2009-11-02 Marcus Brinkmann <marcus@g10code.de>
* get-passphrase.c (default_inq_cb, membuf_data_cb): Change return
type to gpg_error_t.
g10/
2009-11-02 Marcus Brinkmann <marcus@g10code.de>
* server.c (reset_notify, input_notify, output_notify): Update to
new assuan interface.
(register_commands): Use assuan_handler_t.
scd/
2009-11-02 Marcus Brinkmann <marcus@g10code.de>
* command.c (reset_notify): Take LINE arg and return error.
(register_commands): Use assuan_handler_t type.
sm/
2009-11-02 Marcus Brinkmann <marcus@g10code.de>
* server.c (reset_notify, input_notify, output_notify): Update to
new assuan interface.
(register_commands): Use assuan_handler_t.
* call-agent.c (membuf_data_cb, default_inq_cb)
(inq_ciphertext_cb, scd_serialno_status_cb)
(scd_keypairinfo_status_cb, istrusted_status_cb)
(learn_status_cb, learn_cb, keyinfo_status_cb): Return gpg_error_t.
2009-11-02 17:47:11 +00:00
Werner Koch
97be197d31
[g13] Add RECIPEINT and CREATE command.
...
[sm] Chnage --include-certs default
2009-10-19 09:18:46 +00:00
Werner Koch
71625f56fd
Implement the server comamnd DECRYPT.
...
Use int instead of gnupg_fd_t in the server.
Comment fixes.
Rename encr-data.c -> decrypt-data.c
2009-10-02 14:57:55 +00:00
Werner Koch
3b7dc7b384
Fixed EOF detection for encrypted packets.
...
The code won't get confused anymore by extra packages following the
encrypted one.
2009-10-02 12:31:14 +00:00
Werner Koch
dcae377643
Re-indented
2009-10-02 09:15:10 +00:00
Werner Koch
b432da7574
Re-indented.
2009-10-01 09:56:51 +00:00
Werner Koch
fafe852c33
Re-indentation
2009-09-30 18:47:11 +00:00
Werner Koch
27c1b4bef8
Some changes to suport g13.
2009-09-30 15:28:38 +00:00
Werner Koch
c11c23b6ac
Rename encode.c to encrypt.c.
...
Rename function in a simlar way.
Re-indent encrypt.c
2009-09-28 14:37:48 +00:00
Werner Koch
1d0e9816e4
s/DOTLOCK/dotlock_t/.
...
Add some stuff for g13.
2009-09-23 10:28:41 +00:00
Marcus Brinkmann
3974488cd1
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac (NEED_LIBASSUAN_API, NEED_LIBASSUAN_VERSION):
Update to new API (2, 1.1.0).
agent/
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* gpg-agent.c (parse_rereadable_options): Don't set global assuan
log file (there ain't one anymore).
(main): Update to new API.
(check_own_socket_pid_cb): Return gpg_error_t instead of int.
(check_own_socket_thread, check_for_running_agent): Create assuan
context before connecting to server.
* command.c: Include "scdaemon.h" before <assuan.h> because of
GPG_ERR_SOURCE_DEFAULT check.
(write_and_clear_outbuf): Use gpg_error_t instead of
assuan_error_t.
(cmd_geteventcounter, cmd_istrusted, cmd_listtrusted)
(cmd_marktrusted, cmd_havekey, cmd_sigkey, cmd_setkeydesc)
(cmd_sethash, cmd_pksign, cmd_pkdecrypt, cmd_genkey, cmd_readkey)
(cmd_keyinfo, cmd_get_passphrase, cmd_clear_passphrase)
(cmd_get_confirmation, cmd_learn, cmd_passwd)
(cmd_preset_passphrase, cmd_scd, cmd_getval, cmd_putval)
(cmd_updatestartuptty, cmd_killagent, cmd_reloadagent)
(cmd_getinfo, option_handler): Return gpg_error_t instead of int.
(post_cmd_notify): Change type of ERR to gpg_error_t from int.
(io_monitor): Add hook argument. Use symbols for constants.
(register_commands): Change return type of HANDLER to gpg_error_t.
(start_command_handler): Allocate assuan context before starting
server.
* call-pinentry.c: Include "scdaemon.h" before <assuan.h> because
of GPG_ERR_SOURCE_DEFAULT check.
(unlock_pinentry): Call assuan_release instead of
assuan_disconnect.
(getinfo_pid_cb, getpin_cb): Return gpg_error_t instead of int.
(start_pinentry): Allocate assuan context before connecting to
server.
* call-scd.c (membuf_data_cb, learn_status_cb, get_serialno_cb)
(membuf_data_cb, inq_needpin, card_getattr_cb, pass_status_thru)
(pass_data_thru): Change return type to gpg_error_t.
(start_scd): Allocate assuan context before connecting to server.
common/
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* asshelp.c (start_new_gpg_agent): Allocate assuan context before
starting server.
g10/
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* call-agent.c: Include "scdaemon.h" before <assuan.h> because of
GPG_ERR_SOURCE_DEFAULT check.
(learn_status_cb, dummy_data_cb, get_serialno_cb, default_inq_cb)
(learn_status_cb, inq_writecert_parms, inq_writekey_parms)
(scd_genkey_cb, membuf_data_cb): Return gpg_error_t instead of
int.
* gpg.c: Include "scdaemon.h" before <assuan.h> because of
GPG_ERR_SOURCE_DEFAULT check.
(main): Update to new Assuan API.
* server.c: Include "scdaemon.h" before <assuan.h> because of
GPG_ERR_SOURCE_DEFAULT check.
(option_handler, cmd_recipient, cmd_signer, cmd_encrypt)
(cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export)
(cmd_delkeys, cmd_message, do_listkeys, cmd_listkeys)
(cmd_listsecretkeys, cmd_genkey, cmd_getinfo): Return gpg_error_t
instead of int.
(register_commands): Allocate assuan context before starting
server.
(gpg_server): Allocate assuan_context before starting server.
scd/
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* command.c: Include "scdaemon.h" before <assuan.h> because of
GPG_ERR_SOURCE_DEFAULT check.
(option_handler, open_card, cmd_serialno, cmd_lean, cmd_readcert)
(cmd_readkey, cmd_setdata, cmd_pksign, cmd_pkauth, cmd_pkdecrypt)
(cmd_getattr, cmd_setattr, cmd_writecert, cmd_writekey)
(cmd_genkey, cmd_random, cmd_passwd, cmd_checkpin, cmd_lock)
(cmd_unlock, cmd_getinfo, cmd_restart, cmd_disconnect, cmd_apdu)
(cmd_killscd): Return gpg_error_t instead of int.
(scd_command_handler): Allocate assuan context before starting server.
* scdaemon.c (main): Update to new Assuan API.
sm/
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* gpgsm.c (main): Update to new assuan API.
* server.c: Include "gpgsm.h" before <assuan.h> due to check for
GPG_ERR_SOURCE_DEFAULT and assuan.h now including gpg-error.h.
(option_handler, cmd_recipient, cmd_signer, cmd_encrypt)
(cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export)
(cmd_delkeys, cmd_message, cmd_listkeys, cmd_dumpkeys)
(cmd_listsecretkeys, cmd_dumpsecretkeys, cmd_genkey)
(cmd_getauditlog, cmd_getinfo): Return gpg_error_t instead of int.
(register_commands): Same for member HANDLER in table.
(gpgsm_server): Allocate assuan context before starting server.
* sm/call-dirmngr.c:
* call-dirmngr.c (prepare_dirmngr): Check for CTX and error before
setting LDAPSERVER.
(start_dirmngr_ext): Allocate assuan context before starting
server.
(inq_certificate, isvalid_status_cb, lookup_cb, lookup_status_cb)
(run_command_cb, run_command_inq_cb, run_command_status_cb):
Return gpg_error_t instead of int.
tools/
2009-09-23 Marcus Brinkmann <marcus@g10code.de>
* gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response)
(main): Update to new Assuan API.
2009-09-23 00:01:25 +00:00
Werner Koch
999a909708
Allow uid sand key election using a '*'.
2009-09-04 11:52:03 +00:00
Werner Koch
35ab964c86
Fix bug#1122.
...
Note that msgmerge 0.17 is completely broken as it always
prepends a fuzzy null entry to all po files.
2009-09-03 20:51:55 +00:00
Werner Koch
34db1110fc
Fix bug#1011.
2009-09-03 11:29:25 +00:00
Werner Koch
bc9dd2e5f6
Expand a ~ in the ca-cert-file argument.
2009-08-26 10:12:17 +00:00
Werner Koch
f816bdb381
Fix debian bug#543530
2009-08-26 06:46:02 +00:00
Werner Koch
7cde92403c
2009-08-20 Daiki Ueno <ueno@unixuser.org>
...
* 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-08-20 08:41:15 +00:00
Werner Koch
25659d66f1
Ask to insert the right OpenPGP card.
2009-08-11 10:56:44 +00:00
Werner Koch
019601191a
Improved detection of bad/invalid signer keys.
2009-08-06 20:12:00 +00:00
Werner Koch
f27bdef888
Enable readline support in --card-edit.
...
better cope with re-inserted cards.
2009-08-05 13:48:23 +00:00
Werner Koch
e57d2a8630
Ask for the keysize when generating a new card key.
2009-08-05 11:24:43 +00:00
David Shaw
fcfcc611e7
* gpg.c (main): --pgp6 includes --disable-mdc.
2009-07-31 14:36:59 +00:00
Werner Koch
2c7a03d54b
Comment changes.
...
Changed --learn-card.
2009-07-30 16:45:06 +00:00
David Shaw
ab9a918bc2
Try a DNS-SD lookup to find a domain-specific LDAP server before
...
resorting to keys.{domain}.
2009-07-23 18:28:54 +00:00
Werner Koch
830dae2873
Print status of CRL checks in the audit log.
2009-07-23 15:18:58 +00:00
Werner Koch
b37b85e722
Make use of the card's extended capabilities.
2009-07-22 17:21:47 +00:00
Werner Koch
ef2995f5d0
Emit CARDCTRL status lines.
2009-07-22 16:08:58 +00:00
Werner Koch
5d310a8de7
Print verbose instructions in case of a corrupted trustdb.
2009-07-22 09:43:10 +00:00
Werner Koch
0792525d22
Make bug reporting address easier changeable.
2009-07-21 14:21:05 +00:00
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
Werner Koch
aeb5a65f7c
Allow type 20 keys only with option --rfc2440.
2007-12-12 17:41:05 +00:00
Werner Koch
56bd419029
Doc fixes.
...
Add more files to POTFILES.
Protect against malloc bombs.
2007-12-12 16:47:52 +00:00
Werner Koch
bae4b256c7
Support DSA2.
...
Support Camellia for testing.
More audit stuff.
2007-12-12 10:28:30 +00:00
Werner Koch
c8b76e5621
Allow decryption using type 20 Elgamal keys.
2007-12-11 13:19:38 +00:00
Werner Koch
bc482052f8
Fix for bug 851.
...
Fixed auto generation of the stub key for the card.
Allow to encrypt toElgamal encryption keys of type 20.
2007-12-10 15:19:34 +00:00
Werner Koch
63ec0b271c
Created help files form the current po entries.
2007-12-04 15:00:14 +00:00
Werner Koch
8c20500a5d
Allow configuraton of pinentry tooltip.
...
Other minor buf fixes.
2007-12-04 11:23:31 +00:00
Werner Koch
033a2c0bc9
Try to make sure that the standard descriptors are connected when calling
...
gpgsm.
2007-12-03 13:05:15 +00:00
Werner Koch
55ba204bfa
Started to implement the audit log feature.
...
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry.
Improved support for the quality bar.
Minor internal restructuring.
Translation fixes.
2007-11-19 16:03:50 +00:00
Werner Koch
cd2d9288aa
Ported changes from 1.4.
...
Add copyright notices.
2007-10-25 09:06:21 +00:00
Werner Koch
fca02368da
New option --list-config for gpgconf.
2007-10-23 18:13:27 +00:00
Werner Koch
c12ce55b25
Factored utf8 switching code out to i18n.c.
2007-10-19 15:58:38 +00:00
Werner Koch
31c19d1d68
Use Assuan socket wrapper calls.
...
Made socket servers secure under Windows.
2007-10-01 14:48:39 +00:00
Werner Koch
19009f9959
Print used library version with --version.
...
Typo fixes
2007-09-14 13:38:36 +00:00
Werner Koch
15d0cb42a1
Implemented more gpg-agen options to support certain passphrase policies.
...
New tool gpg-check-pattern.
2007-08-27 18:10:27 +00:00
Werner Koch
503f91e0ae
tryu harder to ignore duplicate specified keyrings and -boxes.
...
Documentation updates.
2007-08-24 09:34:39 +00:00
Werner Koch
f81f521a72
Updated estream.
...
More changes for Windows.
2007-08-22 10:55:07 +00:00
Werner Koch
ebd36b6344
Factored common gpgconf constants out
...
Fixed W32 compare_filenames
2007-08-02 18:12:43 +00:00
Werner Koch
11573b09c4
Typo fixes.
...
Made --default-key work for gpgsm
Add --default-key and --encrypt-to to gpgconf.
2007-07-17 18:11:24 +00:00
Werner Koch
5f97dd2c44
Translate all file descriptors received from assuan.
2007-07-12 15:28:30 +00:00
Werner Koch
4631bc8ddf
Fixed card key generation of gpg2.
...
Reveal less information about timings while generating a key.
2007-07-05 16:58:19 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
a7fe86bc02
More W32 related changes
2007-06-26 13:48:44 +00:00
Werner Koch
831cd76256
Fixed a problem in estream-printf.c.
...
Changes for Windows (gpgsm -k does now work).
Minor cleanups.
2007-06-25 11:54:43 +00:00
Werner Koch
0b66f30d66
Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under Windows.
2007-06-21 18:44:48 +00:00
Werner Koch
09cc0ee7be
[w32] gpg-agent is now started automagically by gpgsm.
2007-06-20 11:16:42 +00:00
Werner Koch
540f9164c0
Made percent_escape more general.
...
Added regression tests support to jnlib.
W32 changes.
2007-06-19 09:11:11 +00:00
Marcus Brinkmann
e47321829d
jnlib/
...
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* stringhelp.h (percent_escape): New prototype.
* stringhelp.c (percent_escape): New function.
agent/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* gpg-agent.c (main): Percent escape pathname in --gpgconf-list
output.
g10/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* gpg.c (gpgconf_list): Percent escape output of --gpgconf-list.
scdaemon/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* scdaemon.c (main): Percent escape output of --gpgconf-list.
sm/
2007-06-18 Marcus Brinkmann <marcus@g10code.de>
* gpgsm.c (main): Percent escape output of --gpgconf-list.
2007-06-18 20:15:01 +00:00
Werner Koch
0cfbfd6186
A whole bunch of changes to allow building for Windows.
...
See the ChangeLogs for details.
2007-06-14 17:05:07 +00:00
Werner Koch
f6a6e1f866
Syntax fix - should build now - however not tested.
2007-06-08 17:38:13 +00:00
Werner Koch
2c9791db55
First steps towards supporting W32.
...
This is mainly source code reorganization.
Update gnulib.
g10/ does currently not build.
2007-06-06 18:12:30 +00:00
Marcus Brinkmann
bc078f97a9
2007-05-19 Marcus Brinkmann <marcus@g10code.de>
...
* passphrase.c (passphrase_get): Use PACKAGE_GT, not PACKAGE.
2007-05-18 23:32:51 +00:00
Marcus Brinkmann
b9042f1cec
agent/
...
2007-05-19 Marcus Brinkmann <marcus@g10code.de>
* protect-tool.c (get_passphrase): Free ORIG_CODESET on error.
g10/
2007-05-19 Marcus Brinkmann <marcus@g10code.de>
* passphrase.c (passphrase_get): Free ORIG_CODESET on error.
sm/
2007-05-18 Marcus Brinkmann <marcus@g10code.de>
* qualified.c (gpgsm_qualified_consent,
gpgsm_not_qualified_warning): Free ORIG_CODESET on error.
* certdump.c (gpgsm_format_keydesc): Likewise.
tools/
2007-05-19 Marcus Brinkmann <marcus@g10code.de>
* symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error.
2007-05-18 22:58:59 +00:00
Werner Koch
dae4b2a83a
Fix for bug 797.
2007-05-16 11:10:07 +00:00
Werner Koch
edb3dc99e9
Preparing 2.0.4
2007-05-09 11:01:33 +00:00
Werner Koch
d5052fd228
Upgraded gettext.
...
Fixed accidental dependency on libgcrypt 1.3.0.
2007-05-07 19:49:12 +00:00
David Shaw
3bcccb1666
* packet.h, mainproc.c (reset_literals_seen): New function to reset
...
the literals count.
* verify.c (verify_one_file), decrypt.c (decrypt_messages): Call it
here so we allow multiple literals in --multifile mode (in different
files - not concatenated together).
2007-05-03 04:44:12 +00:00
Marcus Brinkmann
1843485de9
2007-04-26 Marcus Brinkmann <marcus@g10code.de>
...
* passphrase.c (passphrase_to_dek): Write missing passphrase
status message in case of cancellation.
2007-04-28 16:04:44 +00:00
Werner Koch
685b56a0d3
* build-packet.c (mpi_write): Made buffer a bit larger. Reported
...
by Alexander Feigl.
2007-04-16 18:57:23 +00:00
Werner Koch
6ae6e18d5f
g10/ and sm/
...
* call-agent.c (start_agent): Don't use log_error when using the
fallback hack to start the agent. This is bug 782.
scripts/
* mail-to-translators: Copied from 1.4. and adjusted.
tools/
* gpgconf-comp.c: Allow changing of --allow-mark-trusted.
* gpg-connect-agent.c (main): New option --decode and commands
decode and undecode.
(read_and_print_response): Implement option.
2007-04-13 11:45:05 +00:00
David Shaw
82a8277b6c
* parse-packet.c (parse_marker): New. Enforce that the marker
...
contains 'P', 'G', 'P', and nothing but. (parse): Call it here.
(skip_packet): No longer need to handle marker packets here.
2007-04-06 03:46:03 +00:00
David Shaw
674530c3fa
From STABLE-BRANCH-1-4
...
* keyserver.c: Windows Vista doesn't grok X_OK and so fails access()
tests. Previous versions interpreted X_OK as F_OK anyway, so we'll
just use F_OK directly.
2007-03-14 13:26:18 +00:00
David Shaw
dd38a04f16
From STABLE-BRANCH-1-4
...
* parse-packet.c (parse_signature): It's hex.
* getkey.c (merge_selfsigs_subkey): Avoid listing the contents of a
backsig when list mode is on. Noted by Timo Schulz.
2007-03-10 02:05:54 +00:00
Werner Koch
f7c1efc880
Add extra flushs
2007-03-08 12:11:58 +00:00
Werner Koch
c54ef0383c
Fix from 1.4:
...
* keyedit.c (keyedit_menu): If we modify the keyblock (via
fix_keyblock() or collapse_uids()) make sure we reprocess the
keyblock so the flags are correct. Noted by Robin H. Johnson.
* getkey.c (fixup_uidnode): Properly clear flags that don't apply
to us (revoked, expired) so that we can reprocess a uid.
2007-03-08 07:39:57 +00:00
Werner Koch
9491ab44c5
Ported multiple-messages protection.
2007-03-05 14:56:31 +00:00
Werner Koch
f6243073a8
Add new SVN only file README.maint
...
doc/
* gpg.texi (GPG Configuration): Document envvar LANGUAGE.
(GPG Configuration Options): Document show-primary-uid-only.
g10/
* gpg.c (main): Add verify option show-primary-uid-only.
* options.h (VERIFY_SHOW_PRIMARY_UID_ONLY): New.
* mainproc.c (check_sig_and_print): Implement it.
* encr-data.c (decrypt_data): Correctly test for unknown algorithm.
* import.c (check_prefs): Ditto.
* keyedit.c (show_prefs): Ditto.
* mainproc.c (proc_symkey_enc): Ditto.
2007-02-26 20:24:29 +00:00
Werner Koch
b46c93fb10
* export.c (do_export_stream): Allow reset-subkey-passwd along
...
with sexp-format.
2007-02-14 16:26:05 +00:00
Werner Koch
1c2a81fcee
Fix for Debian bug 402592
2007-02-04 17:23:00 +00:00
Werner Koch
7759f3017e
Fix NULL pointer dereference
2007-01-31 15:22:21 +00:00
Werner Koch
b861561e47
Included LIBICONV in all Makefiles.
...
g10/
* passphrase.c (passphrase_get): Set the cancel flag on all error
from the agent. Fixes a bug reported by Tom Duerbusch.
sm/
* gpgsm.c (main): Let --gen-key print a more informative error
message.
2007-01-31 14:24:41 +00:00
Werner Koch
7eec2efa66
Added LIBINTL to more Makefile targets.
...
doc/
* com-certs.pem: Added the current root certifcates of D-Trust and
S-Trust.
g10/
* status.c (write_status_begin_signing): New.
* sign.c (sign_file, sign_symencrypt_file): Call it.
* textfilter.c (copy_clearsig_text): Call it.
* call-agent.c (agent_scd_pksign): Pass --hash-rmd160 to SCD if
required.
* gpg.c (main): Let --no-use-agent and --gpg-agent-info print a
warning.
* misc.c (obsolete_option): New.
2007-01-30 20:16:28 +00:00
Werner Koch
006c5af165
* parse-packet.c (read_protected_v3_mpi): Make sure to stop
...
reading even for corrupted packets.
* keygen.c (generate_user_id): Need to allocate one byte more.
Reported by Felix von Leitner.
2007-01-15 19:31:24 +00:00
Werner Koch
12ca74c836
Started to code a --server mode.
...
It is far from being ready!
2006-12-21 19:40:00 +00:00
Werner Koch
71b6a940a3
Doc fix.
...
Don't let gpg2 fail if the option skeleton file is missing
2006-12-08 11:30:13 +00:00
David Shaw
7b9eee1e5e
Makefile.am: Link to iconv for jnlib dependency. (OSX)
2006-12-07 23:20:20 +00:00
Werner Koch
0173cd5a98
Fixes for CVE-2006-6235
2006-12-06 10:16:50 +00:00
David Shaw
114b20e8be
* keyedit.c (menu_clean): Show "already minimized" rather than
...
"already clean" when a minimized key is minimized again. From Dirk
Traulsen.
2006-12-03 06:27:49 +00:00
David Shaw
884d1af0ae
* options.h, gpg.c (main), passphrase.c (passphrase_to_dek): Add
...
--passphrase-repeat option to control how many times gpg will
re-prompt for a passphrase to ensure the user has typed it correctly.
Defaults to 1.
2006-12-03 04:41:59 +00:00
Werner Koch
fecadab9c3
* openfile.c (ask_outfile_name): Fixed buffer overflow occurring
...
if make_printable_string returns a longer string. Fixes bug 728.
2006-11-27 16:41:32 +00:00
Werner Koch
13e646d938
Final fix which should now pass all tests.
2006-11-21 19:33:04 +00:00
Werner Koch
82423b1e94
Changed order of libs
2006-11-21 15:29:52 +00:00
Werner Koch
e50c5f39cc
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
...
good chance that gpg2 will now work.
Other cleanups.
Updated gettext.
2006-11-21 11:00:14 +00:00
Werner Koch
cd3e8c9b89
Fixed that nasty 64 bit but.
2006-11-10 11:32:00 +00:00
Werner Koch
10d563da08
Collected fixes.
2006-11-05 15:08:58 +00:00
Marcus Brinkmann
7aeb3a45fa
2006-10-24 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
2006-10-24 14:51:39 +00:00
Werner Koch
7b8ea82ab6
.
2006-10-23 14:02:13 +00:00
Werner Koch
58785c880d
Allow to select X.509 certificates using the keygrip.
2006-10-20 11:38:48 +00:00
Werner Koch
df52700f5c
Fixes
2006-10-19 14:22:06 +00:00
Werner Koch
971f824f72
Fixed v3 keyids.
2006-10-18 15:34:54 +00:00
Werner Koch
2a514d34df
Fixed a bug with very long keys.
2006-10-18 14:28:52 +00:00
Werner Koch
be410be660
Pth tweaks and improved estream.c
2006-10-17 14:34:42 +00:00
David Shaw
c6465b0654
* parse-packet.c (parse_symkeyenc): Show the unpacked as well as the
...
packed s2k iteration count.
* main.h, options.h, gpg.c (encode_s2k_iterations, main), passphrase.c
(hash_passphrase): Add --s2k-count option to specify the number of s2k
hash iterations.
2006-10-13 04:06:24 +00:00
Werner Koch
2e8481c03b
Various changes
2006-10-10 11:11:04 +00:00
David Shaw
ae390ea0a2
* keyserver.c (keyserver_spawn): Write the 16-digit keyid rather
...
than whatever key selector the user used on the command line.
2006-10-06 05:57:52 +00:00
Werner Koch
158a69aff7
bug fixes
2006-10-05 11:06:42 +00:00
Werner Koch
3b1f186c87
Re-enabled --passphrase-fd
2006-10-04 17:22:24 +00:00
Werner Koch
8684a78518
Fixed agent access for gpg.
2006-10-04 16:45:04 +00:00
Werner Koch
ecf7ad43f6
Preparing a new release
2006-10-04 10:22:56 +00:00
Werner Koch
4b48bcacc9
Fix for bug 537
2006-10-02 11:54:35 +00:00
Werner Koch
43ab905823
Various updates
2006-09-21 13:30:45 +00:00
Werner Koch
c69dc436ce
Cleanups.
2006-09-20 11:01:49 +00:00
Werner Koch
03d3322e5f
Take advantage of newer gpg-error features.
2006-09-14 16:50:33 +00:00
Werner Koch
9577dd45ab
Various fixes and new features.
...
Enhanced gpg-connect-agent.
2006-09-13 15:57:30 +00:00
Werner Koch
44393f2ce7
Added missing file
2006-09-07 06:42:55 +00:00
Marcus Brinkmann
f89c0be405
2006-09-06 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (gpg2_LDADD, gpgv2_LDADD): Replace -lassuan and
-lgpg-error with $(LIBASSUAN_LIBS) and $(GPG_ERROR_LIBS).
(AM_CFLAGS): Add $(LIBASSUAN_CFLAGS) and $(GPG_ERROR_CFLAGS).
2006-09-06 21:41:14 +00:00
Werner Koch
eef036df23
The big Assuan error code removal.
2006-09-06 16:35:52 +00:00
Werner Koch
7b9fa9da99
Minor changes and typo fixes.
2006-09-06 11:53:24 +00:00
Werner Koch
d8602648b8
See ChangeLogs
2006-08-29 16:18:30 +00:00
Werner Koch
0ebd23fa76
Migrated more stuff to doc/
...
Migrated the gpg regression tests.
Some changes tp the gpg code to fix bugs and
for the use in testing.
make distcheck works now with gpg enabled.
2006-08-21 20:20:23 +00:00
Werner Koch
b744f963d7
With --enable-gpg the keyservers are now build and a first test using gpg2
...
shows no prblems. Needs more testing of course.
2006-08-16 10:47:53 +00:00
Werner Koch
de5070caf0
Preparing a new release
2006-07-27 14:18:55 +00:00
Werner Koch
6c208fea32
A couple of fixes. gpg2's key generation does now work.
2006-06-30 09:42:08 +00:00
Werner Koch
f081ad529d
Ported patches from 1.4.x
2006-06-27 14:30:59 +00:00