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

Export PeerIDFromConnectionState #225

Merged
merged 2 commits into from
May 26, 2023

Conversation

sorindumitru
Copy link
Contributor

This was mentioned on Slack that it could useful to have to be able extract the SPIFFE ID from a http.Request strucutre.

This was mentioned on Slack that it could useful to have.

Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
Copy link
Member

@azdagron azdagron left a comment

Choose a reason for hiding this comment

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

Thanks, this has been a long time coming :) When the library was first written, we didn't want to export until we had a chance to maybe determine a better way. But that effort never bore fruit and I myself have copied this half a dozen times into various projects.

@azdagron azdagron merged commit 8baa594 into spiffe:main May 26, 2023
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