Matija Grabnar wrote:
> Aaron Stone wrote:
>> I'm a big fan of double digest. I don't think the algorithm matters much,
>> just as long as the two are very different. Even just MD5 and SHA1 should
>> be plenty good, IMHO.
>>   
> No, not more than some checksum that was as long as the sum of the two
> checksums you were using.

I've decided to offer some relief for those concerned. I'm adding
libmhash as a build requirement, but that will add a lot of hashing
algorithms.

By default dbmail will use SHA1 hashing for generating unique-ids per
mime part. But dbmail will support using any algo supported my mhash,
and you'll be able to do single or double digests, and you can select
the hash(es) you trust not to generate collisions. Of course, after you
change the hash(es) the ids in the mimeparts and partlists tables will
have to be recalculated and updated, so dbmail-util will have to support
that. And it will be up to the DBA to make sure the ID fields are wide
enough to hold the keys.





-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to