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
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