gnupg.git
8 years agos/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/.
Werner Koch [Wed, 1 Sep 2010 11:07:16 +0000 (11:07 +0000)]
s/CACHE_MODE_IMPGEN/CACHE_MODE_NONCE/.
Prepare for more use cases of the cache nonce.

8 years agoUse passphrase caching for import and genkey.
Werner Koch [Wed, 1 Sep 2010 09:48:35 +0000 (09:48 +0000)]
Use passphrase caching for import and genkey.

8 years ago2010-09-01 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 1 Sep 2010 00:44:55 +0000 (00:44 +0000)]
2010-09-01  Marcus Brinkmann  <marcus@g10code.de>

        * estream.c (_es_set_std_fd): Disable debug output.

8 years agoImport OpenPGP keys into the agent.
Werner Koch [Tue, 31 Aug 2010 15:58:39 +0000 (15:58 +0000)]
Import OpenPGP keys into the agent.

9 years agoFix for W32.
Werner Koch [Thu, 26 Aug 2010 09:28:11 +0000 (09:28 +0000)]
Fix for W32.

9 years ago.
Werner Koch [Thu, 26 Aug 2010 08:47:42 +0000 (08:47 +0000)]
.

9 years agoChanged option names.
Werner Koch [Wed, 25 Aug 2010 10:31:47 +0000 (10:31 +0000)]
Changed option names.
Add O_BINARY for stdin and stdout.

9 years agogpgconf does now work for Wince.
Werner Koch [Mon, 23 Aug 2010 19:26:05 +0000 (19:26 +0000)]
gpgconf does now work for Wince.

9 years agoReworked the posix and w32 exechelpers.
Werner Koch [Fri, 20 Aug 2010 12:18:38 +0000 (12:18 +0000)]
Reworked the posix and w32 exechelpers.

9 years agoPrepare for gpg-error change
Werner Koch [Thu, 19 Aug 2010 13:38:37 +0000 (13:38 +0000)]
Prepare for gpg-error change

9 years agoAdd component pinentry as an easy way to figure out the default
Werner Koch [Thu, 19 Aug 2010 09:53:55 +0000 (09:53 +0000)]
Add component pinentry as an easy way to figure out the default
pinentry.  Also allows to test whether pinentry is installed.

9 years agoFix regression in logging.
Werner Koch [Wed, 18 Aug 2010 19:25:15 +0000 (19:25 +0000)]
Fix regression in logging.
Add a registry key to enable catch-all remote debugging for W32.
Replace more stdio stuff by estream.

9 years agoAuto-start dirmngr.
Werner Koch [Mon, 16 Aug 2010 11:03:43 +0000 (11:03 +0000)]
Auto-start dirmngr.

9 years agoMinor Makefile fixes to let it build on all platforms
Werner Koch [Fri, 13 Aug 2010 11:42:14 +0000 (11:42 +0000)]
Minor Makefile fixes to let it build on all platforms

9 years agoFixed LDAP access on CE
Werner Koch [Fri, 13 Aug 2010 10:02:12 +0000 (10:02 +0000)]
Fixed LDAP access on CE

9 years agoFix last change
Werner Koch [Thu, 12 Aug 2010 16:57:14 +0000 (16:57 +0000)]
Fix last change

9 years agoFix dirmngr problems on CE.
Werner Koch [Thu, 12 Aug 2010 11:43:46 +0000 (11:43 +0000)]
Fix dirmngr problems on CE.
Add new dirmngr commands.
Minor other fixes.

9 years agoPass on comments from SCD.
Werner Koch [Wed, 11 Aug 2010 13:11:04 +0000 (13:11 +0000)]
Pass on comments from SCD.

9 years agoSupport "-" for --output.
Werner Koch [Wed, 11 Aug 2010 10:20:53 +0000 (10:20 +0000)]
Support "-" for --output.

9 years agoPrint a note about wldap32
Werner Koch [Tue, 10 Aug 2010 14:27:45 +0000 (14:27 +0000)]
Print a note about wldap32

9 years agoSupport logging via TCP
Werner Koch [Mon, 9 Aug 2010 15:40:29 +0000 (15:40 +0000)]
Support logging via TCP

9 years agoAdd dummy options --cms and --openpgp.
Werner Koch [Mon, 9 Aug 2010 09:36:49 +0000 (09:36 +0000)]
Add dummy options --cms and --openpgp.

9 years agoAdd option --null
Werner Koch [Mon, 9 Aug 2010 09:05:18 +0000 (09:05 +0000)]
Add option --null

9 years agoMore work on the dirmngr. It now builds for W32 and W32CE and quick
Werner Koch [Fri, 6 Aug 2010 13:52:01 +0000 (13:52 +0000)]
More work on the dirmngr.  It now builds for W32 and W32CE and quick
tests show that it works on W32.

9 years agoSimplified http.c.
Werner Koch [Thu, 5 Aug 2010 18:47:25 +0000 (18:47 +0000)]
Simplified http.c.

9 years agoTypo fix
Werner Koch [Thu, 5 Aug 2010 08:51:11 +0000 (08:51 +0000)]
Typo fix

9 years agoFix regressions on POSIX
Werner Koch [Tue, 3 Aug 2010 14:06:42 +0000 (14:06 +0000)]
Fix regressions on POSIX
-This line, and those below, will be ignored--

M    dirmngr/dirmngr_ldap.c
M    dirmngr/ChangeLog

9 years agoAdd code for a threaded LDAP access to replace the wrapper process.
Werner Koch [Mon, 2 Aug 2010 18:54:53 +0000 (18:54 +0000)]
Add code for a threaded LDAP access to replace the wrapper process.
Currently used for W32 and W32CE.

9 years agoFixed couple of build problems. However the W32 version is currently
Werner Koch [Mon, 26 Jul 2010 14:27:59 +0000 (14:27 +0000)]
Fixed couple of build problems.  However the W32 version is currently
under work.

9 years agoSome work on the dirmngr
Werner Koch [Mon, 26 Jul 2010 14:01:32 +0000 (14:01 +0000)]
Some work on the dirmngr

9 years agoAdd new set_binary feature to estream
Werner Koch [Sat, 24 Jul 2010 13:33:03 +0000 (13:33 +0000)]
Add new set_binary feature to estream

9 years agoSome work on the dirmngr
Werner Koch [Fri, 23 Jul 2010 16:16:14 +0000 (16:16 +0000)]
Some work on the dirmngr

9 years ago.
Werner Koch [Fri, 23 Jul 2010 12:31:25 +0000 (12:31 +0000)]
.

9 years agofix reallocation bug
Werner Koch [Fri, 23 Jul 2010 12:30:34 +0000 (12:30 +0000)]
fix reallocation bug

9 years ago.
Werner Koch [Fri, 23 Jul 2010 12:19:35 +0000 (12:19 +0000)]
.

9 years agoSome work on porting dirmngr (unfinished)
Werner Koch [Fri, 16 Jul 2010 13:19:45 +0000 (13:19 +0000)]
Some work on porting dirmngr (unfinished)
Ported gpgtar to W32.

9 years agoMake it build on W32 again.
Werner Koch [Mon, 28 Jun 2010 13:37:44 +0000 (13:37 +0000)]
Make it build on W32 again.

9 years agoFix a regression from 2010-06-09.
Werner Koch [Thu, 24 Jun 2010 10:51:30 +0000 (10:51 +0000)]
Fix a regression from 2010-06-09.

9 years agoRemove cruft.
Werner Koch [Mon, 21 Jun 2010 10:04:36 +0000 (10:04 +0000)]
Remove cruft.

9 years agoImplement export of pkcs#12 objects using a direct agent connection.
Werner Koch [Mon, 21 Jun 2010 10:01:24 +0000 (10:01 +0000)]
Implement export of pkcs#12 objects using a direct agent connection.

9 years agoAvoid using the protect-tool to import pkcs#12.
Werner Koch [Thu, 17 Jun 2010 15:44:44 +0000 (15:44 +0000)]
Avoid using the protect-tool to import pkcs#12.

9 years agoAdd makefiles to build a w32 development package.
Werner Koch [Fri, 11 Jun 2010 13:51:11 +0000 (13:51 +0000)]
Add makefiles to build a w32 development package.

9 years agocommon/
Marcus Brinkmann [Thu, 10 Jun 2010 23:17:33 +0000 (23:17 +0000)]
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.

9 years ago2010-06-10 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 10 Jun 2010 17:55:22 +0000 (17:55 +0000)]
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.

9 years ago2010-06-10 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 10 Jun 2010 15:26:03 +0000 (15:26 +0000)]
2010-06-10  Marcus Brinkmann  <marcus@g10code.de>

* server.c (SERVER_STDIN, SERVER_STDOUT): New macros.
(gpgsm_server): Use them with assuan_fdopen.

9 years agocommon/
Marcus Brinkmann [Thu, 10 Jun 2010 15:08:29 +0000 (15:08 +0000)]
common/
2010-06-10  Marcus Brinkmann  <marcus@g10code.de>

* estream.c (_es_get_std_stream): Fix cut&paste bug.

sm/
2010-06-10  Marcus Brinkmann  <marcus@g10code.de>

* server.c (SERVER_STDIN, SERVER_STDOUT): New macros.
(gpgsm_server): Use them with assuan_fdopen.

9 years agoInclude dirmngr manual
Werner Koch [Thu, 10 Jun 2010 10:39:44 +0000 (10:39 +0000)]
Include dirmngr manual

9 years agoMerged Dirmngr with GnuPG.
Werner Koch [Wed, 9 Jun 2010 16:53:51 +0000 (16:53 +0000)]
Merged Dirmngr with GnuPG.
A few code changes to support dirmngr.

9 years ago2010-06-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 8 Jun 2010 18:33:21 +0000 (18:33 +0000)]
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.

9 years agoW32CE fix.
Werner Koch [Tue, 8 Jun 2010 16:59:19 +0000 (16:59 +0000)]
W32CE fix.
Typo fixes

9 years agouse estream for status output.
Werner Koch [Mon, 7 Jun 2010 17:04:50 +0000 (17:04 +0000)]
use estream for status output.

9 years agoChange OpenPGP test framework to run under the control of the agent.
Werner Koch [Mon, 7 Jun 2010 15:11:35 +0000 (15:11 +0000)]
Change OpenPGP test framework to run under the control of the agent.

9 years agoAdd unfinished gpgtar.
Werner Koch [Mon, 7 Jun 2010 13:33:02 +0000 (13:33 +0000)]
Add unfinished gpgtar.
Collected changes and ports of bug fixes from stable.

9 years agoPrint --version etc via estream
Werner Koch [Sun, 30 May 2010 12:06:38 +0000 (12:06 +0000)]
Print --version etc via estream

9 years agoUpdate tests.
Werner Koch [Tue, 11 May 2010 18:00:31 +0000 (18:00 +0000)]
Update tests.

9 years agoFix for bug 1223
Werner Koch [Fri, 7 May 2010 13:13:56 +0000 (13:13 +0000)]
Fix for bug 1223

9 years agoAuto starting the agent does now work on CE.
Werner Koch [Tue, 4 May 2010 15:21:47 +0000 (15:21 +0000)]
Auto starting the agent does now work on CE.

9 years agoauto start the agent if --use-standard-socket is in use.
Werner Koch [Mon, 3 May 2010 15:23:10 +0000 (15:23 +0000)]
auto start the agent if --use-standard-socket is in use.

9 years agoProvide a useful pinentry prompt.
Werner Koch [Tue, 27 Apr 2010 14:11:41 +0000 (14:11 +0000)]
Provide a useful pinentry prompt.

9 years agoIgnore a stale agent socket.
Werner Koch [Mon, 26 Apr 2010 14:51:38 +0000 (14:51 +0000)]
Ignore a stale agent socket.

9 years agoFix preference setting in new keys
Werner Koch [Mon, 26 Apr 2010 11:53:14 +0000 (11:53 +0000)]
Fix preference setting in new keys

9 years agoDecryption and signi via agent is now implemented.
Werner Koch [Fri, 23 Apr 2010 11:36:59 +0000 (11:36 +0000)]
Decryption and signi via agent is now implemented.

9 years ago2010-04-23 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 23 Apr 2010 01:59:08 +0000 (01:59 +0000)]
2010-04-23  Marcus Brinkmann  <marcus@g10code.de>

* certreqgen.c (read_parameters): Use ascii_isspace instead of
spacep to stop at newline, too.

9 years agoremove gpgtar
Werner Koch [Thu, 22 Apr 2010 09:52:13 +0000 (09:52 +0000)]
remove gpgtar

9 years agoRe-indent and changed return type.
Werner Koch [Wed, 21 Apr 2010 17:30:07 +0000 (17:30 +0000)]
Re-indent and changed return type.

9 years agoMore changes on the way to remove secring.gpg.
Werner Koch [Wed, 21 Apr 2010 16:26:17 +0000 (16:26 +0000)]
More changes on the way to remove secring.gpg.

9 years agoDisable card support for now
Werner Koch [Wed, 21 Apr 2010 09:56:43 +0000 (09:56 +0000)]
Disable card support for now

9 years agoReindented
Werner Koch [Tue, 20 Apr 2010 18:19:19 +0000 (18:19 +0000)]
Reindented

9 years agoGenerating an OpenPGP key cia gpg-agent basically works.
Werner Koch [Tue, 20 Apr 2010 17:57:50 +0000 (17:57 +0000)]
Generating an OpenPGP key cia gpg-agent basically works.

9 years agoAdd missing file.
Werner Koch [Tue, 20 Apr 2010 13:47:12 +0000 (13:47 +0000)]
Add missing file.
Typo fix.

9 years agoAdd a separate header for time related fucntions.
Werner Koch [Tue, 20 Apr 2010 11:52:33 +0000 (11:52 +0000)]
Add a separate header for time related fucntions.

9 years agocommon/
Marcus Brinkmann [Tue, 20 Apr 2010 01:11:35 +0000 (01:11 +0000)]
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.

9 years agoFixed dependencies and a syntax error
Werner Koch [Wed, 14 Apr 2010 17:56:22 +0000 (17:56 +0000)]
Fixed dependencies and a syntax error

9 years agoRemove dependency to simple-pwquery.
Werner Koch [Wed, 14 Apr 2010 16:52:02 +0000 (16:52 +0000)]
Remove dependency to simple-pwquery.

9 years ago./autogen.sh --build-w32ce does now succeed.
Werner Koch [Wed, 14 Apr 2010 14:39:16 +0000 (14:39 +0000)]
./autogen.sh --build-w32ce does now succeed.

9 years agoWhole lot of changes to support CE.
Werner Koch [Wed, 14 Apr 2010 11:24:02 +0000 (11:24 +0000)]
Whole lot of changes to support CE.

9 years ago2010-04-13 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 13 Apr 2010 01:06:18 +0000 (01:06 +0000)]
2010-04-13  Marcus Brinkmann  <marcus@g10code.de>

* POTFILES.in: Replace common/exechelp.c by
common/exechelp-posix.c, common/exechelp-w32.c and
common/exechelp-w32ce.c.

9 years agoUse gpg_err_set_errno to assign values to ERRNO.
Werner Koch [Thu, 1 Apr 2010 13:24:55 +0000 (13:24 +0000)]
Use gpg_err_set_errno to assign values to ERRNO.

9 years agoMinor cleanups
Werner Koch [Mon, 29 Mar 2010 12:57:11 +0000 (12:57 +0000)]
Minor cleanups

9 years agoMore changes for CE. gpgsm does now build and run a keylisting.
Werner Koch [Wed, 24 Mar 2010 12:15:30 +0000 (12:15 +0000)]
More changes for CE.  gpgsm does now build and run a keylisting.

9 years agoReorganized the exechelp code.
Werner Koch [Mon, 22 Mar 2010 15:00:54 +0000 (15:00 +0000)]
Reorganized the exechelp code.

9 years agoCode cleanup.
Werner Koch [Mon, 22 Mar 2010 14:22:41 +0000 (14:22 +0000)]
Code cleanup.

9 years agoMore chnages to use estream. Add a way to replace the standard
Werner Koch [Mon, 22 Mar 2010 12:46:05 +0000 (12:46 +0000)]
More chnages to use estream.  Add a way to replace the standard
descriptors.

9 years agoBuilds again for W32.
Werner Koch [Mon, 15 Mar 2010 13:08:51 +0000 (13:08 +0000)]
Builds again for W32.

9 years agoFinished the bulk of changes to use estream in most places instead of
Werner Koch [Mon, 15 Mar 2010 11:15:45 +0000 (11:15 +0000)]
Finished the bulk of changes to use estream in most places instead of
stdio.

9 years agoUse a custom log handler for libassuan.
Werner Koch [Thu, 11 Mar 2010 12:34:11 +0000 (12:34 +0000)]
Use a custom log handler for libassuan.

9 years agoChange logging to use estream. The makes logging to a socket also
Werner Koch [Wed, 10 Mar 2010 17:22:23 +0000 (17:22 +0000)]
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.

9 years agoMerged jnlib into common.
Werner Koch [Wed, 10 Mar 2010 12:24:58 +0000 (12:24 +0000)]
Merged jnlib into common.

9 years agoFix for latest libgpg-error.
Werner Koch [Tue, 9 Mar 2010 12:50:48 +0000 (12:50 +0000)]
Fix for latest libgpg-error.

9 years agoRemoved almost al dup calls.
Werner Koch [Mon, 8 Mar 2010 18:19:21 +0000 (18:19 +0000)]
Removed almost al dup calls.

9 years agoUse macros for iobuf ioctls.
Werner Koch [Mon, 8 Mar 2010 17:05:37 +0000 (17:05 +0000)]
Use macros for iobuf ioctls.

9 years agoMore cleanups
Werner Koch [Mon, 8 Mar 2010 13:06:53 +0000 (13:06 +0000)]
More cleanups

9 years agoRemove unused code.
Werner Koch [Mon, 8 Mar 2010 12:37:54 +0000 (12:37 +0000)]
Remove unused code.

9 years agoReplace use stdio by estream functions.
Werner Koch [Mon, 8 Mar 2010 12:22:18 +0000 (12:22 +0000)]
Replace use stdio by estream functions.

9 years agoChanges required to use estream in gpgsm.
Werner Koch [Mon, 8 Mar 2010 12:18:19 +0000 (12:18 +0000)]
Changes required to use estream in gpgsm.

9 years agoFirst steps towards the W32CE port
Werner Koch [Tue, 2 Mar 2010 21:25:08 +0000 (21:25 +0000)]
First steps towards the W32CE port

9 years agoFinished jnlib port to CE.
Werner Koch [Mon, 1 Mar 2010 12:49:17 +0000 (12:49 +0000)]
Finished jnlib port to CE.

9 years agoFirst batch of changes to support W32CE.
Werner Koch [Fri, 26 Feb 2010 18:44:36 +0000 (18:44 +0000)]
First batch of changes to support W32CE.
Note that jnlib/w32-reg.c is not yet ready.

9 years agoSome minor changes and typo fixes.
Werner Koch [Fri, 26 Feb 2010 10:52:05 +0000 (10:52 +0000)]
Some minor changes and typo fixes.
Started to implement a TCP option in gpg-connect-agent.

9 years agoProvide default strings for the pinentry.
Werner Koch [Wed, 17 Feb 2010 19:03:37 +0000 (19:03 +0000)]
Provide default strings for the pinentry.