view release on metacpan or search on metacpan
- WWW::Mechainze (at least 0.57)
- HTML::TokeParser (at least 2.24)
- Class::MethodMaker (at least 1.06)
Additonally, you need either Crypt::SSLeay or IO::Socket::SSL to enable
HTTPS support of LWP.
COPYRIGHT AND LICENCE
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Finance/Bitcoin/Yacuna.pm view on Meta::CPAN
my $type = shift;
my %params = @_;
my $httpClient = new WWW::Mechanize;
if($params{'skipSSL'} && (int$params{'skipSSL'})>0){
$httpClient->{'ssl_opts'} = {
SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE,
verify_hostname => 0, # this key is likely going to be removed in future LWP >6.04
};
}
my $config = {};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Finance/Card/Citibank.pm view on Meta::CPAN
}
=head1 DESCRIPTION
This module provides a rudimentary interface to Citigroup's credit card
balances. You will need either C<Crypt::SSLeay> or C<IO::Socket::SSL>
installed for HTTPS support to work. Version 2.01 was a re-write to
use the OFX interface rather than screen scraping. This should make
the module more stable as the screen scrapping method required updates
whenever there were changes to Citigroup's site.
view all matches for this distribution
view release on metacpan or search on metacpan
DEPENDENCIES
This module requires these other modules and libraries:
Crypt::SSLeay or IO::Socket::SSL
DateTime::Tiny
LWP::UserAgent
Object;:Tiny
Test::More
URI
view all matches for this distribution
view release on metacpan or search on metacpan
- Some fixes/tweaks.
0.153 2018-07-10 Released-By: PERLANCAR
- Add prereq to IO::Socket::SSL 2.009 [CT].
0.152 2018-06-27 Released-By: PERLANCAR
- Rename module/dist from Finance::Currency::Convert::{KlikBCA,BCA}.
view all matches for this distribution
view release on metacpan or search on metacpan
- Update Mojo::UserAgent API usage (success() is deprecated etc).
0.063 2018-07-10 Released-By: PERLANCAR
- Add prereq to IO::Socket::SSL 2.009 [CT].
0.062 2018-06-24 Released-By: PERLANCAR
- Mojo's error doesn't give code, only message.
view all matches for this distribution
view release on metacpan or search on metacpan
- Update to new HTML.
0.006 2018-07-10 Released-By: PERLANCAR
- Add prereq to IO::Socket::SSL 2.009 [CT].
0.005 2018-06-24 Released-By: PERLANCAR
- Mojo's error doesn't give code, only message.
view all matches for this distribution
view release on metacpan or search on metacpan
"runtime" : {
"requires" : {
"Exporter" : "5.57",
"HTTP::Tiny::Plugin" : "0.004",
"HTTP::Tiny::Plugin::NewestFirefox" : "0",
"IO::Socket::SSL" : "2.009",
"List::Util" : "1.54",
"Log::ger" : "0.038",
"Parse::Number::ID" : "0.06",
"Time::Local" : "1.27",
"perl" : "5.010001",
view all matches for this distribution
view release on metacpan or search on metacpan
Testing/Data/00e064258be7502d8322fe3640cb27f5.txt view on Meta::CPAN
{"content":{"metadata":{"pageData":{"pageNumber":1,"pageSize":50,"totalPages":15},"size":727},"transactions":[{"cashTransaction":false,"closeLevel":"3755","currency":"£","date":"2020-12-11","dateUtc":"2020-12-11T15:28:24","instrumentName":"Avon Rubb...
view all matches for this distribution
view release on metacpan or search on metacpan
- Orders are cancelled with $order->cancel()
- Support for initiating and completing a password reset request
- Loads of user information methods
- Document Finance::Robinhod::Instrument
- Gather stock's fundamentals with aptly named ::Instrument->fundamentals()
- Require IO::Socket::SSL and perl 5.12+
- Note: I'm narrowing it down but the API will still be subject to change!
0.01 2016-03-26T23:35:04Z
- First public release
view all matches for this distribution
view release on metacpan or search on metacpan
"File::HomeDir" : "0",
"HTTP::Daemon" : "0",
"HTTP::Response" : "0",
"HTTP::Status" : "0",
"IO::Socket::IP" : "0",
"IO::Socket::SSL" : "0",
"PDF::API2" : "2.036",
"Test::CheckManifest" : "0.9",
"Test::More" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.04"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Furl.pm view on Meta::CPAN
=head1 TIPS
=over 4
=item L<IO::Socket::SSL> preloading
Furl interprets the C<timeout> argument as the maximum time the module is permitted to spend before returning an error.
The module also lazy-loads L<IO::Socket::SSL> when an HTTPS request is being issued for the first time. Loading the module usually takes ~0.1 seconds.
The time spent for loading the SSL module may become an issue in case you want to impose a very small timeout value for connection establishment. In such case, users are advised to preload the SSL module explicitly.
=back
lib/Furl.pm view on Meta::CPAN
}
);
=item HTTPS requests claims warnings!
When you make https requests, IO::Socket::SSL may complain about it like:
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is depreciated! Please set SSL_verify_mode to SSL_VERIFY_PEER
together with SSL_ca_file|SSL_ca_path for verification.
lib/Furl.pm view on Meta::CPAN
SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*******************************************************************
You should set C<SSL_verify_mode> explicitly with Furl's C<ssl_opts>.
use IO::Socket::SSL;
my $ua = Furl->new(
ssl_opts => {
SSL_verify_mode => SSL_VERIFY_PEER(),
},
);
See L<IO::Socket::SSL> for details.
=back
=head1 AUTHOR
lib/Furl.pm view on Meta::CPAN
=head1 SEE ALSO
L<LWP>
L<IO::Socket::SSL>
L<Furl::HTTP>
L<Furl::Response>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FusionInventory/Agent/HTTP/Client.pm view on Meta::CPAN
# Fedora also backported this behaviour change in its LWP5 package, so
# just checking on LWP version is not enough
$self->{ua}->ssl_opts(verify_hostname => 0, SSL_verify_mode => 0)
if $self->{ua}->can('ssl_opts');
} else {
# only IO::Socket::SSL can perform full server certificate validation,
# Net::SSL is only able to check certification authority, and not
# certificate hostname
IO::Socket::SSL->require();
die
"IO::Socket::SSL Perl module not available, " .
"unable to validate SSL certificates " .
"(workaround: use 'no-ssl-check' configuration parameter)"
if $EVAL_ERROR;
# Activate SSL Debug if Stderr is in backends
lib/FusionInventory/Agent/HTTP/Client.pm view on Meta::CPAN
$self->{ua}->ssl_opts(SSL_ca_path => $self->{ca_cert_dir})
if $self->{ca_cert_dir};
} else {
# SSL_verifycn_scheme and SSL_verifycn_name are required
die
"IO::Socket::SSL Perl module too old " .
"(available: $IO::Socket::SSL::VERSION, required: 1.14), " .
"unable to validate SSL certificates " .
"(workaround: use 'no-ssl-check' configuration parameter)"
if $IO::Socket::SSL::VERSION < 1.14;
# use a custom HTTPS handler to workaround default LWP5 behaviour
FusionInventory::Agent::HTTP::Protocol::https->use(
ca_cert_file => $self->{ca_cert_file},
ca_cert_dir => $self->{ca_cert_dir},
view all matches for this distribution
view release on metacpan or search on metacpan
# Allows you to check new mails, retrieving new mails and information about them
# $Id: Checker.pm,v 1.04 2004/12/13 22:52:17 sacred Exp $
use strict;
use IO::Socket::SSL;
use Carp;
use vars qw($VERSION);
$VERSION = 1.04;
}
sub login {
my $self = shift;
my ($login, $passwd) = @_;
my $not = new IO::Socket::SSL "pop.gmail.com:995" or die IO::Socket::SSL->errstr();
$self->{SOCK} = $not;
my $line = <$not>; # Reading the welcome message
print $not "USER $login\r\n";
$line = <$not>;
if ($line !~ /^\+OK/) { print "Wrong username, please check your settings.\n"; $self->close(); } # We are not allowing USER on transaction state.
=item C<new>
Creates the wrapper object.
The L<IO::Socket::SSL> object is stored as $object->{SOCK}.
It currently only accepts username and password as hash options.
=over 4
- Correct bugs ?
=head1 SEE ALSO
L<IO::Socket::SSL>, L<WWW::GMail>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Ads/AdWords/Client.pm view on Meta::CPAN
}
return $self->get___enabled_auth_handler();
}
# Private method to setup IO::Socket::SSL and Crypt::SSLeay variables
# for certificate and hostname validation.
sub __setup_SSL {
my ( $self, $ca_path, $ca_file ) = @_;
if ( $ca_path || $ca_file ) {
$ENV{HTTPS_CA_DIR} = $ca_path;
$ENV{HTTPS_CA_FILE} = $ca_file;
eval {
require IO::Socket::SSL;
require Net::SSLeay;
IO::Socket::SSL::set_ctx_defaults(
verify_mode => Net::SSLeay->VERIFY_PEER(),
SSL_verifycn_scheme => "www",
ca_file => $ca_file,
ca_path => $ca_path
);
lib/Google/Ads/AdWords/Client.pm view on Meta::CPAN
Refer to L<Google::Ads::AdWords::AuthTokenHandler> for more details.
=head2 __setup_SSL (Private)
Setups IO::Socket::SSL and Crypt::SSLeay enviroment variables to work with
SSL certificate validation.
=head3 Parameters
The path to the certificate authorites folder and the path to the certificate
view all matches for this distribution
view release on metacpan or search on metacpan
},
"runtime" : {
"requires" : {
"Array::Utils" : "0",
"File::ShareDir" : "0",
"IO::Socket::SSL" : "0",
"List::MoreUtils" : "0",
"Modern::Perl" : "1.20180701",
"Mojolicious" : "0",
"Role::Tiny" : "0",
"Text::Autoformat" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
## Dependencies
Perl Modules (or Debian modules):
* File::ShareDir::Install or libfile-sharedir-install-perl
* IO::Socket::SSL or libio-socket-ssl-perl
* LWP::UserAgent or liblwp-useragent-perl
* List::MoreUtils or liblist-moreutils-perl
* Modern::Perl or libmodern-perl-perl
* Mojolicious or libmojolicious-perl
* Role::Tiny::With or librole-tiny-perl
If you are going to build IO::Socket::SSL, then youâll need OpenSSL
development libraries installed: openssl-devel or equivalent,
depending on your package manager.
To install from the working directory (which will also install all the
dependencies from CPAN unless you installed them beforehand using your
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Games/Axmud/Session.pm view on Meta::CPAN
connectObj => undef,
# For SSH connections, the Net::OpenSSH and Perl pty (an IO::Tty filehandle) objects
# ('undef' for telnet/SSL connections and when not connected)
sshObj => undef,
ptyObj => undef,
# For SSL connections, the IO::Socket::SSL object ('undef' for telnet/SSH connections
# and when not connected)
sslObj => undef,
# The number of packets received (i.e. the number of times $self->processIncomingData
# has been called) during this session
packetCount => 0,
lib/Games/Axmud/Session.pm view on Meta::CPAN
return undef;
}
} elsif ($protocol eq 'ssl') {
# Connect using IO::Socket::SSL and GA::Obj::Telnet
$sslObj = IO::Socket::SSL->new(
PeerAddr => $host,
PeerPort => $port,
SSL_verify_mode => 0x00,
);
lib/Games/Axmud/Session.pm view on Meta::CPAN
);
} else {
# For SSH, ivp4/ipv6 is already supported by the code above
# For SSL, ipv4 and ipv6 are already enabled, due to IO::Socket::SSL being able to call
# on IO::Socket::INET6
$connectObj->errmode( sub { return $self->connectionError(shift); } );
}
# If the connection is refused (e.g. an invalid host is specified),
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gearman/Objects.pm view on Meta::CPAN
use constant DEFAULT_PORT => 4730;
use Carp ();
use IO::Socket::IP ();
use IO::Socket::SSL ();
use Socket ();
use List::MoreUtils qw/
first_index
/;
lib/Gearman/Objects.pm view on Meta::CPAN
=head2 socket($js, [$timeout])
depends on C<use_ssl>
prepare L<IO::Socket::IP>
or L<IO::Socket::SSL>
=over
=item
lib/Gearman/Objects.pm view on Meta::CPAN
Timeout => $t || 1
);
my $sc = "IO::Socket::IP";
if ($js->{use_ssl}) {
$sc = "IO::Socket::SSL";
for (qw/ ca_file cert_file key_file /) {
$js->{$_} || next;
$opts{ join('_', "SSL", $_) } = $js->{$_};
}
} ## end if ($js->{use_ssl})
lib/Gearman/Objects.pm view on Meta::CPAN
my $s = $sc->new(%opts);
unless ($s) {
$self->debug() && Carp::carp("connection failed error='$@'",
$js->{use_ssl}
? ", ssl_error='$IO::Socket::SSL::SSL_ERROR'"
: "");
} ## end unless ($s)
return $s;
} ## end sub socket
view all matches for this distribution
view release on metacpan or search on metacpan
},
"runtime" : {
"requires" : {
"Carp" : "0",
"HTTP::Tiny" : "0",
"IO::Socket::SSL" : "0",
"JSON" : "0",
"URI" : "0",
"perl" : "5.008001"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
0.22 2019-04-29
- add support for new, optional "roadinfo" parameter
0.21 2019-02-22
- require IO::Socket::SSL to make https requests, thanks SREZIC
- remove 'use feature qw(say)' from a test, also thanks SREZIC
0.20 2019-02-18
- use JSON::MaybeXS as using CPanel::JSON::XS directly seems to
to be causing test failures
view all matches for this distribution
view release on metacpan or search on metacpan
"Code::TidyAll" : "0.78",
"Cpanel::JSON::XS" : "0",
"Data::Dumper" : "0",
"HTTP::Tiny" : "0",
"IO::Socket::IP" : "0.39",
"IO::Socket::SSL" : "2.060",
"List::Util" : "0",
"Net::Ping" : "0",
"Net::Ping::External" : "0",
"Net::SSLeay" : "1.49",
"Perl::Tidy" : "20210111",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Gepok.pm view on Meta::CPAN
Path for file containing certificates of reputable authorties for certificate
verification. This is optional.
=head2 ssl_ca_path => STR
According to L<IO::Socket::SSL> this is only of interest if you are
"unusually friendly with the OpenSSL documentation". This is optional.
=head2 start_servers => INT (default 3)
Number of children to fork at the start of run. If you set this to 0, the server
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
File::Spec::Functions 0
perl 5.008
IO-Socket-SSL-2.074
pathname: S/SU/SULLR/IO-Socket-SSL-2.074.tar.gz
provides:
IO::Socket::SSL 2.074
IO::Socket::SSL::Intercept 2.056
IO::Socket::SSL::OCSP_Cache 2.074
IO::Socket::SSL::OCSP_Resolver 2.074
IO::Socket::SSL::PublicSuffix undef
IO::Socket::SSL::SSL_Context 2.074
IO::Socket::SSL::SSL_HANDLE 2.074
IO::Socket::SSL::Session_Cache 2.074
IO::Socket::SSL::Utils 2.015
requirements:
ExtUtils::MakeMaker 0
Mozilla::CA 0
Net::SSLeay 1.46
Scalar::Util 0
cpanfile.snapshot view on Meta::CPAN
provides:
LWP::Protocol::https 6.10
LWP::Protocol::https::Socket 6.10
requirements:
ExtUtils::MakeMaker 0
IO::Socket::SSL 1.54
LWP::Protocol::http 0
LWP::UserAgent 6.06
Mozilla::CA 20180117
Net::HTTPS 6
base 0
view all matches for this distribution
view release on metacpan or search on metacpan
"requires" : {
"Class::Accessor::Lite" : "0.08",
"Crypt::JWT" : "0.025",
"CryptX" : "0.066",
"Furl" : "3.13",
"IO::Socket::SSL" : "0",
"JSON" : "4.02",
"Time::Moment" : "0",
"perl" : "5.008001"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GitHub/Authorization.pm view on Meta::CPAN
use HTTP::Tiny;
use MIME::Base64;
use Params::Validate ':all';
# for SSL and SSL CA verification
use IO::Socket::SSL 1.56;
use Mozilla::CA;
use namespace::clean;
use Sub::Exporter::Progressive -setup => {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GitHub/Extract.pm view on Meta::CPAN
use File::Temp 0.21 ();
use File::pushd 1.00 ();
use HTTP::Tiny 0.019 ();
use Params::Util 1.00 ();
use Archive::Extract 0.56 ();
use IO::Socket::SSL 1.56 (); # Needed for HTTP::Tiny SSL
our $VERSION = '0.02';
our $WARN = 1;
our $DEBUG = 0;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GitHub/RSS.pm view on Meta::CPAN
use Filter::signatures;
use feature 'signatures';
no warnings 'experimental::signatures';
use PerlX::Maybe;
use IO::Socket::SSL;
use Net::GitHub;
use DBI;
use JSON;
use Data::Dumper;
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Exporter 5.57
ExtUtils::MakeMaker 6.30
IO-Socket-SSL-1.998
pathname: S/SU/SULLR/IO-Socket-SSL-1.998.tar.gz
provides:
IO::Socket::SSL 1.998
IO::Socket::SSL::Intercept 1.93
IO::Socket::SSL::OCSP_Cache 1.998
IO::Socket::SSL::OCSP_Resolver 1.998
IO::Socket::SSL::PublicSuffix undef
IO::Socket::SSL::SSL_Context 1.998
IO::Socket::SSL::SSL_HANDLE 1.998
IO::Socket::SSL::Session_Cache 1.998
IO::Socket::SSL::Utils 0.03
requirements:
ExtUtils::MakeMaker 0
Mozilla::CA 0
Net::SSLeay 1.46
Scalar::Util 0
cpanfile.snapshot view on Meta::CPAN
provides:
LWP::Protocol::https 6.06
LWP::Protocol::https::Socket 6.06
requirements:
ExtUtils::MakeMaker 0
IO::Socket::SSL 1.54
LWP::UserAgent 6.06
Mozilla::CA 20110101
Net::HTTPS 6
perl 5.008001
Module-Build-0.4210
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Ads/AdWords/Client.pm view on Meta::CPAN
}
return $self->get___enabled_auth_handler();
}
# Private method to setup IO::Socket::SSL and Crypt::SSLeay variables
# for certificate and hostname validation.
sub __setup_SSL {
my ($self, $ca_path, $ca_file) = @_;
if ($ca_path || $ca_file) {
$ENV{HTTPS_CA_DIR} = $ca_path;
$ENV{HTTPS_CA_FILE} = $ca_file;
eval {
require IO::Socket::SSL;
require Net::SSLeay;
IO::Socket::SSL::set_ctx_defaults(
verify_mode => Net::SSLeay->VERIFY_PEER(),
SSL_verifycn_scheme => "www",
ca_file => $ca_file,
ca_path => $ca_path
);
lib/Google/Ads/AdWords/Client.pm view on Meta::CPAN
Refer to L<Google::Ads::AdWords::OAuth2ApplicationsHandler> for more details.
=head2 __setup_SSL (Private)
Setups IO::Socket::SSL and Crypt::SSLeay environment variables to work with
SSL certificate validation.
=head3 Parameters
The path to the certificate authorites folder and the path to the certificate
view all matches for this distribution