aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2015-08-12 00:28:26 +0000
committerDaniel Kahn Gillmor <[email protected]>2019-07-20 18:16:19 +0000
commit337ae2374e793fb8722128abee6ad7e4cec87ae7 (patch)
tree908150469b59ffff5a2f256690b2c0534ceec505 /dirmngr/dirmngr.c
parentRelease 2.2.17 (diff)
downloadgnupg-337ae2374e793fb8722128abee6ad7e4cec87ae7.tar.gz
gnupg-337ae2374e793fb8722128abee6ad7e4cec87ae7.zip
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
Diffstat (limited to 'dirmngr/dirmngr.c')
0 files changed, 0 insertions, 0 deletions