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

Produce serial number selector in x509pop NodeAttestor #4216

Merged
merged 5 commits into from
Jun 14, 2023

Conversation

rturner3
Copy link
Collaborator

@rturner3 rturner3 commented Jun 2, 2023

The serial number of an X.509 certificate is supposed to be unique and may be a useful way to organize authorized workload entries.

Which issue this PR fixes
Fixes #4215

The serial number of an X.509 certificate is supposed to be unique and
may be a useful way to organize authorized workload entries.

Signed-off-by: Ryan Turner <turner@uber.com>
Ryan Turner added 3 commits June 8, 2023 14:16
Signed-off-by: Ryan Turner <turner@uber.com>
…ate parameter

Also remove mention of Subject.CommonName as a path template field, as
it is different from the certificate serial number.

Signed-off-by: Ryan Turner <turner@uber.com>
Signed-off-by: Ryan Turner <turner@uber.com>
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

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

Looks great @rturner3, thank you!

@evan2645 evan2645 merged commit d3d6164 into spiffe:main Jun 14, 2023
@evan2645 evan2645 added this to the 1.7.1 milestone Jun 14, 2023
Neniel pushed a commit to Neniel/spire that referenced this pull request Jul 21, 2023
* Produce serial number selector in x509pop NodeAttestor

The serial number of an X.509 certificate is supposed to be unique and
may be a useful way to organize authorized workload entries.

Signed-off-by: Ryan Turner <turner@uber.com>

* Represent serial number as hex

Signed-off-by: Ryan Turner <turner@uber.com>

* Document x509pop serialnumber selector and Agent SPIFFE ID path template parameter

Also remove mention of Subject.CommonName as a path template field, as
it is different from the certificate serial number.

Signed-off-by: Ryan Turner <turner@uber.com>

* Fix agent ID path template field name

Signed-off-by: Ryan Turner <turner@uber.com>

---------

Signed-off-by: Ryan Turner <turner@uber.com>
Co-authored-by: Evan Gilman <evan@spirl.com>
Signed-off-by: Neniel <11655196+Neniel@users.noreply.github.com>
Neniel pushed a commit to Neniel/spire that referenced this pull request Aug 24, 2023
* Produce serial number selector in x509pop NodeAttestor

The serial number of an X.509 certificate is supposed to be unique and
may be a useful way to organize authorized workload entries.

Signed-off-by: Ryan Turner <turner@uber.com>

* Represent serial number as hex

Signed-off-by: Ryan Turner <turner@uber.com>

* Document x509pop serialnumber selector and Agent SPIFFE ID path template parameter

Also remove mention of Subject.CommonName as a path template field, as
it is different from the certificate serial number.

Signed-off-by: Ryan Turner <turner@uber.com>

* Fix agent ID path template field name

Signed-off-by: Ryan Turner <turner@uber.com>

---------

Signed-off-by: Ryan Turner <turner@uber.com>
Co-authored-by: Evan Gilman <evan@spirl.com>
Signed-off-by: Neniel <11655196+Neniel@users.noreply.github.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 this pull request may close these issues.

Produce serial number node selector in x509pop NodeAttestor plugin
3 participants