gnupg/scd
Daniel Kahn Gillmor 337ae2374e Avoid simple memory dumps via ptrace
This avoids needing to setgid gpg-agent.  It probably doesn't defend
against all possible attacks, but it defends against one specific (and
easy) one.  If there are other protections we should do them too.

This will make it slightly harder to debug the agent because the
normal user won't be able to attach gdb to it directly while it runs.

The remaining options for debugging are:

 * launch the agent from gdb directly
 * connect gdb to a running agent as the superuser

Upstream bug: https://dev.gnupg.org/T1211

Gbp-Pq: Topic block-ptrace-on-secret-daemons
Gbp-Pq: Name Avoid-simple-memory-dumps-via-ptrace.patch
2019-07-20 14:16:19 -04:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
apdu.c scd: Distinguish cancel by user and protocol error. 2019-02-19 15:51:14 +09:00
apdu.h scd: Distinguish cancel by user and protocol error. 2019-02-19 15:51:14 +09:00
app-common.h scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01:00
app-dinsig.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-geldkarte.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-help.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-nks.c scd: Add option --clear to PASSWD. 2019-01-22 10:14:55 +01:00
app-openpgp.c spelling: Fix "synchronize" 2019-06-23 20:17:47 -04:00
app-p15.c scd: Relax a condition for p15 driver. 2017-04-10 13:18:30 +09:00
app-sc-hsm.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app.c scd: Don't let the "undefined" app cause a conflict error. 2019-02-25 08:50:31 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c spelling: Fix "synchronize" 2019-06-23 20:17:47 -04:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-12-18 10:18:23 +09:00
command.c scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01:00
iso7816.c scd: Distinguish cancel by user and protocol error. 2019-02-19 15:51:14 +09:00
iso7816.h scd: Make app_genkey and supporting ISO function more flexible. 2019-02-11 10:59:32 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c Avoid simple memory dumps via ptrace 2019-07-20 14:16:19 -04:00
scdaemon.h scd: Add option --clear to PASSWD. 2019-01-22 10:14:55 +01:00