Home GnuPG
Diffusion GnuPG 8127043d549a

Explicitly restrict socket permissions.
8127043d549aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Explicitly restrict socket permissions.

* agent/gpg-agent.c (create_server_socket): Call chmod before listen.
* scd/scdaemon.c (create_server_socket): Ditto.
* dirmngr/dirmngr.c (main): Ditto.

This is just in case of a improperly set umask. Note that a connect
requires a write permissions.

Details

Provenance
wernerAuthored on Jun 8 2016, 4:18 PM
Parents
rG6790115fd905: w32: Fix recent build regression.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG8127043d549a: Explicitly restrict socket permissions. (authored by Werner Koch <wk@gnupg.org>).Jun 8 2016, 4:18 PM