Commit Graph

90 Commits

Author SHA256 Message Date
Stephan Kulow
f6c49fe7ad Accepting request 184296 from devel:languages:perl
- new version 0.951
  * better document builtin defaults for key,cert,CA and how they are depreceated
  * use Net::SSLeay::SSL_CTX_set_default_verify_paths to use
    openssl's builtin defaults for CA unless CA path/file was given
  * MAJOR BEHAVIOR CHANGE:
    ssl_verify_mode now defaults to verify_peer for client. Until
    now it used verify_none, but loudly complained since 1.79 about
    it. It will not complain any longer, but the connection might
    probably fail. Please don't simply disable ssl verification, but
    instead set SSL_ca_file etc so that verification succeeds!
  * MAJOR BEHAVIOR CHANGE:
    it will now complain if the builtin defaults of certs/my-ca.pem
    or ca/ for CA and certs/{server,client}-{key,cert}.pem for cert
    and key are used, e.g. no certificates are specified explicitly.
    In the future these insecure (relative path!) defaults will be
    removed and the CA replaced with the system defaults.
  * Makefile.PL reported wrong version of openssl, if Net::SSLeay was not
    installed instead of reporting missing dependency to Net::SSLeay.
  * need at least OpenSSL version 0.9.8 now, since last 0.9.7 was released 6
    years ago. Remove code to work around older releases.
  * changed AUTHOR in Makefile.PL from array back to string, because the
    array feature is not available in MakeMaker shipped with 5.8.9 (RT#85739)
  * Intercept: use sha1-fingerprint of original cert for id into cache unless 
    otherwise given
  * Fix pod error in IO::Socket::SSL::Utils RT#85733
  * added IO::Socket::SSL::Utils for easier manipulation of certificates and keys
  * moved SSL interception into IO::Socket::SSL::Intercept and simplified it 
    using IO::Socket::SSL::Utils
  * enhance meta information in Makefile.PL
  * RT#85290, support more digest, especially SHA-2. (forwarded request 182138 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/184296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=57
2013-07-25 12:46:29 +00:00
Lars Vogdt
228fd437b4 Accepting request 182138 from home:lnussel:branches:devel:languages:perl
- new version 0.951
  * better document builtin defaults for key,cert,CA and how they are depreceated
  * use Net::SSLeay::SSL_CTX_set_default_verify_paths to use
    openssl's builtin defaults for CA unless CA path/file was given
  * MAJOR BEHAVIOR CHANGE:
    ssl_verify_mode now defaults to verify_peer for client. Until
    now it used verify_none, but loudly complained since 1.79 about
    it. It will not complain any longer, but the connection might
    probably fail. Please don't simply disable ssl verification, but
    instead set SSL_ca_file etc so that verification succeeds!
  * MAJOR BEHAVIOR CHANGE:
    it will now complain if the builtin defaults of certs/my-ca.pem
    or ca/ for CA and certs/{server,client}-{key,cert}.pem for cert
    and key are used, e.g. no certificates are specified explicitly.
    In the future these insecure (relative path!) defaults will be
    removed and the CA replaced with the system defaults.
  * Makefile.PL reported wrong version of openssl, if Net::SSLeay was not
    installed instead of reporting missing dependency to Net::SSLeay.
  * need at least OpenSSL version 0.9.8 now, since last 0.9.7 was released 6
    years ago. Remove code to work around older releases.
  * changed AUTHOR in Makefile.PL from array back to string, because the
    array feature is not available in MakeMaker shipped with 5.8.9 (RT#85739)
  * Intercept: use sha1-fingerprint of original cert for id into cache unless 
    otherwise given
  * Fix pod error in IO::Socket::SSL::Utils RT#85733
  * added IO::Socket::SSL::Utils for easier manipulation of certificates and keys
  * moved SSL interception into IO::Socket::SSL::Intercept and simplified it 
    using IO::Socket::SSL::Utils
  * enhance meta information in Makefile.PL
  * RT#85290, support more digest, especially SHA-2.

OBS-URL: https://build.opensuse.org/request/show/182138
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=59
2013-07-25 09:25:21 +00:00
Lars Vogdt
873afd6d3f - update to 1.88
+ consider a value of '' the same as undef for SSL_ca_(path|file)
  + complain if given SSL_(key|cert|ca)_(file|path) do not exist or
    if they are not readable
  + disabled client side SNI for openssl version < 1.0.0 
  + added functions can_client_sni, can_server_sni, can_npn to check 
    avaibility of SNI and NPN features. Added more documentation for 
    SNI and NPN
  + Server Name Indication (SNI) support on the server side 
  + sub error sets $SSL_ERROR etc only if there really is an error,
    otherwise it will keep the latest error. This causes
    IO::Socket::SSL->new.. to report the correct problem, even if
    the problem is deeper in the code (like in connect)
  + deprecated set_ctx_defaults, new name ist set_defaults
  + changed handling of default path for SSL_(ca|cert|key)* keys: either
    if one of these keys is user defined don't add defaults for the
    others, e.g.  don't mix user settings and defaults
  + cleaner handling of module defaults vs. global settings vs. socket
    specific settings 
  + prepare transition to a more secure default for SSL_verify_mode.
  The use of the current default SSL_VERIFY_NONE will cause a big warning
  for clients, unless SSL_verify_mode was explicitly set inside the
  application to this insecure value.
  In the near future the default will be SSL_VERIFY_PEER, and thus
  causing verification failures in unchanged applications.
  + use getnameinfo instead of unpack_sockaddr_in6 to get PeerAddr and
    PeerPort from sockaddr in _update_peer, because this provides scope
  + work around systems which don't defined AF_INET6
  + update_peer for IPv6 also
  + no longer depend on Socket.pm 1.95 for inet_pton, but use

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=58
2013-05-11 23:06:34 +00:00
Stephan Kulow
b745629f93 Accepting request 107589 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/107589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=54
2012-03-01 16:24:25 +00:00
Vítězslav Čížek
4b7cbd55fe - update to 1.55
- work around IO::Sockets work around for systems returning EISCONN etc
  on connect retry for non-blocking sockets by clearing $! if SUPER::connect
  returned true.
  https://rt.cpan.org/Ticket/Display.html?id=75101
  Thanks for Manoj Kumar for reporting.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=56
2012-02-22 08:29:05 +00:00
Stephan Kulow
c80c0a9164 Accepting request 103907 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=53
2012-02-14 12:09:21 +00:00
Vítězslav Čížek
6bc0ae9c39 - update to 1.54
- return 0 instead of undef in SSL_verify_callback to fix unitialized
  warnings.  Thanks to d[DOT]thomas[AT]its[DOT]uq[DOT]edu[DOT]au for 
  reporting the bug and MIKEM for the fix.
  https://rt.cpan.org/Ticket/Display.html?id=73629

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=53
2012-01-13 12:39:39 +00:00
Stephan Kulow
47336bf66e Accepting request 98292 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/98292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=52
2011-12-27 17:14:15 +00:00
Pascal Bleser
8083875b7f 1.53
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=50
2011-12-11 23:28:49 +00:00
Stephan Kulow
1a698f44d6 Accepting request 95917 from devel:languages:perl
- update to 1.52
  - fix syntax error in t/memleak_bad_handshake.t
  - disable t/memleak_bad_handshake.t on AIX, because it might hang
    https://rt.cpan.org/Ticket/Display.html?id=72170

OBS-URL: https://build.opensuse.org/request/show/95917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=51
2011-12-08 13:46:23 +00:00
Vítězslav Čížek
5f60237218 - update to 1.52
- fix syntax error in t/memleak_bad_handshake.t
  - disable t/memleak_bad_handshake.t on AIX, because it might hang
    https://rt.cpan.org/Ticket/Display.html?id=72170

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=47
2011-12-08 11:15:34 +00:00
Stephan Kulow
7ebf04eadc replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=50
2011-12-06 17:43:06 +00:00
OBS User buildservice-autocommit
1ae95f85d8 Updating link to change in openSUSE:Factory/perl-IO-Socket-SSL revision 50.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=0419941d81d4f5955d5962f846742989
2011-12-06 17:43:06 +00:00
Stephan Kulow
cfdf98f2da Accepting request 89784 from devel:languages:perl
- update to 1.49
- another regression for readline fix, this time it failed to return lines
  at eof which don't end with newline. Extended t/readline.t to catch this

OBS-URL: https://build.opensuse.org/request/show/89784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=49
2011-11-02 11:14:23 +00:00
Vítězslav Čížek
5eb8f4b3dd - update to 1.49
- another regression for readline fix, this time it failed to return lines
  at eof which don't end with newline. Extended t/readline.t to catch this

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=44
2011-10-31 08:37:11 +00:00
Stephan Kulow
9f56ef0380 Accepting request 89536 from devel:languages:perl
- update to 1.48
- bugfix for readline fix in 1.45. If the pending data where false
  (like '0') it failed to read rest of line.
  Thanks to Victor Popov for reporting
  https://rt.cpan.org/Ticket/Display.html?id=71953

- update to 1.47
  fix for 1.46 - check for mswin32 needs to be /i. Thanks to
  Alexandr Ciornii for reporting

- update to 1.46
  - added test for signals

OBS-URL: https://build.opensuse.org/request/show/89536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=48
2011-10-27 12:26:53 +00:00
Vítězslav Čížek
67437a47d8 - update to 1.48
- bugfix for readline fix in 1.45. If the pending data where false
  (like '0') it failed to read rest of line.
  Thanks to Victor Popov for reporting
  https://rt.cpan.org/Ticket/Display.html?id=71953

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=41
2011-10-27 11:09:21 +00:00
Vítězslav Čížek
ac9073442e - update to 1.47
fix for 1.46 - check for mswin32 needs to be /i. Thanks to
  Alexandr Ciornii for reporting

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=40
2011-10-24 09:41:50 +00:00
Vítězslav Čížek
fe012d983a - update to 1.46
- added test for signals

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=39
2011-10-19 11:39:44 +00:00
Sascha Peilicke
4141865d66 Accepting request 88225 from devel:languages:perl
- update to 1.45
- fix readline to continue when getting interrupt waiting for more
  data. Thanks to kgc[AT]corp[DOT]sonic[DOT]net for reporting problem

OBS-URL: https://build.opensuse.org/request/show/88225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=46
2011-10-18 12:26:57 +00:00
Vítězslav Čížek
ba0fcf3f41 - update to 1.45
- fix readline to continue when getting interrupt waiting for more
  data. Thanks to kgc[AT]corp[DOT]sonic[DOT]net for reporting problem

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=36
2011-10-17 14:44:21 +00:00
Sascha Peilicke
40b29cf5a0 Accepting request 72026 from devel:languages:perl
- update to 1.44:
  * fix invalid call to inet_pton in verify_hostname_of_cert when identity
    should be verified as ipv6 address, because it contains colon

OBS-URL: https://build.opensuse.org/request/show/72026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=45
2011-05-30 14:22:54 +00:00
Pascal Bleser
cdd4419637 1.44
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=34
2011-05-27 20:11:45 +00:00
OBS User buildservice-autocommit
f37f225231 Accepting request 70373 from devel:languages:perl
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/70373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=33
2011-05-17 08:25:26 +00:00
Sascha Peilicke
4b55e25752 Accepting request 70373 from devel:languages:perl
- update to 1.43: no user-visible changes: fixes in testsuite

OBS-URL: https://build.opensuse.org/request/show/70373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=44
2011-05-17 08:25:10 +00:00
Sascha Peilicke
35c25ba879 Autobuild autoformatter for 70004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=43
2011-05-16 08:43:25 +00:00
Sascha Peilicke
3cbeb46e1b Accepting request 70004 from devel:languages:perl
bugfix: fix issue with lack of socket shutdown

OBS-URL: https://build.opensuse.org/request/show/70004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=42
2011-05-16 08:43:09 +00:00
Pascal Bleser
824fd3b52e 1.43
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=31
2011-05-11 11:15:04 +00:00
Pascal Bleser
f13239c247 1.42
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=30
2011-05-10 19:38:21 +00:00
Stephan Kulow
9922d824d8 - updated to 1.40
- integrated patch from GAAS to get IDN support from URI.
   https://rt.cpan.org/Ticket/Display.html?id=67676
 - fix in exampel/async_https_server.
   Thanks to DetlefPilzecker[AT]web[DOT]de for reporting

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=29
2011-05-04 11:11:22 +00:00
Sascha Peilicke
81b94fa67a Accepting request 63532 from devel:languages:perl
Accepted submit request 63532 from user vitezslav_cizek

OBS-URL: https://build.opensuse.org/request/show/63532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=41
2011-03-07 14:03:03 +00:00
Vítězslav Čížek
a2e3a08e88 - update to 1.39
- fixed documentation of http verification: wildcards in cn is allowed
  - close should undef _SSL_fileno, because the fileno is no longer 
  valid (SSL connection and socket are closed)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=27
2011-03-04 16:40:07 +00:00
Lars Vogdt
f3211b7942 Autobuild autoformatter for 59034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=39
2011-01-24 14:58:37 +00:00
Lars Vogdt
b34cd4fe9a Accepting request 59034 from devel:languages:perl
Accepted submit request 59034 from user vitezslav_cizek

OBS-URL: https://build.opensuse.org/request/show/59034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=38
2011-01-24 14:58:23 +00:00
Vítězslav Čížek
f35763fdc0 - update to 1.38
- fixed wildcards_in_cn setting for http (wrongly set in 1.34 to 1
  instead of anywhere). Thanks to dagolden[AT]cpan[DOT]org for
  reporting
  https://rt.cpan.org/Ticket/Display.html?id=64864

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=25
2011-01-19 16:36:06 +00:00
Lars Vogdt
a78a192c68 Autobuild autoformatter for 56198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=37
2010-12-19 13:03:08 +00:00
OBS User buildservice-autocommit
75e8bb21d0 Updating link to change in openSUSE:Factory/perl-IO-Socket-SSL revision 37.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=232731af69e9d848c8db9805092ae753
2010-12-19 13:03:08 +00:00
Lars Vogdt
74f31bd350 Accepting request 56198 from devel:languages:perl
Accepted submit request 56198 from user anicka

OBS-URL: https://build.opensuse.org/request/show/56198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=36
2010-12-19 13:02:59 +00:00
Anna Maresova
f485fcce5f - update to 1.37
* don't complain about invalid certificate locations if user
   explicitly set SSL_ca_path and SSL_ca_file to undef. Assume that
   user knows what he is doing and will work around the problems
   by itself.
 * update documentation for SSL_verify_callback based on

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=23
2010-12-16 12:53:20 +00:00
8789757a06 Autobuild autoformatter for 55022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=35
2010-12-08 13:24:09 +00:00
OBS User buildservice-autocommit
3f4c9c3419 Updating link to change in openSUSE:Factory/perl-IO-Socket-SSL revision 35.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=19922887a221e657b5f12e71d0b376ad
2010-12-08 13:24:09 +00:00
592af9de2f Accepting request 55022 from devel:languages:perl
Accepted submit request 55022 from user anicka

OBS-URL: https://build.opensuse.org/request/show/55022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=34
2010-12-08 13:24:03 +00:00
Anna Maresova
8dc14a06f7 - update to 1.35 (fixes bnc#657907)
* if verify_mode is not VERIFY_NONE and the ca_file/ca_path cannot
   be verified as valid it will no longer fall back to VERIFY_NONE
   but throw an error.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=21
2010-12-07 14:04:25 +00:00
Lars Vogdt
f1f54a3ba7 Autobuild autoformatter for 54563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=33
2010-12-05 20:58:29 +00:00
OBS User buildservice-autocommit
f2105150de Updating link to change in openSUSE:Factory/perl-IO-Socket-SSL revision 33.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=eeedd1cf7cffc02f9dfa49762f449765
2010-12-05 20:58:29 +00:00
Lars Vogdt
34dfc4178a Accepting request 54563 from devel:languages:perl
Accepted submit request 54563 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=32
2010-12-05 20:58:23 +00:00
Stephan Kulow
6d56742057 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=19
2010-12-03 14:38:49 +00:00
Stephan Kulow
3ef0b0c10a siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=18
2010-12-01 13:47:26 +00:00
756685a34f Autobuild autoformatter for 53924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IO-Socket-SSL?expand=0&rev=31
2010-11-26 16:19:20 +00:00
OBS User buildservice-autocommit
f61a4735d9 Updating link to change in openSUSE:Factory/perl-IO-Socket-SSL revision 31.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=b3b1283f073a93fd75d55c6b6ed99aea
2010-11-26 16:19:20 +00:00