← Back to team overview

ubuntu-mail-server team mailing list archive

[Bug 587783] Re: signature generation is incorrect

 

OK, I believe this is a better patch for it.

** Patch added: "20100623-587783-dkim-signing.diff"
   http://launchpadlibrarian.net/50783136/20100623-587783-dkim-signing.diff

** Tags removed: patch-needswork

** Attachment removed: "demo587783.py"
   http://launchpadlibrarian.net/50780562/demo587783.py

-- 
signature generation is incorrect
https://bugs.launchpad.net/bugs/587783
You received this bug notification because you are a member of Ubuntu
Mail Server, which is subscribed to pydkim in ubuntu.

Status in “pydkim” package in Ubuntu: Confirmed

Bug description:
I think the signatures generated by python-dkim are incorrect:

In Relaxed header mode the 'DKIM-Signature' header should be canonicalized before hashing <http://tools.ietf.org/html/rfc4871#section-3.7> but currently it is wrong in two regards: it is hashed without case-folding and with non-canonical whitespace.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: python-dkim 0.3-3
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
CheckboxSubmission: a72aa433ee7cbc70b12a74f6938b856b
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Mon May 31 17:19:16 2010
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
SourcePackage: pydkim





References