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

ssl session cache, exportable flag #16322

Closed
wants to merge 3 commits into from
Closed

Conversation

icing
Copy link
Contributor

@icing icing commented Feb 13, 2025

Add flag exportable to SSL session cache peers, set to TRUE when sessions for this peer can be exported. This evalualtes if the peer uses confidential information (like srp username/password), a client certificate OR if the "ssl_peer_key" contains relative paths.

When SSL is configured with paths for relevant components, like CA trust anchors, an attempt is made to make this path absolute. When that does not work or the infrstructure is not available, the peer key is marked as local.

Exporting sessions based on relative paths may lead to confusion when later imported in another execution context.

Give peers and `exportable` flag, set TRUE when sessions for
this peer should not be exported. This evalualtes if the peer
uses confidential information (like srp username/password),
a client certificate OR if the "ssl_peer_key" contains relative
paths.

When SSL is configured with paths for relevant components, like
CA trust anchors, an attempt is made to make this path absolute.
When that does not work or the infrstructure is not available, the
peer key is marked as *local*.

Exporting sessions based on relative paths may lead to confusion
when later imported in another execution context.
@github-actions github-actions bot added the TLS label Feb 13, 2025
@bagder
Copy link
Member

bagder commented Feb 13, 2025

Give peers and exportable flag, set TRUE when sessions for this peer should not be exported

Really? Was this a typo? It sounds... odd.

@icing
Copy link
Contributor Author

icing commented Feb 13, 2025

Give peers and exportable flag, set TRUE when sessions for this peer should not be exported

Really? Was this a typo? It sounds... odd.

Typo for proof of humanity.

@github-actions github-actions bot added the tests label Feb 13, 2025
@bagder bagder closed this in 43012cb Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants