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 issue #229: fix db handling on verification of SigningTable in dkimf_config_load #230

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

futatuki
Copy link

@futatuki futatuki commented Oct 7, 2024

This is a PR for fixing the issue #229

  • check error on calling dkimf_db_walk()
  • fix request parameter for "signer" field in SigningTable

in dkimf_config_load

- check error on calling dkimf_db_walk()
- fix request parameter for "signer" field in SigningTable
futatuki added a commit to futatuki/OpenDKIM that referenced this pull request Oct 7, 2024
…e229-fix-signingtable-verification

Fix issue trusteddomainproject#229: fix db handling on verification of SigningTable
in dkimf_config_load

- check error on calling dkimf_db_walk()
- fix request parameter for "signer" field in SigningTable

trusteddomainproject#230
trusteddomainproject#229
futatuki added a commit to futatuki/OpenDKIM that referenced this pull request Oct 7, 2024
@futatuki
Copy link
Author

This causes opendkim/tests/t-sign-rs-tables-bad failure, because with this change opendkim fail to start due to the bad key entry pointed by signingtable, checked on dkimf_config_load.

I'll fix it.

SigningTable is now checked for each entries so that their corresponding
key entry exists in valid form as well as its existence in KeyTable
on loading config file on start up, if the type of SigningTable dataset
supports dkimf_db_walk.

However we need to use bad format entry in KeyTable, to perform the
test, so we use 'refile' dataset type for SigningTable to avoid
the check.
futatuki added a commit to futatuki/OpenDKIM that referenced this pull request Dec 23, 2024
…i/issue229-fix-signingtable-verification
@futatuki
Copy link
Author

futatuki commented Dec 23, 2024

I'll fix it.

done.

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.

1 participant