gnupg.git
12 years agobetter reporting of bad DNs
Werner Koch [Mon, 3 Jul 2006 13:26:19 +0000 (13:26 +0000)]
better reporting of bad DNs

12 years agoAdded keyserver directory from trunk
Werner Koch [Fri, 30 Jun 2006 13:19:49 +0000 (13:19 +0000)]
Added keyserver directory from trunk

12 years agoA couple of fixes. gpg2's key generation does now work.
Werner Koch [Fri, 30 Jun 2006 09:42:08 +0000 (09:42 +0000)]
A couple of fixes.  gpg2's key generation does now work.

13 years agoRemove stale lockfiles if created on the same node.
Werner Koch [Wed, 28 Jun 2006 15:14:09 +0000 (15:14 +0000)]
Remove stale lockfiles if created on the same node.

13 years agoVarious smaller changes
Werner Koch [Tue, 27 Jun 2006 14:32:34 +0000 (14:32 +0000)]
Various smaller changes

13 years agoPorted patches from 1.4.x
Werner Koch [Tue, 27 Jun 2006 14:30:59 +0000 (14:30 +0000)]
Ported patches from 1.4.x

13 years agoPreparing a new release gnupg-1.9.21
Werner Koch [Tue, 20 Jun 2006 18:52:43 +0000 (18:52 +0000)]
Preparing a new release

13 years agoMade make distcheck work again
Werner Koch [Tue, 20 Jun 2006 17:47:10 +0000 (17:47 +0000)]
Made make distcheck work again

13 years agoUpdated FSF's address.
Werner Koch [Tue, 20 Jun 2006 17:21:37 +0000 (17:21 +0000)]
Updated FSF's address.

13 years agoAdd MAC t P12 files.
Werner Koch [Tue, 20 Jun 2006 15:48:09 +0000 (15:48 +0000)]
Add MAC t P12 files.

13 years agoAdded missing files
Werner Koch [Fri, 16 Jun 2006 11:49:27 +0000 (11:49 +0000)]
Added missing files

13 years ago2006-06-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 9 Jun 2006 11:32:22 +0000 (11:32 +0000)]
2006-06-09  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpgconf_LDADD): Add $(GPG_ERROR_LIBS).
(gpgkey2ssh_LDADD): Add ../jnlib/libjnlib.a.

13 years ago2006-06-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 9 Jun 2006 10:28:26 +0000 (10:28 +0000)]
2006-06-09  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpg_agent_LDADD): Add $(NETLIBS).
(gpg_protect_tool_LDADD): Likewise.
(gpg_preset_passphrase_LDADD): Likewise.

13 years agoagent/
Marcus Brinkmann [Fri, 9 Jun 2006 10:23:30 +0000 (10:23 +0000)]
agent/
2006-06-09  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpg_agent_LDADD): Add $(NETLIBS).

scd/
2006-06-09  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (scdaemon_LDADD): Add $(NETLIBS).

13 years ago2006-06-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 8 Jun 2006 12:17:38 +0000 (12:17 +0000)]
2006-06-08  Marcus Brinkmann  <marcus@g10code.de>

* asschk.c (__func__) [__STDC_VERSION__ < 199901L && __GNUC__ >= 2]:
Define macro to __FUNCTION__.
(die): Use __func__ instead of __FUNCTION__.

13 years ago2006-06-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 8 Jun 2006 11:57:18 +0000 (11:57 +0000)]
2006-06-08  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (PTH_LIBS): Add --all to pth-config invocation.

13 years agoStill making gpg2 work.
Werner Koch [Wed, 24 May 2006 11:12:28 +0000 (11:12 +0000)]
Still making gpg2 work.
At least the keyids are now correctly computed again.

13 years agog10/ does build again.
Werner Koch [Tue, 23 May 2006 16:19:43 +0000 (16:19 +0000)]
g10/ does build again.

13 years ago2006-05-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 22 May 2006 14:35:04 +0000 (14:35 +0000)]
2006-05-19  Marcus Brinkmann  <marcus@g10code.de>

* keydb.c (keydb_insert_cert): Do not lock here, but only check if
it is locked.
(keydb_store_cert): Lock here.

* keydb.h (keydb_delete): Accept new argument UNLOCK.
* keydb.c (keydb_delete): Likewise.  Only unlock if this is set.
* delete.c (delete_one): Add new argument to invocation of
keydb_delete.

13 years agoAdded sample certificates.
Werner Koch [Tue, 16 May 2006 09:54:41 +0000 (09:54 +0000)]
Added sample certificates.

13 years agoRepackaged PKITS_data.tar.bz2
Werner Koch [Tue, 2 May 2006 08:19:59 +0000 (08:19 +0000)]
Repackaged PKITS_data.tar.bz2

13 years agoFix for sanitize string. Added SHA224
Werner Koch [Fri, 28 Apr 2006 14:32:13 +0000 (14:32 +0000)]
Fix for sanitize string.  Added SHA224

13 years agoMerged recent changes from 1.4
Werner Koch [Fri, 28 Apr 2006 14:31:29 +0000 (14:31 +0000)]
Merged recent changes from 1.4

13 years agoStill merging 1.4.3 code back
Werner Koch [Fri, 21 Apr 2006 12:56:40 +0000 (12:56 +0000)]
Still merging 1.4.3 code back

13 years agoContinued with merging.
Werner Koch [Wed, 19 Apr 2006 13:24:36 +0000 (13:24 +0000)]
Continued with merging.
Still does not build.

13 years agoMerged with gpg 1.4.3 code.
Werner Koch [Wed, 19 Apr 2006 11:26:11 +0000 (11:26 +0000)]
Merged with gpg 1.4.3 code.
The gpg part does not yet build.

13 years ago2006-04-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 14 Apr 2006 20:40:00 +0000 (20:40 +0000)]
2006-04-14  Marcus Brinkmann  <marcus@g10code.de>

* app.c (select_application): Cover up a slot mismatch error in
case it happens (it shouldn't happen).
(release_application): Use APP->slot.  Lock the reader.
(application_notify_card_removed): Lock the reader.

13 years agoAdded command APDU
Werner Koch [Tue, 11 Apr 2006 13:53:21 +0000 (13:53 +0000)]
Added command APDU

13 years ago2006-04-09 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sun, 9 Apr 2006 11:31:37 +0000 (11:31 +0000)]
2006-04-09  Moritz Schulte  <moritz@g10code.com>

* command-ssh.c (ssh_request_process): Removed FIXME mentioning a
possible DoS attack.

13 years agoRenamed
Werner Koch [Wed, 5 Apr 2006 17:00:13 +0000 (17:00 +0000)]
Renamed

13 years ago2006-04-01 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 1 Apr 2006 11:04:14 +0000 (11:04 +0000)]
2006-04-01  Moritz Schulte  <moritz@g10code.com>

* command-ssh.c (ssh_identity_register): Make KEY_GRIP_RAW be 20
instead of 21 bytes long; do not fill KEY_GRIP_RAW[20] with NUL
byte - KEY_GRIP_RAW is a raw binary string anyway.

13 years agoAllo RMD160 signatures
Werner Koch [Tue, 21 Mar 2006 12:48:51 +0000 (12:48 +0000)]
Allo RMD160 signatures

13 years agoAdd Kludge for RegTP sillyness.
Werner Koch [Tue, 21 Mar 2006 09:56:47 +0000 (09:56 +0000)]
Add Kludge for RegTP sillyness.

13 years agoFixed card removal problems
Werner Koch [Wed, 1 Mar 2006 11:05:47 +0000 (11:05 +0000)]
Fixed card removal problems

13 years agoBetter warning messages
Werner Koch [Sun, 19 Feb 2006 22:09:10 +0000 (22:09 +0000)]
Better warning messages

13 years agoAdded documentation for qualified signatures
Werner Koch [Tue, 14 Feb 2006 13:34:23 +0000 (13:34 +0000)]
Added documentation for qualified signatures

13 years agoPIN caching of cards does now work.
Werner Koch [Thu, 9 Feb 2006 18:29:31 +0000 (18:29 +0000)]
PIN caching of cards does now work.

13 years agoFixed a couple of problems with omnikey based readers
Werner Koch [Wed, 8 Feb 2006 17:56:01 +0000 (17:56 +0000)]
Fixed a couple of problems with omnikey based readers

13 years ago.
Werner Koch [Mon, 6 Feb 2006 18:31:27 +0000 (18:31 +0000)]
.

13 years agoSupport for CardMan 4040
Werner Koch [Mon, 6 Feb 2006 16:13:20 +0000 (16:13 +0000)]
Support for CardMan 4040

13 years agopost release preparations
Werner Koch [Tue, 20 Dec 2005 11:12:16 +0000 (11:12 +0000)]
post release preparations

13 years agoPreparing a released gnupg-1.9.20
Werner Koch [Tue, 20 Dec 2005 10:26:32 +0000 (10:26 +0000)]
Preparing a released

13 years agoFixed importing certs created by newer versions of Mozilla.
Werner Koch [Fri, 16 Dec 2005 15:52:48 +0000 (15:52 +0000)]
Fixed importing certs created by newer versions of Mozilla.

13 years agoAdd support for direct pkcs#7 signatures
Werner Koch [Wed, 14 Dec 2005 09:55:40 +0000 (09:55 +0000)]
Add support for direct pkcs#7 signatures

13 years agoPrint warning for missing pcsc-wrapper
Werner Koch [Tue, 6 Dec 2005 16:44:20 +0000 (16:44 +0000)]
Print warning for missing pcsc-wrapper

13 years agoPreparing an interim release
Werner Koch [Mon, 28 Nov 2005 11:52:25 +0000 (11:52 +0000)]
Preparing an interim release

13 years agoAdd translations
Werner Koch [Wed, 23 Nov 2005 12:38:38 +0000 (12:38 +0000)]
Add translations

13 years agoPrint a note that the software has not been approved for qualified signatures.
Werner Koch [Wed, 23 Nov 2005 09:05:45 +0000 (09:05 +0000)]
Print a note that the software has not been approved for qualified signatures.

13 years agoDon't use keywords for signed files.
Werner Koch [Mon, 14 Nov 2005 13:11:15 +0000 (13:11 +0000)]
Don't use keywords for signed files.

13 years agoAdded signature property
Werner Koch [Mon, 14 Nov 2005 13:02:59 +0000 (13:02 +0000)]
Added signature property

13 years ago.
Werner Koch [Mon, 14 Nov 2005 12:59:55 +0000 (12:59 +0000)]
.

13 years agoAdded real information
Werner Koch [Mon, 14 Nov 2005 12:50:59 +0000 (12:50 +0000)]
Added real information

13 years agoAdded qualified signature features.
Werner Koch [Sun, 13 Nov 2005 19:07:06 +0000 (19:07 +0000)]
Added qualified signature features.

13 years agoNEw file qualified.ttx - not yet ready for distribution
Werner Koch [Sun, 13 Nov 2005 19:05:00 +0000 (19:05 +0000)]
NEw file qualified.ttx - not yet ready for distribution

13 years ago2005-10-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 8 Oct 2005 00:17:09 +0000 (00:17 +0000)]
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (watchgnupg_LDADD): New variable.

13 years agoagent/
Marcus Brinkmann [Sat, 8 Oct 2005 00:13:27 +0000 (00:13 +0000)]
agent/
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpg_protect_tool_LDADD): Add ../gl/libgnu.a.
(gpg_preset_passphrase_LDADD, t_common_ldadd): Likewise.
(gpg_agent_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a.

kbx/
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (kbxutil_LDADD): Add ../gl/libgnu.a after
../jnlib/libjnlib.a.

scd/
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (scdaemon_LDADD): Add ../gl/libgnu.a after
../common/libcommon.a.
sm/
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpgsm_LDADD): Add ../gl/libgnu.a after
../common/libcommon.a.

tools/
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after
../common/libcommon.a.
(symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD):
Likewise.

13 years ago2005-10-08 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 7 Oct 2005 23:46:36 +0000 (23:46 +0000)]
2005-10-08  Marcus Brinkmann  <marcus@g10code.de>

* signal.c (get_signal_name): Check value of HAVE_DECL_SYS_SIGLIST
instead of just if it is defined.

13 years ago2005-10-07 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 7 Oct 2005 13:09:20 +0000 (13:09 +0000)]
2005-10-07  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (TESTS_ENVIRONMENT): Remove LD_LIBRARY_PATH hack.
It's the responsibility of the person building the software to set
it properly.

13 years ago2005-09-28 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 28 Sep 2005 22:45:05 +0000 (22:45 +0000)]
2005-09-28  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS).

13 years ago2005-09-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 28 Sep 2005 22:44:20 +0000 (22:44 +0000)]
2005-09-29  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (AM_CFLAGS): Add $(LIBGCRYPT_CFLAGS).

13 years agoFixed padding in pkcs#12
Werner Koch [Fri, 16 Sep 2005 12:49:53 +0000 (12:49 +0000)]
Fixed padding in pkcs#12

13 years ago2005-09-15 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 15 Sep 2005 17:36:30 +0000 (17:36 +0000)]
2005-09-15  Moritz Schulte  <moritz@g10code.com>

* t-protect.c (test_agent_protect): Implemented.
(main): Disable use of secure memory.

13 years agoAbout to release 1.9.19 V1-9-19
Werner Koch [Mon, 12 Sep 2005 08:23:33 +0000 (08:23 +0000)]
About to release 1.9.19

13 years agoFixed yesterdays change. Importing to Outlook seems to work now.
Werner Koch [Fri, 9 Sep 2005 13:48:48 +0000 (13:48 +0000)]
Fixed yesterdays change.  Importing to Outlook seems to work now.

13 years agoBug fixes and ssh support for the BELPIC.
Werner Koch [Fri, 9 Sep 2005 11:18:08 +0000 (11:18 +0000)]
Bug fixes and ssh support for the BELPIC.

13 years agoThe BELPIC card does now work.
Werner Koch [Tue, 6 Sep 2005 18:42:13 +0000 (18:42 +0000)]
The BELPIC card does now work.

13 years agoChanged license of this parser to LPGL.
Werner Koch [Tue, 6 Sep 2005 10:25:41 +0000 (10:25 +0000)]
Changed license of this parser to LPGL.

13 years agoBasically made Belgian EID cards work.
Werner Koch [Mon, 5 Sep 2005 14:36:36 +0000 (14:36 +0000)]
Basically made Belgian EID cards work.
Signature creation has not yet been tested.
Also other changes to better cope with T=0 cards.

13 years agoUse a default argument for --write-env-file.
Werner Koch [Tue, 16 Aug 2005 09:15:09 +0000 (09:15 +0000)]
Use a default argument for --write-env-file.

13 years agoAbout to release 1.9.18 V1-9-18
Werner Koch [Mon, 1 Aug 2005 16:54:54 +0000 (16:54 +0000)]
About to release 1.9.18

13 years agoFixed Umlaut problem
Werner Koch [Mon, 1 Aug 2005 13:17:42 +0000 (13:17 +0000)]
Fixed Umlaut problem

13 years ago* findkey.c (agent_public_key_from_file): Fixed array assignment.
Werner Koch [Mon, 25 Jul 2005 14:35:04 +0000 (14:35 +0000)]
* findkey.c (agent_public_key_from_file): Fixed array assignment.
This was the cause for random segvs.

* call-agent.c (gpgsm_agent_readkey): New.

13 years ago* gpgsm.c (main): New options --no-log-file and --debug-none.
Werner Koch [Thu, 21 Jul 2005 18:29:13 +0000 (18:29 +0000)]
* gpgsm.c (main): New options --no-log-file and --debug-none.

* certreqgen.c (get_parameter, get_parameter_value): Add SEQ arg
to allow enumeration.  Changed all callers.
(create_request): Process DNS and URI parameters.

* gpgsm-gencert.sh: Reworked to allow for multiple email addresses
as well as DNsanmes and URi.  Present the parameter file before
creating the certificate.

13 years agoFix to let it compile. This is not required but avoids complaints
Werner Koch [Wed, 20 Jul 2005 16:08:15 +0000 (16:08 +0000)]
Fix to let it compile.  This is not required but avoids complaints
from folks not reading the documentation.

13 years ago* keylist.c (email_kludge): Reworked.
Werner Koch [Wed, 20 Jul 2005 15:05:05 +0000 (15:05 +0000)]
* keylist.c (email_kludge): Reworked.

* certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf
arg to unsigned.
* call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto

13 years ago(gpgsm_get_certid): Cast printf arg to unsigned.
Werner Koch [Tue, 19 Jul 2005 11:23:02 +0000 (11:23 +0000)]
(gpgsm_get_certid): Cast printf arg to unsigned.
Bug accidently introduced while solving the #$%^& gcc
signed/unsigned char* warnings.

13 years ago2005-07-04 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 4 Jul 2005 04:58:04 +0000 (04:58 +0000)]
2005-07-04  Marcus Brinkmann  <marcus@g10code.de>

* symcryptrun.c (SYMC_BAD_PASSPHRASE, SYMC_CANCELED): New symbols,
use instead constants.
(hash_string): New function copied from simple-gettext.c.
(confucius_get_pass): Take new argument CACHEID.
(confucius_process): Calculate cacheid and pass it to
confucius_get_pass.  Clear passphrase from cache if necessary.

13 years ago2005-07-04 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 4 Jul 2005 04:55:48 +0000 (04:55 +0000)]
2005-07-04  Marcus Brinkmann  <marcus@g10code.de>

* simple-pwquery.h (simple_pwclear): New prototype.
* simple-pwquery.c (simple_pwclear): New function.

13 years ago(data_sign): Removed empty statement.
Werner Koch [Wed, 29 Jun 2005 14:12:18 +0000 (14:12 +0000)]
(data_sign): Removed empty statement.

14 years agopost release version number update
Werner Koch [Mon, 20 Jun 2005 17:52:13 +0000 (17:52 +0000)]
post release version number update

14 years agoPreparing 1.9.17 V1-9-17
Werner Koch [Mon, 20 Jun 2005 17:32:44 +0000 (17:32 +0000)]
Preparing 1.9.17

14 years agogcc-4 defaults forced me to edit many many files to get rid of the
Werner Koch [Thu, 16 Jun 2005 08:12:03 +0000 (08:12 +0000)]
gcc-4 defaults forced me to edit many many files to get rid of the
char * vs. unsigned char * warnings.  The GNU coding standards used to
say that these mismatches are okay and better than a bunch of casts.
Obviously this has changed now.

14 years agoNew debugging optionhs, updates to the manual.
Werner Koch [Tue, 7 Jun 2005 19:09:18 +0000 (19:09 +0000)]
New debugging optionhs, updates to the manual.

14 years ago2005-06-04 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Sat, 4 Jun 2005 12:57:26 +0000 (12:57 +0000)]
2005-06-04  Marcus Brinkmann  <marcus@g10code.de>

* symcryptrun.c (main): Allow any number of arguments, don't use
first argument as input file name.  Pass extra arguments to
confucius_main.
(confucius_main): Accept new arguments argc and argv and pass them
to confucius_process.
(confucius_process): Accept new arguments argc and argv and pass
them to the confucius process.

14 years ago* command.c (cmd_updatestartuptty): New.
Werner Koch [Fri, 3 Jun 2005 13:57:24 +0000 (13:57 +0000)]
* command.c (cmd_updatestartuptty): New.

* gpg-agent.c: New option --write-env-file.

* gpg-agent.c (handle_connections): Make sure that the signals we
are handling are not blocked.Block signals while creating new
threads.

* estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H!
(es_func_fd_read, es_func_fd_write): Protect against EINTR.

* gpg-agent.texi (Agent UPDATESTARTUPTTY): New.

* scdaemon.c (handle_connections): Make sure that the signals we
are handling are not blocked.Block signals while creating new
threads.
(handle_connections): Include the file descriptor into the name of
the thread.

14 years agoAdd stuff from gnulib.
Werner Koch [Wed, 1 Jun 2005 15:48:03 +0000 (15:48 +0000)]
Add stuff from gnulib.

14 years ago* configure.ac (gl_INIT): Add gnulib stuff.
Werner Koch [Wed, 1 Jun 2005 15:46:01 +0000 (15:46 +0000)]
* configure.ac (gl_INIT): Add gnulib stuff.
(fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS
by a simple check.
(putc_unlocked): Removed check.  Not used.
(strsep, mkdtemp, asprintf): Replaced checks by gnulib checks.
(xsize): Added will probably come handy soon.
(CFLAGS): Use -Wformat-security instead of
-Wformat-nonliteral. Add --Wno-format-y2k.
* gl/, gl/m4/: New.

* gpg-agent.c: Include setenv.h.

* Makefile.am (AM_CPPFLAGS): Added.

* util.h: Add some includes for gnulib.
(ttyname, isascii): Define them inline.
* fseeko.c, ftello.c: Removed.
* strsep.c, mkdtemp.c: Removed.
* ttyname.c, isascii.c: Removed.

* mkdtemp.c: Removed.
* exec.c: Include mkdtemp.h

* keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement
function.  Copied from ../common/ftello.c.
* keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement
function.  Copied from ../common/iobuf.c.

* scdaemon.c: Include mkdtemp.h.

* misc.c: Include setenv.h.

* symcryptrun.c: Include mkdtemp.h.

14 years ago* agent.h (out_of_core): s/__inline__/inine. Noted by Ray Link.
Werner Koch [Tue, 31 May 2005 20:03:04 +0000 (20:03 +0000)]
* agent.h (out_of_core): s/__inline__/inine.  Noted by Ray Link.

* dynload.h: s/__inline__/inline/.

* tlv.c [GNUPG_MAJOR_VERSION==1]: Define constants instead of
including a gnupg 1.4 header.

* watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines.
Noted by Ray Link.

14 years ago2005-05-28 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 28 May 2005 13:43:21 +0000 (13:43 +0000)]
2005-05-28  Moritz Schulte  <moritz@g10code.com>

* gpgkey2ssh.c: New file.
* Makefile.am (bin_PROGRAMS): Added gpgkey2ssh.

14 years ago* call-scd.c (inq_needpin): Skip leading spaces in of PIN
Werner Koch [Tue, 24 May 2005 12:37:36 +0000 (12:37 +0000)]
* call-scd.c (inq_needpin): Skip leading spaces in of PIN
description.
* divert-scd.c (getpin_cb): Enhanced to cope with description
flags.
* query.c (agent_askpin): Add arg PROMPT_TEXT. Changed all
callers.

14 years ago* Makefile.am: Do not build sc-copykeys anymore.
Werner Koch [Mon, 23 May 2005 20:18:13 +0000 (20:18 +0000)]
* Makefile.am: Do not build sc-copykeys anymore.

* app-openpgp.c (app_openpgp_storekey, app_openpgp_readkey)
(app_openpgp_cardinfo): Removed.

14 years ago(parse_ccid_descriptor): SCR335 FW version 5.14 is
Werner Koch [Mon, 23 May 2005 14:17:22 +0000 (14:17 +0000)]
(parse_ccid_descriptor): SCR335 FW version 5.14 is
good.
(do_close_reader): Never do a reset. The caller should instead
make sure that the reader has been closed properly.  The new retry
code in ccid_slot_status will make sure that the readersatrts up
fine even if the last process didn't closed the USB connection
properly.
(ccid_get_atr): For certain readers try switching to ISO mode.
Thanks to Ludovic Rousseau for this hint and the magic numbers.
(print_command_failed): New.
(bulk_in): Use it here. Add new arg NO_DEBUG.

14 years ago* call-scd.c (start_scd): Don't test for an alive scdaemon here.
Werner Koch [Sat, 21 May 2005 18:49:00 +0000 (18:49 +0000)]
* call-scd.c (start_scd): Don't test for an alive scdaemon here.
(agent_scd_check_aliveness): New.
* gpg-agent.c (handle_tick): Test for an alive scdaemon.
(handle_signal): Print thread info on SIGUSR1.

* scdaemon.c (handle_signal): Print thread info on SIGUSR1.

14 years ago* protect-tool.c: New option --canonical.
Werner Koch [Fri, 20 May 2005 20:39:36 +0000 (20:39 +0000)]
* protect-tool.c: New option --canonical.
(show_file): Implement it.

* keyformat.txt: Define the created-at attribute for keys.

* ccid-driver.c: Replaced macro DEBUG_T1 by a new debug level.
(parse_ccid_descriptor): Mark SCR335 firmware version 5.18 good.
(ccid_transceive): Arghhh.  The seqno is another bit in the
R-block than in the I block, this was wrong at one place.

* scdaemon.c: New options --debug-ccid-driver and
--debug-disable-ticker.

* app-openpgp.c (do_genkey, do_writekey): Factored code to check
for existing key out into ..
(does_key_exist): .. New function.

* gpg-connect-agent.c (add_definq, show_definq, clear_definq)
(handle_inquire): New.
(read_and_print_response): Handle INQUIRE command.
(main): Implement control commands.

14 years agoChanged the scdaemon to handle concurrent sessions. Adjusted
Werner Koch [Wed, 18 May 2005 10:48:06 +0000 (10:48 +0000)]
Changed the scdaemon to handle concurrent sessions.  Adjusted
gpg-agent accordingly. Code cleanups.

14 years ago(got_fatal_signal): Print the signal number if we can't
Werner Koch [Fri, 13 May 2005 12:43:07 +0000 (12:43 +0000)]
(got_fatal_signal): Print the signal number if we can't
get a name for it.
(get_signal_name): Return NULL if no name is available. Fixed
conditional for sys_siglist to the correct one.

14 years ago(got_fatal_signal): Print the signal number if we can't
Werner Koch [Fri, 13 May 2005 12:37:52 +0000 (12:37 +0000)]
(got_fatal_signal): Print the signal number if we can't
get a name for it.
(get_signal_name): Return NULL if no name is available.

14 years ago2005-05-05 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 5 May 2005 14:57:59 +0000 (14:57 +0000)]
2005-05-05  Moritz Schulte  <moritz@g10code.com>

* command-ssh.c: Use ssh_key_grip(), where
        gcry_pk_get_keygrip() has been used before.
(ssh_handler_sign_request): Removed unusued variable P.

14 years ago2005-05-05 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 5 May 2005 14:49:54 +0000 (14:49 +0000)]
2005-05-05  Moritz Schulte  <moritz@g10code.com>

* command-ssh.c (ssh_key_to_buffer): Rename to ...
(ssh_key_to_protected_buffer): ... this; change callers.
Improved documentation.

14 years ago* app-p15.c (micardo_mse): New.
Werner Koch [Wed, 27 Apr 2005 19:47:53 +0000 (19:47 +0000)]
* app-p15.c (micardo_mse): New.
(do_sign): Call it.
* iso7816.c (iso7816_manage_security_env): Allow passing DATA as
NULL to indicate an empty Lc.
* tlv.c (find_tlv): Check that a found object fits into the
buffer.
(find_tlv_unchecked): New as replacement for the old non-checking
variant.
* app.c (select_application): Keep on using the non-checking
variant.
* app-openpgp.c (get_one_do, dump_all_do): Ditto.