Chromium Code Reviews
Descriptiontoken-server: Make machine token minter config apply to subdomains.
Token server is configured with a list of domains it is allowed to mint machine
tokens for. This list used to be matched exactly, e.g a cert with Common Name
"machine.sub.example.com" can be exchanged to a machine token only if
"sub.example.com" is listed in the config.
This change relaxes this rule and allows configured domains to match subdomains
too.
Also cleanup some stale assumptions in comments and code.
R=smut@google.com, iannucci@chromium.org
BUG=732467
Review-Url: https://codereview.chromium.org/2952723003
Committed: https://github.com/luci/luci-go/commit/7e4835b3ee45d01e99c04376b7bcfb741c6960fb
Patch Set 1 #
Total comments: 5
Patch Set 2 : typo #
Messages
Total messages: 10 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||