Upstream changes:
1.18 Feb 07 2016
* Make naive_verify_failed_network message less mysterious in cases where
provider actually responds but with a non-success status.
* whitespace changes
1.17 Jan 15 2016
* Include CGI in test prerequisites since it's not part of perlcore anymore
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.
No effective change for the above reason.
Ok joerg
- Drop DEPENDS to p5-Crypt-DH (See below at 1.030099_001 Nov 06 2010)
- Add DEPENDS to p5-Net-OpenID-Common>=1.18 (See 1.15)
(upstream)
- Update 1.03 to 1.16
-------------------
1.16 Sep 15 2014
1.15 Sep 06 2013
* Require Net-OpenID-Common 1.18
in order to pick up patched Crypt::DH::GMP 0.00011 (closes#88460)
1.14 Apr 01 2013
* Fix uri_escape'ing of UTF-8 attributes (closes#80329)
* documentation fixes and updated consumer.cgi example (closes#74101)
1.13 Nov 14 2011
1.12 Nov 06 2011
* Require Net-OpenID-Common 1.13
* Use/cache Last-modified: as a number, not a raw header string (closes#47349)
* Pay attention to charset on application/xrds+xml content-type (closes#41310)
1.11 Nov 04 2011
* Added POD section on Error Codes
* Fixed bug that could cause VerifiedIdentity->signed_fields
to be spuriously set to an empty hash
* Fixed bug where _discover_acceptable_endpoints force_version => 1
could return version 2 endpoints.
1.100099_002 Nov 02 2011
* We now do actual checking of responce_nonce (closes#44767).
Behavior is customizable using Consumer->nonce_options.
You may want to set 'start' to your (cache/HTTP) server start time.
The defaults will otherwise do the Right Thing if your cache
implementation pays attention to the 3rd (expiration)
argument to set() and can reliably hold onto entries for a
half hour; otherwise this may need some attention.
Likewise if you already have better protection against
replays, in which case you'll want to turn this off.
* Lots of POD fixes
1.100099_001 Oct 25 2011
---------------
==> API CHANGE: Consumer->args(CODEREF)
CODEREF now needs to be able to also take zero arguments and
return a list of all URL parameters in the request.
No change is needed for the other argument types
(i.e., unblessed hash or CGI/Apache/etc request object)
(Enumeration is required for check_authentication in OpenID 2.0
to work properly -- if the list isn't available then we can revert
to OpenID 1.1 behavior of only sending the signed parameters and
hope for the best, but be warned that some providers may reject
this.)
---------------
* HTML parsing routines now reside in Net::OpenID::Common (1.12
required) which has itself been upgraded to using HTML::Parser.
1.030099_006 Oct 22 2011
---------------
==> API CHANGE: Consumer->handle_server_response()
The 'setup_required' callback is now DEPRECATED but still
recognized for now for the sake of legacy code. It may be
removed in a future release.
Use 'setup_needed' instead. This callback
(1) is invoked in ALL cases where a checkid_immediate mode
request fails, including those where user_setup_url
is not supplied, and
(2) is NOT supplied a user_setup_url parameter
(you can still use Consumer->user_setup_url as needed)
Note that in OpenID 2.0, the correct way to handle failure of a
checkid_immediate mode request is to retry the same request
again in checkid_setup mode. user_setup_url is generally not
meaningful in OpenID 2.0 and therefore CANNOT be relied upon.
---------------
==> API CHANGE: Consumer->setup_needed() [new function]
Should be used to test for the failed checkid_immediate case
when not using handle_server_response().
Testing for user_setup_url() having been set is DEPRECATED and
will NOT work under OpenID 2.0 since user_setup_url is generally
not meaningful in 2.0 (even if some 2.0 providers do in fact
supply it).
---------------
* Handle 2.0 provider-specific 'error' mode responses.
These currently show up in the 'error' callback
(errcode == 'provider_error');
* Remove dependency in ordering of minimum_version() and args()
setters. This was a bug that prevented minimum_version from being
recognized at all.
* Fix handle_server_response unknown callback error message -- close#58368
* Handle version 2.0 associations and all session/association types.
This is customizable using Consumer->assoc_options.
Most likely you will want to just set 'max_encrypt' and
'session_no_encrypt_https' true and forget about it.
* Fix bug in handling of sreg extension under 2.0
that prevented certain other extensions from being recognized.
* New co-maintainer (Roger Crew)
1.030099_005 Jan 01 2011
* Remove calls to util::ejs and util::eurl; use JSON and URI::Escape
directly (Robert Norris)
1.030099_004 Dec 18 2010
* Added example CGI program (Robert Norris)
* Added missing error messages (Mario Domgoergen)
1.030099_003 Nov 09 2010
* Add namespace to check_authentication signature verification calls to
fix stateless mode against strict OPs (Robert Norris)
* Documentation tweaks (Robert Norris)
1.030099_002 Nov 07 2010
* Fixed a call to OpenID::util::hmac_sha1_hex which no longer exists
(Robert Norris)
1.030099_001 Nov 06 2010
* Use Crypt::DH::GMP over Crypt::DH for speed (Robert Norris)
* Fix potential timing attack when checking signatures (Adam Sj淡gren)
(see http://lists.openid.net/pipermail/openid-security/2010-July/001156.html)
* Set sreg namespace based on what the server is expecting
(Adam Sj淡gren)
* Moved some utility bits out to a separate Net::OpenID::Common
package so that Net::OpenID::Server can use it in future
versions.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
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!
Setting LICENSE to ${PERL5_LICENSE} according to module documentation
Upstream changes:
1.03:
* Enforce the rules from the Auth 2.0 spec about which fields
MUST be signed in positive assertion messages.
* Return a more sensible error (no_head_tag) if the identifier
URL returns an empty (0-byte) HTML document.
* Verify delegate on the non-fragment version of the resulting
identifier, so that you can delegate to providers that add
fragments to their identifiers.
Found and fixed by avarix <mindsectr@gmail.com>.
Pkgsrc changes:
- p5-URI-Fetch is not needed anymore, a modified internal version is
used instead.
- p5-XML-Simple is required now.
Changes since version 0.14:
===========================
1.02:
* Declare dependency on XML::Simple
1.01:
* Make the verified_identity bit accept assertions from any
declared endpoint, rather than only the primary one.
This implementation kinda sucks because it hits the identity
URL over and over doing discovery.
* Refactor the discovery code a little so that the whole list
of valid endpoints can optionally be returned. This is in
preparation for fixing the assertion verification code
so that providers other than the primary one are able to
make assertions.
* Support indirect messages encapsualated in POST requests
when args are given as a CGI, Apache, or Apache::Request
object.
* Support the 1.1 and 1.0 namespace values required by
Auth 2.0 section 4.1.2.
* Deal with cases where Net::OpenID::Yadis returns arrayref
or hashref for Service->URI, including a basic support for
the priority attribute. Based on a patch from
Fumiaki Yoshimatsu <fyoshimatsu@sixapart.com>.
* when dealing with a 2.0 server, send 2.0-shaped association
requests.
* add the set_extension_args method to ClaimedIdentity and the
extension_fields and signed_extension_fields methods to
VerifiedIdentity, which together form a higher-level API
for using protocol extensions such as SREG and PAPE.
* add support for OpenID 2.0-style messages from providers
* use our own simplified fork of Net::Yadis::Discovery to avoid
dependency on Module::Pluggable::Fast. Or on Net::Yadis::Discovery,
for that matter.
* add hooks for openid-test project. (bradfitz)
* add OpenID 2.0-compliant discovery and authentication request.
* add method on claimed identity object to get delgated URL
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=...").
Pkgsrc changes:
- none
Changes since version 0.13:
===========================
0.14: (2007-08-03)
* allow CGI subclasses (like CGI::Fast) for args. bug fix
from Chris Kastorff <encryptio@gmail.com>.
This is the Perl API for (the consumer half of) OpenID, a distributed
identity system based on proving you own a URL, which is then your
identity. More information is available at:
http://openid.net/