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

add CheckSigningTable config option for USE_ODBX #227

Closed

Conversation

r-a-z-v-a-n
Copy link

When CheckSigningTable is set to no, the keys in KeyTable are no
longer verified when config is loaded. This helps with large
databases. This commit only adds support for USE_ODBX.

Murray S. Kucherawy added 30 commits May 10, 2015 23:05
…y contain a slash

(which must be quoted).
…uplicate signatures,

constrain the size of the resulting "header.b" value.  Problem
noted by Joseph Coffland.
…elds that are

wrapped before there's any content.  Somehow the wrong fix
was committed.  Originally reported by Alessandro Vesely;
re-reported by David Stevenson.
…re object requests where

the domain name or selector includes non-printable characters.
Suggested by Franck Martin.
…l signature

request, probably with an "l=0" (at least for starters), rather than altering
an existing signature request.  Break the build until I fix it.
… it rather

than altering an existing one (you need both).
martinbogo and others added 29 commits June 4, 2020 10:02
…_ed25519

fix calculation of keybit_len in ed25519 case

Tested on Ubuntu 20.04, CenOS current, Debian 10, Fedora 32
…f-ip-caveats

opendkim.conf: Note more caveats for ip addresses

Documentation update, looks good.  Merging.
Definitions for this macro have been added throughout the codebase in
commits 91e7407, 705948f, 227fa25, 842c173, and b730bdc, but one
was still missing from libvbr. glibc contains a definition for legacy
reasons, but other libcs might not. Particularly, the musl libc does not
contain it, leading to build errors when enabling support for VBR.

Add a definition for __P() to vbr.h to fix this.
The upstream Lua pkg-config file is named lua.pc, so unless some
distribution renames it, OpenDKIM should be looking for "lua"
and not "lua5.1" in its PKG_CHECK_MODULES call. In any case, we
should definitely be checking for "lua", so this commit appends it
to the list of modules we look for. The "lua5.1" module was left
alone, because I don't know enough of the history to be sure that
removing it is the right thing to do.

When the call to PKG_CHECK_MODULES fails, OpenDKIM falls back to
a manual search that looks in /usr/lib, and this can detect 32-bit
libraries on a 64-bit system. Therefore it is preferable that the
PKG_CHECK_MODULES call succeed.

In the process of adding this fallback, I realized that some
additional actions need to be performed in the success branch of
the existing (and new) PKG_CHECK_MODULES call. The following
three lines were added,

  AC_SEARCH_LIBS([dlopen], [dl])
  AC_SUBST([LUA_MANNOTICE], "")
  AC_DEFINE([USE_LUA], 1, [support for Lua scripting])

to tell various parts of OpenDKIM that we do indeed have Lua support.
Afterwards, it became clear that those three lines could be factored
out of *every* lua check, so that has been done as well.

Closes: trusteddomainproject#62
Gentoo-bug: https://bugs.gentoo.org/704556
…key-man-restrict

opendkim-genkey(8): Fixed typo option "restricted" to "restrict"
…im-genzone-nodate

make the output comparable, avoid variable timestamp data
…hema_update2

make the ldap class STRUCTURAL and DKIMDomain subsearchable
…s-header

Add missing space in Authentication-Results header
…kgconfig-check

configure.ac: check for "lua" with pkg-config in addition to "lua5.1".
…im-genzone-logical-error-fix

logical-error-fix
…s-syslog

Suppress empty brackets in syslog startup message
Various minor fixes in sample opendkim.conf
…om-check

miltertest: Fix undefined behaviour in mt.eom_check() with MT_SMTPREPLY
…-callback

Plug memory leak in Unbound callback function
…perator-configure

Fix unknown operator in configure.ac
…kim-genkey-ed25519-support

ed25519 support
When CheckSigningTable is set to no, the keys in KeyTable are no
longer verified when config is loaded. This helps with large
databases. This commit only adds support for USE_ODBX.
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.