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

Validation fails when h= tag contains FWS #13

Open
jhammer opened this issue Feb 15, 2022 · 0 comments
Open

Validation fails when h= tag contains FWS #13

jhammer opened this issue Feb 15, 2022 · 0 comments

Comments

@jhammer
Copy link

jhammer commented Feb 15, 2022

The DKIM spec allows for FWS on either side of the colon separator in the list of header field names for the “h=“ tag. For example:

DKIM-Signature: v=1; a=rsa-sha256; s=redacted; d=redacted; t=1644958961; 
	i=redacted; c=relaxed/relaxed; h=from: 
	list-unsubscribe: date: subject: to: message-id: mime-version: content-type; 
	bh=V9a5m8Ke5J2on4sGERXxG4eaO8kvRsAa3l7fx6Z2YRA=; 
	b=q0yRyQptqx7H3336GDVm93oIvZE9gXO/mIx78Y7FgxHILCzWN7i/JeyLP0/dhkPEwN63YNGEFkVg
	peLr8qnahyQCEyixh/hrCUx24926xzNqDyu1ijVjI4o/PWE1waRskvjVVHqfpZfkERrQJOZQzsfTiH
	sS/A90Z8DiFMJuPUY=

Unfortunately, DKIMValidator fails to validate signatures with FWS on either side of the colon separator.

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

No branches or pull requests

1 participant