Skip to content

Add unbound members group access to control key#1220

Merged
gthess merged 1 commit into
NLnetLabs:masterfrom
InfrastructureServices:unbound-control-group-key
Jan 24, 2025
Merged

Add unbound members group access to control key#1220
gthess merged 1 commit into
NLnetLabs:masterfrom
InfrastructureServices:unbound-control-group-key

Conversation

@pemensik

Copy link
Copy Markdown
Contributor

Recent openssl genrsa does not use umask for generated keys. There is no strong reason why every member of unbound group should be able read server key. But control key would be quite useful to be group readable and to allow control access to whole group. Allowing access to control by group membership, not via sudo.

@pemensik pemensik force-pushed the unbound-control-group-key branch from 4222050 to 0d0f45c Compare January 14, 2025 13:33
Recent openssl genrsa does not use umask for generated keys. There is no
strong reason why every member of unbound group should be able read
server key. But control key would be quite useful to be group readable
and to allow control access to whole group. Allowing access to control
by group membership, not via sudo.
@pemensik pemensik force-pushed the unbound-control-group-key branch from 0d0f45c to f4881bd Compare January 14, 2025 13:35
@gthess gthess self-assigned this Jan 24, 2025

@gthess gthess left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
The old situation was that the group was getting read access on keys and public certificates implicitly.
The current situation is that the group is not getting any read access on keys.
The new situation will be that the group will gain read access on the control key (the one clients need to connect to the server part- Unbound).

@gthess gthess merged commit b48958c into NLnetLabs:master Jan 24, 2025
gthess added a commit that referenced this pull request Jan 24, 2025
- Merge #1220 from Petr Menšík, Add unbound members group access to
  control key.
jedisct1 added a commit to jedisct1/unbound that referenced this pull request Mar 18, 2025
* nlnet/master: (37 commits)
  - Fix for windows compile create ssl contexts.
  - Fix NLnetLabs#1251: WSAPoll first argument cannot be NULL.
  - Fix representation of types GPOS and RESINFO, add rdf type for
  - Fix 'unbound-control flush_negative' when reporting removed data;   reported by David 'eqvinox' Lamparter.
  Changelog nore for NLnetLabs#1238 and add `--help` description. - Merge NLnetLabs#1238: Prefer SOURCE_DATE_EPOCH over actual time.   Add --help output description for the SOURCE_DATE_EPOCH variable.
  Prefer SOURCE_DATE_EPOCH over actual time (NLnetLabs#1238)
  Changelog note for NLnetLabs#1243 - Merge NLnetLabs#1243: Do not shadow tm on line 236.
  Do not shadow tm on line 236. (NLnetLabs#1243)
  - Fix hash calculation for cachedb to ignore case. Previously, cached   records there were only relevant for same case queries (if not   already in Unbound's internal cache).
  Changelog entry for NLnetLabs#1241: - Merge NLnetLabs#1241: Fix infra-keep-probing for low infra-cache-max-rtt   values.
  - The maximum value of a probe rto was not aligned with the   (configurable) infra-cache-max-rtt value. That could result in   infra-keep-probing not working if an infra-cache-max-rtt value was chosen   that was below 12000 ms. This fix still uses a default value of 12000   ms for the probe but caps it to the infra-cache-max-rtt if that is   lower.
  - Fix static analysis report about unhandled EOF on error conditions   when reading anchor key files.
  - Consider reconfigurations when calculating the still_useful_timeout   for servers in the infrastructure cache.
  - Fix NLnetLabs#986: Resolving sas.com with dnssec-validation fails though   signed delegations seem to be (mostly) correct.
  - Make the default value of module-config "validator iterator"   regardless of compilation options. --enable-subnet would implicitly   change the value to enable the subnetcache module by default in the   past.
  Changelog entry for NLnetLabs#1220: - Merge NLnetLabs#1220 from Petr Menšík, Add unbound members group access to   control key.
  Changelog entry for NLnetLabs#1224: - Merge NLnetLabs#1224 from Theo Buehler: Do not use DSA API unless USE_DSA is   set.
  Changelog note for NLnetLabs#1229 - Merge NLnetLabs#1229: check before use daemon->shm_info.
  check before use daemon->shm_info (NLnetLabs#1229)
  - Do not open unencrypted channels next to encrypted ones on the same   port.
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants