Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#20 check public DKIM key before signing

v2.3.0
closed-accepted
7
2007-11-30
2007-10-12
Daniel Black
No

A problem for new users may be if they deploy dkim-milter without putting their public key in DNS first.

Suggestion

During startup and/or before signing a message for the first time. verify that the public key is the same as the selector dkim-milter is about to sign.

Discussion

<< < 1 2 3 > >> (Page 2 of 3)
  • Daniel Black
    Daniel Black
    2007-10-17

    Logged In: YES
    user_id=612034
    Originator: YES

    standalone lookup of policy for a domain.I guess next step is to print out the set of tags

    I'm thinking the gentoo.org result is incorrect as it seems to be parsing SPF record and treating them as a valid policy. The manditory (draft-ietf-dkim-ssp-01, 4.3) txt dkim= tag probably should be checked.

    $ ./testdomain gentoo.org
    Policy for domain gentoo.org is top-level domain

    $ ./testdomain yahoo.com
    Policy for domain yahoo.com is policy "unknown"

    File Added: testdomain.c

     
  • Daniel Black
    Daniel Black
    2007-10-17

    patch to libdkim/dkim-test.c

     
    Attachments
  • Daniel Black
    Daniel Black
    2007-10-17

    Logged In: YES
    user_id=612034
    Originator: YES

    File Added: patch

     
  • Logged In: YES
    user_id=1048957
    Originator: NO

    A "dkim-testkey" utility is now a part of the upcoming 2.4.0 release. Thanks for your suggestion!

    Looking at your other files now.

     
  • Proposed patch #2 (libdkim/dkim-test.c)

     
    Attachments
  • Logged In: YES
    user_id=1048957
    Originator: NO

    I've rolled a "dkim-testssp" program based on your code. I'll attach the latest files now and delete the old ones.
    File Added: dkim-test.c

     
  • Proposed patch #2 (libdkim/dkim-test.h)

     
    Attachments
  • Logged In: YES
    user_id=1048957
    Originator: NO

    File Added: dkim-test.h

     
  • Logged In: YES
    user_id=1048957
    Originator: NO

    File Added: dkim-testkey.c

     
  • Proposed patch #2 (dkim-filter/dkim-testkey.c)

     
    Attachments
<< < 1 2 3 > >> (Page 2 of 3)