Package: libnet-openid-consumer-perl Version: 1.03-1 Severity: normal #! /usr/bin/perl -w # A small test script, to test this out...
use Net::OpenID::Consumer; use LWPx::ParanoidAgent; my $csr = Net::OpenID::Consumer->new( ua => LWPx::ParanoidAgent->new, consumer_secret => "fsdjfkjsdlfjsdlkfjjsdkl", required_root => "http://example.com/", debug => 1, ); my $claimed_identity = $csr->claimed_identity("https://www.google.com/accounts/o8/id"); if (defined $claimed_identity) { print "it works\n"; } else { print $csr->err."\n"; } Here's the output of this script with no libcrypt-ssleay-perl installed: [DEBUG Net::OpenID::Consumer] Cache MISS for https://www.google.com/accounts/o8/id [DEBUG Net::OpenID::Consumer] Cache MISS for https://www.google.com/accounts/o8/id [DEBUG Net::OpenID::Consumer] fail(no_head_tag) Couldn't find OpenID servers due to no head tag [DEBUG Net::OpenID::Consumer] fail(no_identity_server) The provided URL doesn't declare its OpenID identity server. no_identity_server: The provided URL doesn't declare its OpenID identity server. Here's what I get with that package installed: [DEBUG Net::OpenID::Consumer] Cache MISS for https://www.google.com/accounts/o8/id [DEBUG Net::OpenID::Consumer] Discovered version 2 endpoint at https://www.google.com/accounts/o8/ud via Yadis [DEBUG Net::OpenID::Consumer] Delegate is http://specs.openid.net/auth/2.0/identifier_select it works The above error was the same error I got with an invalid OpenID provider URL, making this situation a bit difficult to debug. Net::OpenID::Consumer should at least give a different error when the underlying user agent complains about a missing package, or you could just add a dependency on libcrypt-ssleay-perl. I used LWPx::ParanoidAgent for this but the same thing happens with the regular LWP::UserAgent. -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (700, 'unstable'), (600, 'stable'), (500, 'oldstable'), (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libnet-openid-consumer-perl depends on: ii libcrypt-dh-perl 0.06-3 Diffie-Hellman key exchange system ii libdigest-sha1-perl 2.13-1 NIST SHA-1 message digest algorith ii liburi-perl 1.54-2 module to manipulate and access UR ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar ii libxml-simple-perl 2.18-3 Perl module for reading and writin ii perl 5.10.1-16 Larry Wall's Practical Extraction libnet-openid-consumer-perl recommends no packages. libnet-openid-consumer-perl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org