view release on metacpan or search on metacpan
example/cpanfile view on Meta::CPAN
# Example application (excluding the plugin)
requires 'Bread::Board' => '0.33';
requires 'Daemon::Control' => '0.001';
requires 'Dancer' => '1.32';
requires 'HTTP::Tiny' => '0.070';
requires 'IO::Socket::SSL' => '1.42';
requires 'JSON' => '2.90';
requires 'Moo' => '2.0';
requires 'Params::ValidationCompiler' => '0.24';
requires 'Types::Standard' => '1.00';
requires 'RPC::XML' => '0.57';
view all matches for this distribution
view release on metacpan or search on metacpan
carton.lock view on Meta::CPAN
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"recommends" : {
"IO::Socket::SSL" : "1.38"
},
"requires" : {
"Compress::Raw::Zlib" : "0",
"IO::Compress::Gzip" : "0",
"IO::Select" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
bin/index-imap.pl view on Meta::CPAN
User => $config->{imap}->{username},
Password => $config->{imap}->{password},
Debug => $config->{imap}->{debug},
);
use IO::Socket::SSL;
#$IO::Socket::SSL::DEBUG = 3; # all
my $socket = IO::Socket::SSL->new
( Proto => 'tcp',
PeerAddr => $imap_config{ Server },
PeerPort => $imap_config{ Port },
SSL_verify_mode => SSL_VERIFY_NONE, # Yes, I know ...
) or die "No socket to $imap_config{ Server }:$imap_config{ Port }";
view all matches for this distribution
view release on metacpan or search on metacpan
"runtime" : {
"requires" : {
"Carp" : "0",
"Dancer2::Core::Types" : "0",
"Dancer2::Plugin::Auth::Extensible" : "0.620",
"IO::Socket::SSL" : "0",
"Moo" : "2.000000",
"Net::IMAP::Simple" : "1.2207",
"YAML" : "0",
"namespace::clean" : "0",
"perl" : "5.006"
view all matches for this distribution
view release on metacpan or search on metacpan
change Net::SMTP::SSL dep to Net::SSL
The new dep is on a version soon after 1.28 which is the point where
Net::SMTP::SSL was deprecated. This also means we switch out
Net::SSLeay in favour of IO::Socket::SSL. The version of
IO::Socket::SSL chosen is what was recent when Net::SMTP 1.30 was
released since the Changes file says we need 'a recent
IO::Socket::SSL for SSL support'.
-------------------------------------------
version 0.0201 at 2016-11-22 17:04:30 +0000
-------------------------------------------
view all matches for this distribution
view release on metacpan or search on metacpan
example/cpanfile view on Meta::CPAN
requires 'Bread::Board' => '0.33';
requires 'Daemon::Control' => '0.001';
requires 'Dancer2' => '0.20';
requires 'Dancer2::Logger::Log4perl' => '0.00';
requires 'HTTP::Tiny' => '0.070';
requires 'IO::Socket::SSL' => '1.42';
requires 'JSON' => '2.90';
requires 'Moo' => '2.0';
requires 'MooX::Params::CompiledValidators' => '0.05';
requires 'Params::ValidationCompiler' => '0.24';
requires 'RPC::XML' => '0.57';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/CouchDB/Connection.pm view on Meta::CPAN
use Net::SSL;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Headers;
use Try::Tiny;
use IO::Socket::SSL qw( SSL_VERIFY_NONE );
use Data::CouchDB::Exceptions;
=head2 host
name of the host to connect to.
view all matches for this distribution
view release on metacpan or search on metacpan
author/update-msgpack-c.pl view on Meta::CPAN
#!/usr/bin/env perl
use strict;
use warnings;
use HTTP::Tiny;
use IO::Socket::SSL;
use Path::Tiny;
use FindBin;
chdir "$FindBin::Bin/..";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Transform/SSL.pm view on Meta::CPAN
sub STATE_SHUTDOWN () { 2 }
sub TYPE_SERVER () { 0 }
sub TYPE_CLIENT () { 1 }
# from IO::Socket::SSL
# from openssl/ssl.h, should be better in Net::SSLeay
sub SSL_SENT_SHUTDOWN () { 1 }
sub SSL_RECEIVED_SHUTDOWN () { 2 }
# from openssl/x509_vfy.h
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Database/Async/Engine/PostgreSQL.pm view on Meta::CPAN
# If SSL is disabled entirely, just return the same stream as-is
my $ssl = $self->ssl
or return $stream;
require IO::Async::SSL;
require IO::Socket::SSL;
$log->tracef('Attempting to negotiate SSL');
await $stream->write($self->protocol->ssl_request);
$log->tracef('Waiting for response');
lib/Database/Async/Engine/PostgreSQL.pm view on Meta::CPAN
$stream = await $self->loop->SSL_upgrade(
handle => $stream,
# SSL defaults...
SSL_server => 0,
SSL_hostname => $self->uri->host,
SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE(),
# Pass through anything SSL-related unchanged, the user knows
# better than we do
(map {; $_ => $self->{$_} } grep { /^SSL_/ } keys %$self)
);
$log->tracef('Upgrade complete');
view all matches for this distribution
view release on metacpan or search on metacpan
t/examples/traces/1.txt view on Meta::CPAN
Net::SSLeay::constant
Net::SSLeay::AUTOLOAD (/opt/perl5.26.1/lib/site_perl/5.26.1/x86_64-linux-5.26.0-thread-multi-ld/Net/SSLeay.pm:378-397)
Net::SSLeay::constant
Net::SSLeay::VERIFY_NONE ((eval 81)[/opt/perl5.26.1/lib/site_perl/5.26.1/x86_64-linux-5.26.0-thread-multi-ld/Net/SSLeay.pm:395]:1-1)
Net::SSLeay::VERIFY_PEER ((eval 82)[/opt/perl5.26.1/lib/site_perl/5.26.1/x86_64-linux-5.26.0-thread-multi-ld/Net/SSLeay.pm:395]:1-1)
IO::Socket::SSL::init (/opt/perl5.26.1/lib/site_perl/5.26.1/IO/Socket/SSL.pm:206-240)
Net::SSLeay::library_init
Net::SSLeay::load_error_strings
Net::SSLeay::OpenSSL_add_all_digests
Net::SSLeay::AUTOLOAD (/opt/perl5.26.1/lib/site_perl/5.26.1/x86_64-linux-5.26.0-thread-multi-ld/Net/SSLeay.pm:378-397)
Net::SSLeay::constant
t/examples/traces/1.txt view on Meta::CPAN
XML::Simple::new (/opt/perl5.26.1/lib/site_perl/5.26.1/XML/Simple.pm:108-131)
XML::Simple::_strict_mode_for_caller (/opt/perl5.26.1/lib/site_perl/5.26.1/XML/Simple.pm:143-152)
XPortal::MP2
UNIVERSAL::import (/opt/perl5.26.1/lib/5.26.1/UNIVERSAL.pm:11-16)
CODE(0x9ac8698)
IO::Socket::SSL::init (/opt/perl5.26.1/lib/site_perl/5.26.1/IO/Socket/SSL.pm:206-240)
Net::SSLeay::library_init
main::_extract_host (cgi2.pl:10-13)
XPortal::handler (/media/sf_FictionHub/XPortal.pm:196-201)
XPortal::BotDetector::DoBefore (/media/sf_FictionHub/XPortal/BotDetector.pm:6-31)
XPortal::BotDetector::GetIP (/media/sf_FictionHub/XPortal/BotDetector.pm:48-56)
view all matches for this distribution
view release on metacpan or search on metacpan
"runtime" : {
"requires" : {
"Capture::Tiny" : "0.30",
"Devel::Cover" : "0",
"Furl" : "3.07",
"IO::Socket::SSL" : "2.016",
"JSON::XS" : "3.01",
"Module::Find" : "0.13",
"Sub::Retry" : "0.06",
"URI" : "1.60",
"perl" : "5.008001"
view all matches for this distribution
view release on metacpan or search on metacpan
0.09 2014-10-02T06:28:44Z
- Use core HTTP::Tiny instead of Furl (thanks JRaspass)
0.08 2014-06-16T09:21:06Z
- Add IO::Socket::SSL prereq (thanks haarg)
0.07 2014-06-16T04:36:24Z
- depend JSON::XS to JSON::PP (thanks fioux, karenetheridge)
0.06 2013-07-14T13:23:11Z
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Surveyor/Inquiry.pm view on Meta::CPAN
my @args = ('-s', '-S', '-L', '-A', $agent_string, '--connect-timeout', 10, '-X', $method);
push @args, '-H', "$_: $headers->{$_}" for keys %$headers;
push @args, '--data-raw', $content if defined $content;
return IPC::System::Simple::capturex($curl, @args, $url);
} else {
die "None of IO::Socket::SSL, wget, or curl are available; cannot make HTTPS requests.";
}
}
# caching via persistent memoize
view all matches for this distribution
view release on metacpan or search on metacpan
"Dist::Zilla::Role::PluginBundle::Easy" => 0,
"Dist::Zilla::Role::TextTemplate" => 0,
"File::Basename" => 0,
"Git::Wrapper" => 0,
"HTTP::Tiny" => 0,
"IO::Socket::SSL" => "1.56",
"JSON::MaybeXS" => 0,
"List::Util" => 0,
"MIME::Base64" => 0,
"Moose" => 0,
"Net::SSLeay" => "1.49",
view all matches for this distribution
view release on metacpan or search on metacpan
"Dist::Zilla::Plugin::ModuleBuildTiny" : "0",
"Dist::Zilla::Plugin::PerlTidy" : "0.14",
"Dist::Zilla::Plugin::Prereqs::MatchInstalled" : "0",
"Dist::Zilla::Plugin::Prereqs::Recommend::MatchInstalled" : "0",
"Dist::Zilla::Util::EmulatePhase" : "0.01025803",
"IO::Socket::SSL" : "1.962",
"JSON::MaybeXS" : "0",
"LWP::Protocol::https" : "6.04",
"Moose" : "2.1201",
"MooseX::Has::Sugar" : "1.000000",
"MooseX::Types" : "0.41",
view all matches for this distribution
view release on metacpan or search on metacpan
Notes/cpan-namespaces/cpan-namespaces-L1-L3.txt view on Meta::CPAN
IO::Socket::Multicast6
IO::Socket::Netlink
IO::Socket::Packet
IO::Socket::PortState
IO::Socket::RedisPubSub
IO::Socket::SSL
IO::Socket::SecureSocks
IO::Socket::Socks
IO::Socket::TIPC
IO::Socket::Telnet
IO::Socket::Timeout
view all matches for this distribution
view release on metacpan or search on metacpan
},
"runtime" : {
"requires" : {
"HTTP::Headers" : "0",
"HTTP::Tiny" : "0",
"IO::Socket::SSL" : "0",
"JSON::MaybeXS" : "0",
"MIME::Base64" : "0",
"Moo" : "0",
"Throwable::Error" : "0",
"Types::Standard" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
"ExtUtils::MakeMaker" : "6.59"
}
},
"runtime" : {
"requires" : {
"IO::Socket::SSL" : "1.84",
"LWP::UserAgent" : "6.04",
"Net::OpenID::Consumer" : "1.13",
"Net::Twitter::Lite" : "0.12002",
"Plack" : "1.0018",
"Plack::Middleware::Session" : "0.18",
view all matches for this distribution
view release on metacpan or search on metacpan
requires 'File::Path';
requires 'File::Spec::Functions';
requires 'Getopt::Long' => 2.36;
#requires 'HTTP::Tiny';
#requires 'IO::Socket::SSL' => 1.42;
requires 'IO::Uncompress::Unzip';
requires 'JSON::PP' => 2;
requires 'Module::Build::Tiny';
#requires 'Net::SSLeay' => 1.49;
view all matches for this distribution
view release on metacpan or search on metacpan
$ mkdir locallib
$ cpanm --local-lib locallib Net::SMTP~3.05
$ cpanm --local-lib locallib Mail::IMAPClient~3.18
$ cpanm --local-lib locallib Net::POP3~3.06
$ cpanm --local-lib locallib IO::Socket::SSL~2.007
$ cpanm --local-lib locallib EMDIS-ECS-0.36.tar.gz
The ecs_setup script asks a series of questions and creates an ecs.cfg
file based on the answers given. If needed, it can also create the
required ECS_DAT_DIR subdirectories. The directory structure and script
view all matches for this distribution
view release on metacpan or search on metacpan
t/040_https_request.t view on Meta::CPAN
use t::test_base;
use strict;
use warnings;
use IO::Socket::SSL;
use File::Spec;
my @parts = File::Spec->splitpath(__FILE__);
my $basedir = $parts[1];
t/040_https_request.t view on Meta::CPAN
my ($port, $public_cert, $private_cert, $ca_file) = @_;
if(my $pid = fork){
#print "Open socket in 127.0.0.1:$port\n";
# simple server
my $srv = IO::Socket::SSL->new(
LocalAddr => "localhost:$port",
Listen => 10,
SSL_server => 1,
SSL_cert_file => $public_cert,
SSL_key_file => $private_cert,
view all matches for this distribution
view release on metacpan or search on metacpan
"runtime" : {
"requires" : {
"Email::Sender" : "0",
"HTTP::Tiny" : "0.037",
"HTTP::Tiny::Multipart" : "0",
"IO::Socket::SSL" : "0",
"JSON::MaybeXS" : "0",
"Moo" : "0",
"MooX::Types::MooseLike::Base" : "0",
"perl" : "5.008001"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Email/Sender/Transport/SMTP.pm view on Meta::CPAN
#pod =item C<ssl>: if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely;
#pod if 'maybestarttls', use STARTTLS if available; otherwise, no security
#pod
#pod =item C<ssl_options>: passed to Net::SMTP constructor for 'ssl' connections or
#pod to starttls for 'starttls' or 'maybestarttls' connections; should contain extra
#pod options for IO::Socket::SSL
#pod
#pod =item C<port>: port to connect to; defaults to 25 for non-SSL, 465 for 'ssl',
#pod 587 for 'starttls'
#pod
#pod =item C<timeout>: maximum time in secs to wait for server; default is 120
lib/Email/Sender/Transport/SMTP.pm view on Meta::CPAN
=item C<ssl>: if 'starttls', use STARTTLS; if 'ssl' (or 1), connect securely;
if 'maybestarttls', use STARTTLS if available; otherwise, no security
=item C<ssl_options>: passed to Net::SMTP constructor for 'ssl' connections or
to starttls for 'starttls' or 'maybestarttls' connections; should contain extra
options for IO::Socket::SSL
=item C<port>: port to connect to; defaults to 25 for non-SSL, 465 for 'ssl',
587 for 'starttls'
=item C<timeout>: maximum time in secs to wait for server; default is 120
view all matches for this distribution
view release on metacpan or search on metacpan
"Authen::SASL" : "0",
"Email::AddressParser" : "0",
"Email::Stuffer" : "0",
"File::Slurp" : "0",
"Hash::Merge::Simple" : "0.051",
"IO::Socket::SSL" : "0",
"Moo" : "2.000002",
"Net::SMTP::SSL" : "0",
"Net::SMTP::TLS" : "0",
"Net::SSLeay" : "0",
"perl" : "v5.10.0"
view all matches for this distribution
view release on metacpan or search on metacpan
"requires" : {
"File::Basename" : "0",
"File::Copy::Recursive" : "0",
"File::Spec" : "0",
"HTTP::Tiny" : "0.041",
"IO::Socket::SSL" : "0",
"Try::Lite" : "0",
"autodie" : "0",
"parent" : "0",
"perl" : "5.010001",
"version" : "0.77"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Endoscope.pm view on Meta::CPAN
OPTIONAL
Cpanel::JSON::XS 4.04+ (4.09)
EV 4.0+ (4.25)
IO::Socket::Socks 0.64+ (n/a)
IO::Socket::SSL 2.009+ (2.066)
Net::DNS::Native 0.15+ (n/a)
Role::Tiny 2.000001+ (2.000006)
This version is up to date, have fun!
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Enterasys/NetSight.pm view on Meta::CPAN
use SOAP::Lite;
use Socket;
use Carp;
# On some systems Crypt::SSLeay tries to use IO::Socket::SSL and breaks,
# This forces it to use Net::SSL just in case.
$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS}="Net::SSL";
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
$ENV{https_proxy}="";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Event/RPC.pm view on Meta::CPAN
my $obj = My::TestModule->new ( foo => "bar" );
my $foo = $obj->get_foo;
=head1 ABSTRACT
Event::RPC supports you in developing Event based networking client/server applications with transparent object/method access from the client to the server. Network communication is optionally encrypted using IO::Socket::SSL. Several event loop manag...
=head1 DESCRIPTION
Event::RPC consists of a server and a client library. The server exports a list of classes and methods, which are allowed to be called over the network. More specific it acts as a proxy for objects created on the server side (on demand of the connect...
lib/Event/RPC.pm view on Meta::CPAN
AnyEvent
They're needed for event handling resp. mainloop implementation.
If you like to use SSL encryption you need to install
IO::Socket::SSL
Event::RPC needs minimum one of the following modules for
data serialisation:
Sereal (::Decoder and ::Encoder)
view all matches for this distribution