Werner Koch
49d25d3185
Merge branch 'master' into keyserver-via-dirmngr
2011-01-20 14:21:46 +01:00
Werner Koch
7f32d88ed1
All standard keyserver commands are now using dirmngr.
2011-01-20 14:12:53 +01:00
Werner Koch
af500f0ae4
Use estream for dirmngr's --gpgconf-list.
...
Change insalled name of gpg2 for Wince.
2011-01-19 16:29:30 +01:00
Werner Koch
c2c5d30db8
estream support for iobuf and new memuf functions.
2011-01-18 12:50:02 +01:00
Werner Koch
260c41851e
Fix es_fopenmem and es_mopen bug.
2011-01-18 12:49:28 +01:00
Werner Koch
dcd20e18a5
Fix computation of NEWSIZE in es_func_mem_write.
...
The function used to fail and return EINVAL when enlarging the buffer.
2011-01-18 12:26:05 +01:00
Werner Koch
b0c55d08a8
Fix bug #1311 .
2011-01-10 14:19:28 -08:00
Werner Koch
8c8c45725f
Initial code checking for backup - not yet working.
2011-01-10 14:30:17 +01:00
Werner Koch
2732f2ff3f
Fix bug #1311 .
2011-01-10 11:37:57 +01: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
f8317bef02
Increase start timeout
2010-12-17 16:55:13 +00:00
Marcus Brinkmann
c07984509a
2010-12-17 Marcus Brinkmann <mb@g10code.com>
...
* homedir.c (gnupg_cachedir): Create /temp subdirectories.
2010-12-17 02:05:14 +00:00
Werner Koch
fcb5f7d08f
s/AES/AES128/ in diagnostics and --list-config
2010-12-02 15:49:02 +00:00
Werner Koch
b25155613a
Add logging to GPG2: [W32CE].
2010-12-02 13:56:28 +00:00
Werner Koch
41a33e0c78
Remove superfluous parameter.
...
Make self-check interval larger
2010-11-26 09:42:56 +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
cb68b5d923
A merged changes
2010-11-08 09:18:47 +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
25b1e76b44
Enable i18n for W32.
2010-10-20 15:06:50 +00:00
Werner Koch
52cbcd94ac
Re-enabled german translation
2010-10-18 14:56:52 +00:00
Werner Koch
fd19a84c80
Some tweaks to the agent startup.
2010-10-14 08:32:55 +00:00
Werner Koch
54591341a4
More agent support for gpg.
2010-10-13 15:57:08 +00:00
Werner Koch
a3335428be
New configure optionh --enable-dirmngr-auto-start.
...
autogen.sh enables this for CE.
2010-10-08 14:37:42 +00:00
Werner Koch
adfa280d6f
[w32ce] Do not print the faulty timezone info
...
Switch FAQ sources to org-mode
2010-10-04 21:08:34 +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
Werner Koch
4fdd83b401
Fix standard directories for Wince.
...
Typo fix.
2010-09-13 10:17:04 +00:00
Werner Koch
90a4599c5e
Obscure the cached passphrases.
2010-09-02 10:46:23 +00:00
Marcus Brinkmann
e3d8bb0244
2010-09-01 Marcus Brinkmann <marcus@g10code.de>
...
* estream.c (_es_set_std_fd): Disable debug output.
2010-09-01 00:44:55 +00:00
Werner Koch
71bc88fbae
Fix for W32.
2010-08-26 09:28:11 +00:00
Werner Koch
a400cfe14e
.
2010-08-26 08:47:42 +00:00
Werner Koch
d9791119d0
gpgconf does now work for Wince.
2010-08-23 19:26:05 +00:00
Werner Koch
15330f36a7
Reworked the posix and w32 exechelpers.
2010-08-20 12:18:38 +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
7e752a4208
Auto-start dirmngr.
2010-08-16 11:03:43 +00:00
Werner Koch
c3be3aef40
Minor Makefile fixes to let it build on all platforms
2010-08-13 11:42:14 +00:00
Werner Koch
d4d61b87f1
Fix dirmngr problems on CE.
...
Add new dirmngr commands.
Minor other fixes.
2010-08-12 11:43:46 +00:00
Werner Koch
e52f93433c
Support logging via TCP
2010-08-09 15:40:29 +00:00
Werner Koch
dc5a80930b
More work on the dirmngr. It now builds for W32 and W32CE and quick
...
tests show that it works on W32.
2010-08-06 13:52:01 +00:00
Werner Koch
be622bd268
Simplified http.c.
2010-08-05 18:47:25 +00:00
Werner Koch
819f3be358
Add code for a threaded LDAP access to replace the wrapper process.
...
Currently used for W32 and W32CE.
2010-08-02 18:54:53 +00:00
Werner Koch
5b664bed4f
Fixed couple of build problems. However the W32 version is currently
...
under work.
2010-07-26 14:27:59 +00:00
Werner Koch
ca279dc707
Some work on the dirmngr
2010-07-26 14:01:32 +00:00
Werner Koch
57a3538555
Add new set_binary feature to estream
2010-07-24 13:33:03 +00:00
Werner Koch
a22c38baad
Some work on the dirmngr
2010-07-23 16:16:14 +00:00
Werner Koch
8b8925a2bd
Some work on porting dirmngr (unfinished)
...
Ported gpgtar to W32.
2010-07-16 13:19:45 +00:00
Werner Koch
c8bafe218c
Fix a regression from 2010-06-09.
2010-06-24 10:51:30 +00:00
Werner Koch
91056b1976
Implement export of pkcs#12 objects using a direct agent connection.
2010-06-21 10:01:24 +00:00
Werner Koch
006fd75aea
Avoid using the protect-tool to import pkcs#12.
2010-06-17 15:44:44 +00:00
Marcus Brinkmann
13dab2af8b
common/
...
2010-06-11 Marcus Brinkmann <marcus@g10code.de>
* sysutils.c (translate_sys2libc_fd): Revert last change.
(translate_sys2libc_fd_int): Revert last change.
sm/
2010-06-11 Marcus Brinkmann <marcus@g10code.de>
* server.c (cmd_message) [HAVE_W32CE_SYSTEM]: Finish pipe.
2010-06-10 23:17:33 +00:00
Marcus Brinkmann
82aaa6ab76
2010-06-10 Marcus Brinkmann <marcus@g10code.de>
...
* sysutils.c (translate_sys2libc_fd) [HAVE_W32CE_SYSTEM]:
Implement.
(translate_sys2libc_fd_int) [HAVE_W32CE_SYSTEM]: Don't call
translate_sys2libc_fd.
2010-06-10 17:55:22 +00:00
Marcus Brinkmann
fd5193ac8c
2010-06-10 Marcus Brinkmann <marcus@g10code.de>
...
* server.c (SERVER_STDIN, SERVER_STDOUT): New macros.
(gpgsm_server): Use them with assuan_fdopen.
2010-06-10 15:26:03 +00:00
Werner Koch
c3f08dcb72
Merged Dirmngr with GnuPG.
...
A few code changes to support dirmngr.
2010-06-09 16:53:51 +00:00
Marcus Brinkmann
70f3a9bbb6
2010-06-08 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).
(t_common_ldadd): Add $(LIBASSUAN_LIBS).
* sysutils.c: Include <assuan.h>.
(translate_sys2libc_fd_int): Cast to silence gcc warning.
* iobuf.c: Include <assuan.h>
(translate_file_handle): Fix syntax error.
2010-06-08 18:33:21 +00:00
Werner Koch
f7b0b80e4a
W32CE fix.
...
Typo fixes
2010-06-08 16:59:19 +00:00
Werner Koch
c8eb7bd839
Change OpenPGP test framework to run under the control of the agent.
2010-06-07 15:11:35 +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
29cc88db7d
Print --version etc via estream
2010-05-30 12:06:38 +00:00
Werner Koch
51e2703abe
Auto starting the agent does now work on CE.
2010-05-04 15:21:47 +00:00
Werner Koch
8524ac000c
auto start the agent if --use-standard-socket is in use.
2010-05-03 15:23:10 +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
a1412b05de
More changes on the way to remove secring.gpg.
2010-04-21 16:26:17 +00:00
Werner Koch
67934a8c13
Add missing file.
...
Typo fix.
2010-04-20 13:47:12 +00:00
Werner Koch
0a043101cf
Add a separate header for time related fucntions.
2010-04-20 11:52:33 +00:00
Marcus Brinkmann
0e960d940a
common/
...
2010-04-20 Marcus Brinkmann <marcus@g10code.de>
* logging.c (do_log_ignore_arg): New helper function.
(log_string): Use it to remove ugly volatile hack that causes gcc
warning.
(log_flush): Likewise.
* sysutils.c (gnupg_unsetenv) [!HAVE_W32CE_SYSTEM]: Return something.
(gnupg_setenv) [!HAVE_W32CE_SYSTEM]: Likewise.
* pka.c (get_pka_info): Solve strict aliasing rule violation.
* t-exechelp.c (test_close_all_fds): Use dummy variables to
silence gcc warning.
kbx/
2010-04-20 Marcus Brinkmann <marcus@g10code.de>
* keybox-update.c [!HAVE_DOSISH_SYSTEM]: Include
../common/sysutils.h even then to silence gcc warning about
missing declaration of gnupg_remove.
tools/
2010-04-20 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (option_check_validity): Use dummy variables to
silence gcc warning.
2010-04-20 01:11:35 +00:00
Werner Koch
6616ba9a1e
Fixed dependencies and a syntax error
2010-04-14 17:56:22 +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
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
d1591a97f4
Reorganized the exechelp code.
2010-03-22 15:00:54 +00:00
Werner Koch
9bdeb667f4
Code cleanup.
2010-03-22 14:22:41 +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
0f4eefb094
Builds again for W32.
2010-03-15 13:08:51 +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
02566c5856
Change logging to use estream. The makes logging to a socket also
...
work on Solaris etc. Further changes required.. This is just a first
step.
2010-03-10 17:22:23 +00:00
Werner Koch
d8b1099d01
Merged jnlib into common.
2010-03-10 12:24:58 +00:00
Werner Koch
40a78fab0c
Use macros for iobuf ioctls.
2010-03-08 17:05:37 +00:00
Werner Koch
1b845104ac
More cleanups
2010-03-08 13:06:53 +00:00
Werner Koch
5262ed584b
Remove unused code.
2010-03-08 12:37:54 +00:00
Werner Koch
37088de63d
Changes required to use estream in gpgsm.
2010-03-08 12:18:19 +00:00
Werner Koch
d232fd2e54
First steps towards the W32CE port
2010-03-02 21:25:08 +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
be45bf3d54
Add dummu option --passwd for gpg.
...
Collected changes.
2010-01-08 19:18:49 +00:00
Marcus Brinkmann
cd8c8b7af4
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
...
* Makefile.am (audit-events.h, status.h) [!MAINTAINER_MODE]: No
longer include these rules if not in maintainer mode.
2009-12-08 18:11:48 +00:00
Werner Koch
9a96043be4
Unification of the search descriptor usage.
2009-12-08 16:30:33 +00:00
Werner Koch
bb861ac730
Support CERT records via ADNS
2009-12-08 12:20:11 +00:00
Marcus Brinkmann
146a4665bb
common/
...
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
* asshelp.c (start_new_gpg_agent): Convert posix FD to assuan FD.
agent/
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
* call-pinentry.c (start_pinentry): Convert posix fd to assuan fd.
* call-scd.c (start_scd): Likewise.
sm/
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
* call-dirmngr.c (start_dirmngr_ext): Convert posix fd to assuan fd.
tools/
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
* gpg-connect-agent.c (main): Convert posix fd to assuan fd.
2009-12-08 04:43:15 +00:00
Marcus Brinkmann
e347e5667d
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
...
* asshelp.c (start_new_gpg_agent) [HAVE_W32_SYSTEM]: Add missing
argument in assuan_socket_connect invocation.
* iobuf.c (iobuf_open_fd_or_name): Fix type of FD in function
declaration.
2009-12-08 04:09:36 +00:00
Werner Koch
a61798d874
Fix last configure change.
2009-12-07 17:12:28 +00:00
Werner Koch
85d778b9f6
Use ADNS for PKA and SRV records if no other resolver is available.
2009-12-07 15:52:27 +00:00
Werner Koch
66a0019120
Fix possible problem with chnages status.h and VBUILDS.
2009-12-04 11:37:12 +00:00
Werner Koch
9e83404751
More stuff for the audit-log.
2009-12-02 18:33:59 +00:00
Marcus Brinkmann
1d3c39fd7b
agent/
...
2009-11-05 Marcus Brinkmann <marcus@g10code.de>
* call-pinentry.c (start_pinentry): Call assuan_pipe_connect, not
assuan_pipe_connect_ext.
* command.c (start_command_handler): Change
assuan_init_socket_server_ext into assuan_init_socket_server.
* call-scd.c (start_scd): Update use of assuan_socket_connect and
assuan_pipe_connect.
* gpg-agent.c (check_own_socket_thread, check_for_running_agent):
Update use of assuan_socket_connect.
common/
2009-11-05 Marcus Brinkmann <marcus@g10code.de>
* asshelp.c (start_new_gpg_agent): Update use of
assuan_socket_connect and assuan_pipe_connect.
scd/
2009-11-05 Marcus Brinkmann <marcus@g10code.de>
* command.c (scd_command_handler): Call assuan_init_socket_server,
not assuan_init_socket_server_ext.
sm/
2009-11-05 Marcus Brinkmann <marcus@g10code.de>
* call-dirmngr.c (start_dirmngr_ext): Update use of
assuan_pipe_connect and assuan_socket_connect.
tools/
2009-11-05 Marcus Brinkmann <marcus@g10code.de>
* gpg-connect-agent.c (start_agent): Update use of
assuan_socket_connect and assuan_pipe_connect.
2009-11-05 12:06:45 +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
a1b6142855
[scd] Memory leak fix.
...
[g13] Send MOUNTPOINT status line
2009-10-28 12:02:15 +00:00
Marcus Brinkmann
de563fdeb5
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
...
* configure.ac: Check for libassuan instead of libassuan-pth.
common/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* Makefile.am (libcommon_a_CFLAGS): Use LIBASSUAN_CFLAGS instead
of LIBASSUAN_PTH_CFLAGS.
scd/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* AM_CFLAGS, scdaemon_LDADD: Use libassuan instead of libassuan-pth.
* scdaemon.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
(main): Call assuan_set_system_hooks and assuan_sock_init.
g13/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* AM_CFLAGS, g13_LDADD: Use libassuan instead of libassuan-pth.
* g13.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
(main): Call assuan_set_system_hooks.
agent/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* gpg_agent_CFLAGS, gpg_agent_LDADD: Use libassuan instead of
libassuan-pth.
* gpg-agent.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
(main): Call assuan_set_system_hooks and assuan_sock_init.
Fix invocation of assuan_socket_connect.
2009-10-16 18:35:03 +00:00
Werner Koch
536b6ab09f
Keep on hacking on g13. A simple --create and --mount does now work.
...
A hacked up encfs is required.
2009-10-13 19:17:24 +00:00