Werner Koch
74d344a521
Implemented the chain model for X.509 validation.
2007-08-10 16:52:05 +00:00
Werner Koch
ebd36b6344
Factored common gpgconf constants out
...
Fixed W32 compare_filenames
2007-08-02 18:12:43 +00:00
Werner Koch
bce4ea798a
Properly close files opened by es_fopen.
...
Allow setting of an empty passphrase.
Assorted W32 changes.
2007-07-16 09:53:47 +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
f54b85bc2d
A bunch of minor changes for Windows.
2007-07-04 09:34:28 +00:00
Werner Koch
a7fe86bc02
More W32 related changes
2007-06-26 13:48:44 +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
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
ad4a6067ca
Add missing fiels for W32.
...
New agent commands: GETINFO and KILLAGENT (w32 only).
Agent does now detach from the console.
2007-06-18 10:33:12 +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
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
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
5f3bca9682
Use estream_asprintf instead of the GNU asprintf.
2007-05-15 16:10:48 +00:00
Werner Koch
b89d98e335
Improved logging for error orginating from libgcrypt.
2007-04-20 16:59:37 +00:00
Werner Koch
61bcf36235
* trustlist.c (read_trustfiles): Take a missing trustlist as an
...
empty one.
2007-04-03 18:43:00 +00:00
Werner Koch
fd628ffda1
Allow setting of the passphrase encoding of pkcs#12 files.
...
New option --p12-charset.
2007-03-20 10:00:55 +00:00
Werner Koch
083010a53d
* PKCS#12 import now tries several encodings in case the passphrase
...
was not utf-8 encoded.
2007-03-19 18:54:34 +00:00
Werner Koch
ed84b0f787
Support for a global gpgconf configuration file.
2007-03-06 20:44:41 +00:00
Werner Koch
e8402d514e
* call-pinentry.c (start_pinentry): Fix for OS X to allow loading
...
of the bundle. Tested by Benjamin Donnachie.
2007-02-20 14:55:32 +00:00
Werner Koch
5240d014f8
agent/
...
* gpg-agent.c: New option --pinentry-touch-file.
(get_agent_socket_name): New.
* agent.h (opt): Add pinentry_touch_file.
* call-pinentry.c (start_pinentry): Send new option to the
pinentry.
2007-02-14 16:27:55 +00:00
Werner Koch
cde3f5e61f
agent/
...
* command-ssh.c (stream_read_string): Initialize LENGTH to zero.
(start_command_handler_ssh): Use es_fgetc/es_ungetc to check if
EOF has been reached before trying to process another request.
2007-01-31 14:52:48 +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
0d4b205630
jnlib/
...
* stringhelp.c (utf8_charcount): New.
agent/
* genkey.c (check_passphrase_constraints): Use UTF-8 aware strlen.
2007-01-25 10:26:55 +00:00
Werner Koch
39fbda4e3c
agent/
...
* genkey.c (check_passphrase_constraints): Get ngettext call right.
2007-01-25 09:15:10 +00:00
Werner Koch
6cee3e66c2
agent/
...
* protect-tool.c (get_passphrase): New arg OPT_CHECK.
(get_new_passphrase): Enable OTP_CHECK on the first call.
* command.c (cmd_get_passphrase): Implement option --check.
* gpg-agent.c (MIN_PASSPHRASE_LEN): New
(parse_rereadable_options): New option --min-passphrase-len.
* genkey.c (check_passphrase_constraints): New.
(agent_genkey, agent_protect_and_store): Call new function. Fix
memory leak.
* call-pinentry.c (agent_askpin): Allow translation of the displayed
error message.
(agent_popup_message_start): Remove arg CANCEL_BTN.
(popup_message_thread): Use --one-button option.
* command.c (cmd_passwd): Now that we don't distinguish between
assuan and regular error codes we can jump to the end on error.
common/
* simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
2007-01-25 08:30:47 +00:00
David Shaw
7b9eee1e5e
Makefile.am: Link to iconv for jnlib dependency. (OSX)
2006-12-07 23:20:20 +00:00
Werner Koch
5885142c83
Made some PIN pads work.
...
Some cleanups for 64 bit CPUs.
2006-11-20 16:49:41 +00:00
Werner Koch
a9c688e4d9
Silent GETEVENT command. Requires latest libassuan.
...
agent/
* command.c (post_cmd_notify, io_monitor): New.
(register_commands, start_command_handler): Register them.
2006-11-14 16:40:44 +00:00
Werner Koch
a98ea89fa5
New command GETEVENTCOUNTER.
...
* command.c (bump_key_eventcounter): New.
(bump_card_eventcounter): New.
(cmd_geteventcounter): New command.
* gpg-agent.c (handle_signal): Call bump_card_eventcounter.
* findkey.c (agent_write_private_key): Call bump_key_eventcounter.
* trustlist.c (agent_reload_trustlist): Ditto.
2006-11-14 14:53:42 +00:00
Werner Koch
c1f4a8edff
gpg-agent.c (main): In detached mode connect standard descriptors to /dev/null.
...
Other minor fixes
2006-11-09 16:09:46 +00:00
Werner Koch
7b8ea82ab6
.
2006-10-23 14:02:13 +00:00
Werner Koch
2a9f9d76a2
Allow importing of web.de generated p12 files
2006-10-23 10:52:23 +00:00
Werner Koch
df52700f5c
Fixes
2006-10-19 14:22:06 +00:00
Werner Koch
be410be660
Pth tweaks and improved estream.c
2006-10-17 14:34:42 +00:00
Werner Koch
416ac2e4d7
Allow to cancel marktrusted.
2006-10-16 17:36:44 +00:00
Werner Koch
2e8481c03b
Various changes
2006-10-10 11:11:04 +00:00
Werner Koch
4d770bedc1
Make it also work for the card.
2006-10-06 11:06:15 +00:00
Werner Koch
5134fc27b3
Add TLS hash mode
2006-10-06 10:58:18 +00:00
Werner Koch
158a69aff7
bug fixes
2006-10-05 11:06:42 +00:00
Werner Koch
8684a78518
Fixed agent access for gpg.
2006-10-04 16:45:04 +00:00
Werner Koch
f28d2d5c43
let cmd learn also return KEYPAIRINFO
2006-09-26 17:32:28 +00:00
Werner Koch
d94faf4a3d
New "relax" option for trustlist.txt
2006-09-25 18:29:20 +00:00
Werner Koch
c69dc436ce
Cleanups.
2006-09-20 11:01:49 +00:00
Werner Koch
7f42987b07
Allow for a global trustlist.
2006-09-15 18:53:37 +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
Marcus Brinkmann
bffa1dcf6e
2006-09-06 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (AM_CFLAGS): Add $(GPG_ERR_CFLAGS).
(gpg_agent_LDADD): Replace -lgpg-error with $(GPG_ERROR_LIBS).
2006-09-06 20:57:57 +00:00
Werner Koch
eef036df23
The big Assuan error code removal.
2006-09-06 16:35:52 +00:00