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

Fix PrivateCookieJar documentation example comments #3053

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

SantaClaas
Copy link
Contributor

Update PrivateCookieJar documentation example comments to reflect that key is used for encryption and not signing.

Motivation

I was looking for a way to encrypt cookies and looked at PrivateCookieJar but got confused that the examples talked about signing. This probably snuck in when copying the documentation from SignedCookieJar as they are similar.

Solution

Updated comments in example code to reflect what PrivateCookieJar does.

Copy link
Member

@jplatte jplatte left a comment

Choose a reason for hiding this comment

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

Thanks!

@jplatte
Copy link
Member

jplatte commented Nov 28, 2024

CI errors are unrelated and going to be fixed via #3054.

@jplatte jplatte closed this Nov 28, 2024
@jplatte jplatte reopened this Nov 28, 2024
@jplatte jplatte enabled auto-merge (squash) November 28, 2024 22:53
@jplatte jplatte enabled auto-merge (squash) November 28, 2024 22:53
@jplatte jplatte merged commit 2eaed0b into tokio-rs:main Nov 28, 2024
34 of 35 checks passed
@SantaClaas SantaClaas deleted the private-cookie-docs branch November 28, 2024 23:07
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