Skip Menu |
 

This queue is for tickets about the Net-OpenID-Server CPAN distribution.

Report information
The Basics
Id: 69651
Status: open
Priority: 0/
Queue: Net-OpenID-Server

People
Owner: Nobody in particular
Requestors: peter [...] vereshagin.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.030099_002



Download (untitled) / with headers
text/plain 377b
Trying this RP software with NOS: http://framework.zend.com/manual/en/zend.openid.html In certain condition ( unworkable DH parameters from php's openssl extension avoids from DH's g and p parameters to be read from key resource handle ) the diagnostics is unclear on RP side. Consumer class requires the association type to be returned or it can not diagnose such a situation.
Subject: nos-assoc.patch
Download nos-assoc.patch
text/x-diff 1.1k
diff -ur Net-OpenID-Server-1.030099_002.orig/lib/Net/OpenID/Server.pm Net-OpenID-Server-1.030099_002/lib/Net/OpenID/Server.pm --- Net-OpenID-Server-1.030099_002.orig/lib/Net/OpenID/Server.pm 2011-01-01 04:55:00.000000000 +0300 +++ Net-OpenID-Server-1.030099_002/lib/Net/OpenID/Server.pm 2011-06-30 19:05:38.000000000 +0400 @@ -594,10 +594,12 @@ my $p = OpenID::util::arg2int($self->args("openid.dh_modulus")); my $g = OpenID::util::arg2int($self->args("openid.dh_gen")); my $cpub = OpenID::util::arg2int($self->args("openid.dh_consumer_public")); + my $asct = $self->args("openid.assoc_type"); my $dh = OpenID::util::get_dh($p, $g); - return $self->_error_page("invalid dh params p=$p, g=$g, cpub=$cpub") - unless $dh and $cpub; + return $self->_error_page("invalid dh params p=$p, g=$g, cpub=$cpub" + . "\nassoc_type:$asct" + ) unless $dh and $cpub; my $dh_sec = $dh->compute_secret($cpub); @@ -1152,4 +1154,4 @@ =head1 AUTHORS -Brad Fitzpatrick <brad@danga.com> \ No newline at end of file +Brad Fitzpatrick <brad@danga.com>
Subject: association type return when wrong DH parameters
Download (untitled) / with headers
text/plain 377b
Trying this RP software with NOS: http://framework.zend.com/manual/en/zend.openid.html In certain condition ( unworkable DH parameters from php's openssl extension avoids from DH's g and p parameters to be read from key resource handle ) the diagnostics is unclear on RP side. Consumer class requires the association type to be returned or it can not diagnose such a situation.
Subject: nos-assoc.patch
Download nos-assoc.patch
text/x-diff 1.1k
diff -ur Net-OpenID-Server-1.030099_002.orig/lib/Net/OpenID/Server.pm Net-OpenID-Server-1.030099_002/lib/Net/OpenID/Server.pm --- Net-OpenID-Server-1.030099_002.orig/lib/Net/OpenID/Server.pm 2011-01-01 04:55:00.000000000 +0300 +++ Net-OpenID-Server-1.030099_002/lib/Net/OpenID/Server.pm 2011-06-30 19:05:38.000000000 +0400 @@ -594,10 +594,12 @@ my $p = OpenID::util::arg2int($self->args("openid.dh_modulus")); my $g = OpenID::util::arg2int($self->args("openid.dh_gen")); my $cpub = OpenID::util::arg2int($self->args("openid.dh_consumer_public")); + my $asct = $self->args("openid.assoc_type"); my $dh = OpenID::util::get_dh($p, $g); - return $self->_error_page("invalid dh params p=$p, g=$g, cpub=$cpub") - unless $dh and $cpub; + return $self->_error_page("invalid dh params p=$p, g=$g, cpub=$cpub" + . "\nassoc_type:$asct" + ) unless $dh and $cpub; my $dh_sec = $dh->compute_secret($cpub); @@ -1152,4 +1154,4 @@ =head1 AUTHORS -Brad Fitzpatrick <brad@danga.com> \ No newline at end of file +Brad Fitzpatrick <brad@danga.com>
sorry dupe for 69651 forgot to enter a subject
Download (untitled) / with headers
text/plain 268b
On Thu Jul 21 07:38:38 2011, https://peter.vereshagin.org/ wrote: Show quoted text
> In certain condition ( unworkable DH parameters from php's openssl
That is about this: https://bugs.php.net/bug.php?id=55259 Show quoted text
> extension avoids from DH's g and p parameters to be read from key
Download (untitled) / with headers
text/plain 268b
On Thu Jul 21 07:38:38 2011, https://peter.vereshagin.org/ wrote: Show quoted text
> In certain condition ( unworkable DH parameters from php's openssl
That is about this: https://bugs.php.net/bug.php?id=55259 Show quoted text
> extension avoids from DH's g and p parameters to be read from key


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.