view release on metacpan or search on metacpan
"ExtUtils::MakeMaker" : "0"
}
},
"develop" : {
"requires" : {
"IO::Socket::SSL" : "0",
"JSON::MaybeXS" : "0",
"Mojo::UserAgent" : "0",
"MooseX::DataModel" : "0",
"MooseX::Types::Path::Class" : "0",
"Sort::Topological" : "0",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chandra/Socket/Client.pm view on Meta::CPAN
host => '10.0.0.5',
port => 9000,
token => $token,
);
# TCP with TLS (requires IO::Socket::SSL)
my $client = Chandra::Socket::Client->new(
name => 'remote-1',
transport => 'tcp',
host => '10.0.0.5',
port => 9000,
lib/Chandra/Socket/Client.pm view on Meta::CPAN
Authentication token. For Unix sockets this is read from the token file
automatically. For TCP it must be provided (see C<< $hub->token >>).
=item tls
Set to a true value to connect via TLS. Requires L<IO::Socket::SSL>.
=item tls_ca
Path to a CA certificate file for server verification. When omitted, peer
verification is disabled.
view all matches for this distribution
view release on metacpan or search on metacpan
Fork/HardcodedUsage.pod view on Meta::CPAN
if (! $Config{'d_fork'}) {
$reason = 'no fork';
}
# ...
=item L<IO::Socket::SSL>
Version checked: 2.071
File: t/testlib.pl
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Scalar::Util 0
Test::More 0.88
IO-Socket-SSL-1.966
pathname: S/SU/SULLR/IO-Socket-SSL-1.966.tar.gz
provides:
IO::Socket::SSL 1.966
IO::Socket::SSL::Intercept 1.93
IO::Socket::SSL::SSL_Context 1.966
IO::Socket::SSL::SSL_HANDLE 1.966
IO::Socket::SSL::Session_Cache 1.966
IO::Socket::SSL::Utils 0.02
requirements:
ExtUtils::MakeMaker 0
Net::SSLeay 1.46
Scalar::Util 0
IO-Tty-1.12
cpanfile.snapshot view on Meta::CPAN
provides:
LWP::Protocol::https 6.04
LWP::Protocol::https::Socket 6.04
requirements:
ExtUtils::MakeMaker 0
IO::Socket::SSL 1.54
LWP::UserAgent 6.04
Mozilla::CA 20110101
Net::HTTPS 6
perl 5.008001
Lexical-SealRequireHints-0.007
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chooser.pm view on Meta::CPAN
use warnings;
use strict;
use Exporter;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
use IO::Socket::SSL;
use Sys::Hostname;
use Text::NeatTemplate;
our @ISA = qw(Exporter);
our @EXPORT = qw(choose);
lib/Chooser.pm view on Meta::CPAN
#handles the the sslcert test
sub sslcert{
my %args=%{$_[0]};
my $client=IO::Socket::SSL->new( $args{host}.':'.$args{port},
SSL_version=>$args{version},
SSL_cipher_list=>$args{cipher_list},
SSL_ca_file=>$args{ca_file},
SSL_ca_path=>$args{ca_path},
SSL_crl_file=>$args{crl_file},
lib/Chooser.pm view on Meta::CPAN
=head3 args
To get the values to for the subject and issure, use the
code below and use everything after /\: /.
use IO::Socket::SSL;
my $client->new($host.':'.$port);
print $client->dump_peer_certificate;
The required values are listed below.
host
port
subject
For more information about most of these options, please
see the documentation for IO::Socket::SSL for the new
method.
=head4 CAfile
The CA file to use.
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"runtime" : {
"requires" : {
"HTTP::Tiny" : "0",
"IO::Socket::SSL" : "0",
"JSON::MaybeXS" : "0",
"Moo" : "0",
"MooX::StrictConstructor" : "0",
"Throwable::Error" : "0",
"Type::Tiny" : "0"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ComXo/Call2.pm view on Meta::CPAN
use warnings;
our $VERSION = '0.02';
use Carp;
use SOAP::Lite;
use IO::Socket::SSL qw( SSL_VERIFY_NONE );
my %possible_err = (
'*01' => 'Number Failed',
'*02' => 'Alias Does Not Exist',
'*03' => 'No Call Records',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Conduit.pm view on Meta::CPAN
Investigate split IPv4+IPv6 serving, whether it needs two socket or one will
suffice. This may be OS-dependent.
=item *
HTTPS, perhaps via L<IO::Socket::SSL> or maybe something newer?
=item *
Look into what's required to support some sort of websocket thing in addition
to plain HTTP.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Connector/Proxy/SOAP/Lite.pm view on Meta::CPAN
$client->proxy($proxy);
$self->log()->trace('Using Net::SSL, EVN is' . Dumper $ENV);
} # end of Net:SSL, IO::Socket::SSL
elsif( $proxy =~ /^https:/i ) {
use IO::Socket::SSL;
$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "IO::Socket::SSL";
my $ssl_opts = {
verify_hostname => ($self->ssl_ignore_hostname ? 0 : 1)
};
if ($self->certificate_p12_file) {
die "Using pkcs12 containers is not supported by IO::Socket::SSL"
}
if ($self->certificate_key_file) {
if (!$self->certificate_file) {
die "You need to pass certificate AND key file";
lib/Connector/Proxy/SOAP/Lite.pm view on Meta::CPAN
$ssl_opts->{SSL_ca_file} = $self->ca_certificate_file;
}
# For whatever reason LWP wants the ssl_opts as ARRAYref!
$client-> proxy($proxy, ssl_opts => [%{$ssl_opts}] );
$self->log()->trace('Using IO::Socket::SSL with options ' . Dumper $ssl_opts);
} else {
# No ssl
$client->proxy($proxy);
}
lib/Connector/Proxy/SOAP/Lite.pm view on Meta::CPAN
=over
=item use_net_ssl
Set this to a true value to use Net::SSL as backend library (otherwise
IO::Socket::SSL is used). Be aware the Net::SSL does not check the hostname
of the server certificate so Man-in-the-Middle-Attacks might be possible.
You should use this only with a really good reason or if you need support
for PKCS12 containers.
=item ssl_ignore_hostname
Do not validate the hostname of the server certificate (only useful with
IO::Socket::SSL as Net::SSL does not check the hostname at all).
=item certificate_file
Path to a PEM encoded certificate file.
view all matches for this distribution
view release on metacpan or search on metacpan
- Modified Python binding to work in Conda env
- Increased Perl version from 5.16 to 5.26
0.11_1 2023-07-09T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Reverted change in Makefile.PL for 'IO::Socket::SSL'
- IO::Socker::SSL only is used if installed
0.11 2023-07-09T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Uncommented 'IO::Socket::SSL' in Makefile.PL to pass self-validation of mapping schema in t/
- Changed cnag.crg.eu to cnag.eu
0.10 2023-07-03T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Added share/db/{omim,hpo}.db SQLite databases
- Modified source to accomodate such dbs
view all matches for this distribution
view release on metacpan or search on metacpan
CHANGELOG.md view on Meta::CPAN
- Add highlight for new messages since last time window had focus #56
- Add /kick command #134
- Various UI improvements (Flatten, highlights/background go all out) #145, #146, #147, #162
## 0.82 (2014-08-24)
- Requires IO::Socket::SSL 1.84
- Requires Mojolicious 5.30
- Fix nicks starting with special character, #130
- Fix jumpy text when sending a message
- Fix invite only template styling
- Fix /help command and add click actions
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
}
close( $io );
}
warn( "[warning] You have syntax error in your Apache configuration file at line $has_error. You might want to do an apache2ctl configtest or (${cmd} -t)\n" ) if( $has_error );
# IO::Socket::SSL or Net::SSL
eval( 'require IO::Socket::SSL' );
if( $@ )
{
my $io_ssl_err = $@;
eval( 'require Net::SSL' );
unless( $@ )
Makefile.PL view on Meta::CPAN
$has_perl_ssl = 'Net::SSL';
}
}
else
{
$has_perl_ssl = 'IO::Socket::SSL';
}
if( $has_ssl && $has_perl_ssl )
{
print( STDERR "Found Apache module mod_ssl enabled and $has_perl_ssl module installed. Ok\n" ) if( $MY_DEBUG );
$ref->{_HAS_SSL} = 1;
}
elsif( $has_ssl && !$has_perl_ssl )
{
print( STDERR "Found Apache module mod_ssl enabled, but missing perl modules (either IO::Socket::SSL or Net::SSL)\n" ) if( $MY_DEBUG );
}
elsif( !$has_ssl && $has_perl_ssl )
{
print( STDERR "Apache module mod_ssl is not enabled, but found $has_perl_ssl\n" ) if( $MY_DEBUG );
}
else
{
print( STDERR "Apache module mod_ssl is not enabled and could not find either IO::Socket::SSL nor Net::SSL, deactivating the use of SSL for our tests.\n" ) if( $MY_DEBUG );
}
}
print( STDERR "Found apxs? ", ( $ref->{apxs} ? "yes at $ref->{apxs}" : 'no' ), "\n" ) if( $MY_DEBUG );
if( !$ref->{apxs} )
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Coro/PatchSet/LWP.pm view on Meta::CPAN
use strict;
use Coro::Select;
BEGIN {
eval {
*IO::Socket::SSL::tie = *IO::Socket::SSL::untie = sub{}; # prevent overriding of our tie mechanism
require IO::Socket::SSL;
};
# for those who want to use LWP::Protocol::socks
$IO::Socket::Socks::SOCKET_CLASS = Coro::LWP::Socket::;
}
use Coro::LWP;
lib/Coro/PatchSet/LWP.pm view on Meta::CPAN
for (@Net::HTTP::ISA, @Net::FTP::ISA, @Net::NTTP::ISA) {
$_ = Coro::LWP::Socket::
if $_ eq IO::Socket::INET6:: || $_ eq IO::Socket::IP::;
}
$IO::Socket::SSL::ISA[0] = Coro::LWP::Socket:: if IO::Socket::SSL->can('new');
1;
__END__
lib/Coro/PatchSet/LWP.pm view on Meta::CPAN
IPv6 support for LWP, because Coro::Socket is still IPv4 only. See t/09_lwp_socket_class.t
=head2 coro compatible support for https
Coro::LWP doesn't do any special hacks about https, so https connections still blocks coro threads.
This patch fixes this problem, but don't forget to load it before IO::Socket::SSL, so C<use> it as early as
possible.
=head2 loading other necessary patches
This patch will also load other necessary patches: Coro::PatchSet::Handle and Coro::PatchSet::Socket
view all matches for this distribution
view release on metacpan or search on metacpan
in the client itself.
0.06 14 March 2016
- Added certificate revocation to both the library (Crypt::LE) and the client (le.pl).
- Improved documentation and le.pl usage help.
- Added HTTP::Tiny dependencies for NetBSD/OpenBSD boxes, which don't have IO::Socket::SSL and Net::SSLeay
installed by default.
0.05 13 March 2016
Client: In addition to be able to use external challenge handlers, le.pl can now also use completion handlers. Example:
view all matches for this distribution
view release on metacpan or search on metacpan
=head1 DO YOU NEED Crypt::SSLeay?
Starting with version 6.02 of L<LWP>, C<https> support was unbundled into
L<LWP::Protocol::https>. This module specifies as one of its prerequisites
L<IO::Socket::SSL> which is automatically used by L<LWP::UserAgent> unless
this preference is overridden separately. C<IO::Socket::SSL> is a more
complete implementation, and, crucially, it allows hostname verification.
C<Crypt::SSLeay> does not support this. At this point, C<Crypt::SSLeay> is
maintained to support existing software that already depends on it.
However, it is possible that your software does not really depend on
C<Crypt::SSLeay>, only on the ability of C<LWP::UserAgent> class to
communicate with sites over SSL/TLS.
If are using version C<LWP> 6.02 or later, and therefore have installed
C<LWP::Protocol::https> and its dependencies, and do not explicitly C<use>
C<Net::SSL> before loading C<LWP::UserAgent>, or override the default socket
class, you are probably using C<IO::Socket::SSL> and do not really need
C<Crypt::SSLeay>.
If you have both C<Crypt::SSLeay> and C<IO::Socket::SSL> installed, and
would like to force C<LWP::UserAgent> to use C<Crypt::SSLeay>, you can
use:
use Net::HTTPS;
$Net::HTTPS::SSL_SOCKET_CLASS = 'Net::SSL';
=item Specify SSL Socket Class
C<$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS}> can be used to instruct
C<LWP::UserAgent> to use C<Net::SSL> for HTTPS support rather than
C<IO::Socket::SSL>.
=item Proxy Support
$ENV{HTTPS_PROXY} = 'http://proxy_hostname_or_ip:port';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DBD/libsql.pm view on Meta::CPAN
=item * HTTP::Request (6.00 or later)
=item * JSON (4.00 or later)
=item * IO::Socket::SSL (2.00 or later) - for HTTPS connections
=back
=head1 AUTHOR
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dancer/Plugin/Auth/Google.pm view on Meta::CPAN
use Carp ();
use Scalar::Util;
use Try::Tiny;
use Furl;
use IO::Socket::SSL;
use URI;
my $client_id;
my $client_secret;
my $scope;
view all matches for this distribution
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
"requires" : {
"Archive::Tar" : "3.02",
"Class::Accessor::Validated" : "0.04",
"HTTP::Tiny" : "0.088",
"IO::Scalar" : "2.113",
"IO::Socket::SSL" : "0",
"IO::Uncompress::Gunzip" : "2.213",
"List::Util" : "0",
"Log::Log4perl" : "1.57",
"Log::Log4perl::Level" : "0",
"Net::SSLeay" : "0",
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