Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run tests with -race #72

Closed
boz opened this issue Aug 25, 2017 · 0 comments · Fixed by #84
Closed

run tests with -race #72

boz opened this issue Aug 25, 2017 · 0 comments · Fixed by #84

Comments

@boz
Copy link
Contributor

boz commented Aug 25, 2017

To detect possible race conditions.

edit: i usually have two modes - one quick without -race for edit-test cycle, one with -race for CI and occasionally running by hand.

rodrigolc added a commit to rodrigolc/spire that referenced this issue Sep 12, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Sep 12, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Oct 14, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Oct 17, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Oct 25, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Nov 21, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Dec 6, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com>
rodrigolc added a commit to rodrigolc/spire that referenced this issue Dec 7, 2022
* refactor: removed intermediate variables for error messages

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: changed log lines

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: refactored SelectorValuesFromSignature returns and vars

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* fix: removed trailing comma from log line

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: moved from nil testing to len testing

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* refactor: minor fixes to getSignatureSubject

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

* lint: removed newline

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>

Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com>
ajessup pushed a commit to ajessup/spire that referenced this issue Feb 1, 2023
* Clarify the One-SPIFFE-ID-Per-SVID rule
From the very first version of the X.509-SVID specification, a requirement has been set that an SVID may contain one and only one SPIFFE ID. Users requiring more than one identity must use multiple SVIDs, as opposed to a single SVID representing multiple identities.

SIG-Spec has re-visited this restriction. After a lengthy discussion, consensus was reached that the rule should stand. There were two primary concerns in relaxing this restriction: 1) Audit logging would become more difficult, as an authenticator would have to understand which identity is the one that was in fact authorized, and 2) authorization would become more difficult, and SPIFFE is not in a position to provide authorization instructions with regards to how policies governing multiple SPIFFE IDs should be combined.

It was acknowledged that it would be useful to include multiple SPIFFE IDs in the context of a server certificate, however workloads may choose to use the same SVID as both server and client certificates, and the complexity introduced in allowing such a concession was decidedly more dangerous than simply keeping the restriction in place.

This commit:
1. Updates the text to give a short explanation on the existence of the restriction
1. Updates the text to specify what a validator should do when encountering multiple SPIFFE IDs in an SVID
1. Clarifies SVID validation of signing certificates
1. Fixes spiffe#32

Signed-off-by: Evan Gilman <egilman@vmware.com>
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 a pull request may close this issue.

1 participant