Comments (5)
Maybe the second dot could just be removed to make a numeric version check possible again?
from mail-dkim.
I believe that "1.20200513.1" is a perfectly valid version string, and that the SpamAssassin plugin shouldn't do a numerical comparsion on it.
(Of course I also won't complain if it's changed :))
from mail-dkim.
What is the story behind changing the version numbering?
from mail-dkim.
Sure, "1.20200513.1" is a valid version string just like "aa.bb.cc" would also be valid. Only problem is that it breaks other applications using it.
Now, let's have a look at how mail-dkim itself does version checks in Mail-DKIM-1.20200513.1/lib/Mail/DKIM/PublicKey.pm:
# join with no intervening spaces, RFC 6376
if ( Net::DNS->VERSION >= 0.69 ) {
# must call txtdata() in a list context
$strn = join '', $rr->txtdata;
}
It does an arithmetic version check, like dozens of other perl programs do.
That's why you may call the version string valid, but I won't call it perfect 👎
from mail-dkim.
This was added to make it easier to have multiple releases on a single day, that said, I have no strong attachment to it.
from mail-dkim.
Related Issues (10)
- Add support for l= tag HOT 3
- Verifier accepts tag duplicates HOT 2
- dkimsign.pl: default algorithm and documentation HOT 2
- opendkim and Mail::DKIM disagree HOT 3
- misleading error message if missing Domain property in Mail::DKIM::Signer->finish_header HOT 1
- Verify DKIM ed25519 crash HOT 1
- Argument isn't numeric error in PublicKey.pm when using test version of Net::DNS
- incorrect 'unsupported algorithm' when 'v='-tag is missing
- EdDSA (ed25519) support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mail-dkim.