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

Made more fields public + added get_canonicalized_header function to authenticated_message #12

Merged
merged 10 commits into from May 15, 2024

Conversation

Divide-By-0
Copy link
Contributor

@Divide-By-0 Divide-By-0 commented Mar 25, 2023

get_canonicalized_header is useful for getting the pre-hashed, canonically ordered DKIM headers.

I also made some struct fields public: perhaps making them public leads to unintended access patterns, but since they are non-mutable and potentially useful for users to parse out DKIM info, I thought it would be useful to keep in the PR (and I personally am writing code that requires accessing those fields, but I am happy to revert them as well).

This is my first OSS Rust crate PR, so let me know if there are any PR details that I missed, docs/examples I should edit, or things I should change!

@mdecimus mdecimus merged commit 25f86bb into stalwartlabs:main May 15, 2024
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.

None yet

2 participants