1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Daniel Kahn Gillmor 371c2b14b0 gpg: Warn about (but don't fail) on scdaemon options in gpg.conf.
* g10/gpg.c: Add config options that should belong in scdaemon.conf
* g10/main.h, g10/misc.c (obsolete_scdaemon_option): New.

--

In gpg2, the following options are only relevant for scdaemon:

 reader-port
 ctapi-driver
 pcsc-driver
 disable-ccid

but in gpg1, they are options for gpg itself.

Some users of gpg1 might have these options in their
~/.gnupg/gpg.conf, which causes gpg2 to fail hard if it reads that
config file.

gpg2 should not fail hard, though giving a warning (and suggesting a
move to scdaemon.conf) seems OK.

This patch does *not* reintroduce any documentation for these options
in gpg.texi, even to indicate that they are "dummy" options, since
scdaemon.texi contains the appropriate documentation.

Debian-bug-id: 762844

- Program names factored out from obsolete_scdaemon_option to make
  reuse without new translations easier. -wk
2014-09-25 22:05:29 +02:00
..
2014-07-23 14:35:22 +02:00
2014-01-31 14:35:49 +01:00
2007-07-04 19:49:40 +00:00
2014-08-14 15:21:21 +02:00
2013-11-15 15:49:34 +01:00
2014-08-13 10:11:36 +02:00
2014-08-13 10:11:36 +02:00
2014-08-13 10:11:36 +02:00
2014-08-14 15:21:21 +02:00
2014-04-28 10:36:16 +09:00
2014-09-17 15:12:08 +02:00
2008-12-12 08:54:50 +00:00
2014-03-06 16:23:10 +09:00
2014-01-29 17:45:05 +01:00