Commit graph

17 commits

Author SHA1 Message Date
pettai
8675aec011 -- VERSION 0.38 --
* lib/Mail/DKIM/DkSignature.pm, Signature.pm: avoid calling lc() on
   an undefined value (this generates warnings in Perl 5.12.x).
 * lib/Mail/DKIM/PrivateKey.pm (load): fix bug where a private key file
   named '0' could not be loaded
 * lib/Mail/DKIM/DkSignature.pm (new): accept Key parameter when
   constructing a DomainKey signature object
 * t/external_signer.t: test use of an alternate object for Key
   during a "sign" operation
 * lib/Mail/DKIM/Signer.pm: document use of an alternate object for
   PrivateKey objects
 * lib/Mail/DKIM/Signer.pm: import PrivateKey.pm in this module,
   rather than in the Algorithm modules
 * lib/Mail/DKIM/PrivateKey.pm: document the sign_digest() method
 * lib/Mail/DKIM/Algorithm/*: use sign_digest() rather than
   sign_sha1_digest()
 * t/public_key.t: test that DNS failure reason is given, when
   DNS returns no results
 * lib/Mail/DKIM/DNS.pm: bugfix (introduced by async_dns branch):
   preserve $@ in case of no error
 * lib/Mail/DKIM/{DNS,Signature,PublicKey,Policy}.pm: merged my
   "async dns" branch
 * lib/Mail/DKIM/Policy.pm: new fetch_async method, seems to work
 * lib/Mail/DKIM/Signature.pm: new fetch_public_key method,
   which starts an asynchronous query for the public key
   referenced by this signature; redesign get_public_key to
   know how to complete the query
 * lib/Mail/DKIM/PublicKey.pm: new fetch_async method: starts a
   query and returns a subref that when called will complete the
   query
 * lib/Mail/DKIM/DNS.pm: new query_async method: starts a query and
   returns a subref that when called will complete the query
 * MANIFEST: include sample_mime_lite.pl script in tarball
 * lib/Mail/DKIM/DNS.pm: restart timer after a DNS lookup
2010-10-20 19:57:35 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
heinz
5f11959d7a Updated to version 0.37.
Pkgsrc changes:
  - Added LICENSE

Relevant changes since version 0.32:
====================================
Version 0.37 - released 2009-09-08
  * New/changed functionality:
    * ADSP records now check whether the domain itself exists, in
      accordance to the ADSP specification
  * bugfixes:
    * fixed regexp used to detect header field names (issue #2803465)
    * various fixes to ADSP checking

Version 0.36 - released 2009-06-02
  * API changes:
    * restore the as_string() method which was accidentally removed
      in version 0.34

Version 0.35 - released 2009-05-22
  * bugfixes:
    * fixed a runaway regular expression in the canonicalization
      routines (patch provided by Mark Martinec)

Version 0.34 - released 2009-05-20
  * New/changed functionality:
    * support for ADSP (author-domain-signing-practices) records
    * removed support for pre-standardized DKIM signatures (i.e. these
      are DKIM signatures without a v= or bh= tag).
    * DNS resolver errors are detected and reported as such
  * API changes:
    * renamed Mail::DKIM::Policy to Mail::DKIM::DkPolicy. Programs using
      the former name to create policy objects directly (though it would
      be more expected to fetch the objects through
      Mail::DKIM::Verifier) should update their code
    * new policies() method in Mail::DKIM::Verifier for fetching all
      applicable sender/author signing policies
  * bugfixes:
    * Signer object would die if first line of input wasn't a header
      (rt.cpan.org issue #46179)

Version 0.33 - released 2009-03-10
  * bugfixes:
    * signature wrapping would sometimes cause improper preparation of
      DKIM signatures, with "simple" canonicalization (issue #2257046)
  * test scripts:
    * the included corpus is now verified using a fake-DNS resolver,
      which means the test corpus can validate even when your DNS
      servers are really slow
2009-11-05 22:53:12 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
heinz
8533bf1396 Updated to version 0.32.
Thanks to Julian Dunn in PR pkg/39031 for the notice. Since June CPAN-daily
messages were utf-8/base64 encoded and my procmail recipes did not handle
that...

Pkgsrc changes:
  - Does not require security/p5-Digest-SHA1 anymore.
  - Does not require devel/p5-Error anymore (already unnecessary for 0.29).

Changes since version 0.30:
===========================
Version 0.32 - released 2008-06-03
  * removed requirement for Digest::SHA1 (issue #1832549).
    We now use the more capable Digest::SHA module for SHA-1 and SHA-256.
  * bugfixes:
    * granularity checking should be case-sensitive (issue #1938112).
    * identity tag now uses quoted-printable encoding (issue #1839015).
  * API improvement:
    * implemented identity_source() for DkSignature objects

Version 0.31 - released 2008-04-14
  * some error detail messages were changed (see ChangeLog, 2008-01-10 entry)
  * by default, and when possible, DKIM signatures now omit c= and q= tags
    (they are optional tags) (issue #1878518)
  * DKIM and DomainKey signatures are now wrapped so that line breaks
    occur before colon (':') separators instead of after; this avoids
	confusing some broken MUAs (issue #1868648)
  * bugfixes:
    * "undef value" error when DKIM signature appears at end of header
      (issue #1878954)
    * use proper regexp for splitting email address (issue #1878994)
  * API improvements:
    * can specify a domain for fetch_author_policy() (issue #1879197)
    * can access a signature's public-key object (issue #1879215)
    * can specify an OpenSSL-private-key object for PrivateKey->new()
      (issue #1879209)

Version 0.30.1 - released 2008-01-24
 * bugfix:
   * email from cisco.com was failing to verify (issue #1878523)
2008-07-17 13:56:35 +00:00
heinz
9d0ad0802d Updated to version 0.30.
Pkgsrc changes:
  - none

Changes since version 0.29:
===========================
Version 0.30 - released 2008-01-10

 * includes speed-up optimizations by Mark Martinec
 * DomainKeys, implement proper identity matching...
   a DomainKey-Signature's domain should match the From/Sender address
 * several more test cases
 * API improvements:
   * accept additional arguments when creating Signer/Signature
 * bugfixes:
   * DomainKey-Signature headers were not "prettified"
   * granularity ending with '*' was not checked correctly
   * DomainKey-Signature granularity was checked against the wrong value
2008-01-11 20:12:24 +00:00
heinz
53080fd585 Updated to version 0.29.
Pkgsrc changes:
  - none

Relevant changes since version 0.28:
====================================
Version 0.29 - released 2007-11-08
 * verifiers can now access all parsed signatures and their results,
   not just signatures that were fully tested
 * signer policies can now specify what private key file to use
 * some other minor API improvements
 * bugfixes:
   * for DomainKeys signatures, fixed a compatibility issue handling
     the h= tag
   * for DKIM, signature expirations had been ignored
   * for DKIM, signature identities did not have to match the domain
   * for DKIM, public key granularity field had been ignored
2008-01-08 19:47:16 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
heinz
0ca9360688 Updated to version 0.28.
Pkgsrc changes:
  - Required version of p5-Crypt-OpenSSL-RSA changed to >=0.24.

Changes since version 0.26:
=====================================
Version 0.28

 * fixed a bug with line-wrapping a signature at the wrong place

Version 0.27 - released 2007-07-25

 * Sender signing policies are now better implemented
 * Both Yahoo! DomainKeys signing policies and the under-development
   IETF DKIM signing policies are supported
    * Yahoo! DomainKeys policies can protect the Sender: header
    * DKIM signing policies can protect the From: header
   Look at Mail::DKIM::Verifier's fetch_author_policy() and
   fetch_sender_policy() methods for hints.
2007-08-19 15:39:08 +00:00
heinz
1cc8c3b33b Updated to version 0.26.
Pkgsrc changes:
  none

Changes since version 0.25:
===========================
Version 0.26 - released 2007-05-24

 * recognize and generate v=1 signatures (DKIM is now RFC 4871)
2007-06-12 15:27:21 +00:00
heinz
8071ec0595 Updated to version 0.25.
Pkgsrc changes:
  - Software does not accept any version of p5-Crypt-OpenSSL-RSA anymore.

Changes since version 0.24:
===========================
 * we now only sign headers that IETF recommends for signing
 * it's now possible to "prettify" outgoing signatures, but this feature
   is not enabled by default. To enable, do a "use Mail::DKIM::TextWrap"
   in your program that signs messages. (This may change in a future
   release.)
2007-05-17 10:00:45 +00:00
heinz
82874b8437 As suggested by Joerg Sonnenberger, replaced CHECK_INTERPRETER_SKIP
with appropriate values for REPLACE_PERL.
2007-04-22 09:00:21 +00:00
heinz
f38148d5b6 Updated to version 0.24.
Pkgsrc changes:
  - Enabled DESTDIR support.
  - Switched to using PERL5_SUB_INSTALLVENDORLIB (from lang/perl5/vars.mk)
    instead of constructing a relative path for CHECK_INTERPRETER_SKIP myself.

Changes since version 0.22:
===========================
 -- VERSION 0.24 --

2007-03-09: Jason Long <jlong@messiah.edu>
 * lib/Mail/DKIM/PublicKey.pm, lib/Mail/DKIM/Signature.pm,
   lib/Mail/DKIM/KeyValueList.pm: fix for linebreaks in public key data;
   provided by Mark Martinec.
 * lib/Mail/DKIM/Signature.pm: fix default value q=dns/txt; this fixes a bug
   for DKIM signatures without q= tags
 * t/verifier.t: added six new tests that test problems with the public key
   (e.g. revoked, syntax, etc.)

 -- VERSION 0.23 --

2007-02-22: Jason Long <jlong@messiah.edu>
 * lib/Mail/DKIM/PublicKey.pm: catch certain OpenSSL errors; tweak
   diagnostics
 * lib/Mail/DKIM/Verifier.pm: changed OpenSSL error catching code to
   match that found in PublicKey; document more possible diagnostic codes
 * lib/Mail/DKIM/Signature.pm: tweaked diagnostics for missing public key
 * Makefile.PL: check for Test::Simple, which is required for `make test'

2007-02-21: Jason Long <jlong@messiah.edu>
 * t/signer_policy.t: signature should still work even if no value is
   returned from signer policy
 * t/signer.t: now uses v=0.5 signature, which changes the signature
 * t/verifier.t: added three tests of empty body messages
 * lib/Mail/DKIM/Signer.pm: fixed bug where if signer policy was a
   sub ref, and didn't return a true value, the message would get skipped
 * lib/Mail/DKIM/Canonicalization/simple.pm: argh, hack for handling
   empty body
 * lib/Mail/DKIM/MessageParser.pm: fixed bug in handling of messages
   without bodies
 * lib/Mail/DKIM/Signature.pm: output v=0.5 signatures now
 * scripts/dkimsign.pl: new --binary option to disable line-ending conversion

2007-02-19: Jason Long <jlong@messiah.edu>
 * lib/Mail/DKIM/DkSignature: provide default value for a= tag
   (thanks to mark.martinec@ijs.si for the patch)
 * t/corpus/good_dk_2.txt: test for missing q= and a= tags on DomainKey
   signature

2007-02-09: Jason Long <jlong@messiah.edu>
 * lib/Mail/DKIM/Verifier.pm, DkSignature.pm: better diagnostic messages;
   allow missing q= tag for domainkey signatures
   (thanks to mark.martinec@ijs.si for the patch)
2007-03-24 19:08:38 +00:00
heinz
8fddcd1300 Updated to version 0.22.
This version (from 0.19 and up) also recognises DomainKeys signatures in
addition to DKIM signatures.

Pkgsrc changes:
  - Converted the paths of script files to be skipped during
    "check-interpreter" phase from absolute to relative paths, otherwise it
    wouldn't work anymore.

Changes since version 0.18:
===========================
Version 0.22 - released 2007-01-19

 * fixes a couple very minor bugs
 * some cosmetic changes to error messages

Version 0.21 - released 2006-11-29

 * fixes two bugs, see ChangeLog for details

Version 0.20 - released 2006-10-24

 * now supports verifying multiple signatures (the result returned is based
   on the "best" available signature)
 * now supports adding multiple signatures in one pass (to use this, you
   need to create a "signer policy"; see scripts/dkimsign.pl for an example)
 * now supports signing/verifying signatures for the older DomainKeys standard
 * now implements Internet Draft draft-ietf-dkim-base-05, including:
   * support for the version (v=) tag
 * eliminated "control character detected in message" error message

Version 0.19 - released 2006-06-15

 * now supports earlier versions of Perl (5.6.1 and up).
2007-02-15 21:39:56 +00:00
heinz
2ca9f0d9c0 Updated to version 0.18.
Pkgsrc changes:
  - Removed p5-Crypt-RSA and p5-Crypt-OpenSSL-Bignum as direct requirements.
  - Added patterns to CHECK_INTERPRETER_SKIP to avoid messages about missing
    /usr/bin/perl.

Relevant changes since version 0.17:
====================================
 * no longer depends on Crypt::RSA or Crypt::OpenSSL::Bignum.
2006-07-16 09:46:15 +00:00
heinz
0a02600677 Updated to version 0.17.
Pkgsrc changes:
  - The module is now available on CPAN, so changed MASTER_SITES accordingly.
  - Changed HOMEPAGE to CPAN site because Jason Long's web site seems to
    be down occasionally.
  - Added Crypt::OpenSSL::Bignum as a requirement (listed in Makefile.PL)
    because Mail::DKIM uses objects of that type (returned by
    Crypt::OpenSSL::RSA::get_key_parameters).
  - New requirement: security/p5-Digest-SHA

Relevant changes since version 0.14:
====================================

 * implemented signing and verifying of a SHA-256 digest
 * various new tests and a few bug fixes
2006-06-07 21:30:10 +00:00
heinz
bb957e98bc Initial version of the p5-Mail-DKIM package.
This Perl module implements the various components of the DKIM message-signing
and verifying standard for Internet mail.
2006-02-24 23:02:38 +00:00