Günter Obiltschnig
b2f5633a45
ci jobs for OpenSSL 1.1 and 3
2022-04-16 08:11:05 +02:00
Günter Obiltschnig
e99f4fd31a
#3563 : Remove support for OpenSSL < 1.0
2022-04-16 08:05:12 +02:00
Günter Obiltschnig
0af3f699af
fix exception text
2022-04-15 17:53:21 +02:00
Günter Obiltschnig
720dbe1262
#3562 : fixed OpenSSL setup/shutdown
2022-04-15 17:22:01 +02:00
Alex Fabijanic
7ae6b60e9f
fix(Any): #3297 #3514
2022-04-13 21:10:56 +02:00
Alex Fabijanic
4080ee275a
fix(Envelope): mac/clang compile
2022-04-13 19:58:50 +02:00
Alex Fabijanic
e6afb8749c
feat(Envelope): Add envelope to crypto #3561
2022-04-13 10:02:05 +00:00
Alex Fabijanic
c4fb51ac72
fix(openssl): pre 3.0 compile
2022-04-09 21:44:11 +02:00
Alex Fabijanic
45c456653f
feat(EVP): 3.0 support
...
- add EVPCipher
- additional EVPPKey constructors
- tests
- fix and improve openssl-related exceptions
Transition towards 3.0 support;
deprecating direct EC and RSA interface portions.
2022-04-09 18:55:26 +00:00
Günter Obiltschnig
4b0e1848b2
#3559 : Poco::Data::PostgreSQL - DateTime extraction truncates fractional seconds
2022-04-07 19:06:51 +02:00
Alex Fabijanic
a2870da1d0
fix(X509Certificate): add missing string format
2022-04-04 10:24:01 +00:00
Alex Fabijanic
063520c8ef
Merge branch 'poco-1.11.2' into feat/openssl3-1.11.2
2022-04-04 10:20:56 +00:00
Alex Fabijanic
1d4d444e08
chore: cleanup
2022-04-02 05:15:08 -07:00
Günter Obiltschnig
b158f90381
disable OpenSSL deprecation warnings
2022-04-02 10:21:55 +02:00
Günter Obiltschnig
753757fdf8
#3525 : Bad management of file in case of OpenSSLException in X509Certificate::readPEM and X509Certificate::writePEM
2022-04-02 10:21:37 +02:00
Günter Obiltschnig
9fac40afa5
#3553 : Upgrade bundled zlib to 1.2.12
2022-04-01 21:14:55 +02:00
Günter Obiltschnig
c5b38f45fe
#3549 ; replace assert with assertTrue
2022-04-01 21:03:50 +02:00
Günter Obiltschnig
4ca3f5ca02
#3500 : Sandbox all iFrames in PocoDoc
2022-04-01 12:20:22 +02:00
Alex Fabijanic
3fb001f397
fix(Socket): shutdown fixes from pull #3448
2022-03-31 19:03:27 +00:00
Robin Lee
3bab3548f4
Basic support for OpenSSL 3.0.0 ( #3448 )
...
* updated README.md
* Create close-inactive-issues.yml
* check return codes of EVP_CIPHER_CTX_new and EVP_CipherInit
Especially with OpenSSL 3, it is possible that EVP_CipherInit may fail even when
passed a non-null cipher[1]. Without the checking, it will finally get to a
segfault.
[1] https://github.com/openssl/openssl/issues/16864
* Automatically load default and legacy providers with OpenSSL 3
Without the legacy provider [1], some ciphers are not available. For example,
the 'des-ecb' one used by test sutie is missed and the test will fail.
[1] OSSL_PROVIDER-LEGACY(7ossl)
* Make p12 ca order the same as pem
OpenSSL < 3 returns p12 ca order in reversed order. This is fixed
in OpenSSL 3. We work around it with old OpenSSL.
See:
https://github.com/openssl/openssl/issues/16421
https://github.com/openssl/openssl/pull/12641
f5eb85eb0f
* Implement SSL abort handling on OpenSSL 3
On an unexpected EOF, versions before OpenSSL 3.0 returned SSL_ERROR_SYSCALL,
nothing was added to the error stack, and errno was 0. Since OpenSSL 3.0 the
returned error is SSL_ERROR_SSL with a meaningful error on the error stack.[1]
[1] SSL_GET_ERROR(3ossl)
Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: Robin Lee <cheeselee@fedoraproject.org>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-03-29 13:23:44 -05:00
Günter Obiltschnig
5a0b18246b
use tm_gmtoff on Linux
2022-03-28 13:50:31 +02:00
Günter Obiltschnig
c0ea70c2bf
remove unused method in Timezone_WIN32.cpp
2022-03-28 13:18:50 +02:00
Günter Obiltschnig
2c15b93dee
#2882 : another attempt at fixing it that should also work on other platforms
2022-03-28 12:57:16 +02:00
Günter Obiltschnig
6aa29ade17
#3509 : fix dst and utcOffset handling for Dublin time zone
2022-03-27 21:25:51 +02:00
Günter Obiltschnig
1b5de92f09
#3268 : Poco redis command set have a bug when you want to set nx ex or expireTime
2022-03-27 20:11:56 +02:00
Günter Obiltschnig
2ec44c756b
#3495 : Array::operator[] should not throw
2022-03-27 20:02:50 +02:00
Günter Obiltschnig
292d137909
#3483 : Adds Windows 11 and Server 2022 to Environment::osDisplayName()
2022-03-27 19:53:13 +02:00
Günter Obiltschnig
0ebfafb2b9
#3524 : remove XML and Util dependencies in Zip/SevenZip
2022-03-27 19:46:20 +02:00
Günter Obiltschnig
852a53e702
#3466 : DefinePlatformSpecific.cmake: handle RelWithDebInfo and MinSizeRel configurations
2022-03-27 19:37:14 +02:00
Günter Obiltschnig
49573106c7
Merge pull request #3544 from jolivain/fix_nios2_build
...
Add back NIOS2 double conversion detection to fix compile errors
2022-03-27 19:33:26 +02:00
Julien Olivain
13e2199827
Add back NIOS2 double conversion detection to fix compile errors
...
The commit
558324f672
removed the nios2 support, which was originally added in
e7b91e8125
This commit add it back.
Signed-off-by: Julien Olivain <ju.o@free.fr>
2022-03-25 20:08:22 +01:00
Günter Obiltschnig
a0403928b3
#3538 : Upgrade bundled expat to 2.4.7
2022-03-09 08:32:03 +01:00
Günter Obiltschnig
5239c4f023
#3530 : Upgrade bundled expat to 2.4.6
2022-02-20 18:53:57 +01:00
Günter Obiltschnig
2b3662c854
added VS2022 project files
2022-02-19 21:06:24 +01:00
Günter Obiltschnig
fbc0078bac
Merge branch 'poco-1.11.2' of github.com:pocoproject/poco into poco-1.11.2
2022-02-19 18:42:41 +01:00
Günter Obiltschnig
8445f4e2de
remove unused CppUnit headers
2022-02-19 18:42:27 +01:00
Günter Obiltschnig
3d95305a6c
Merge branch 'poco-1.11.2' of github.com:pocoproject/poco into poco-1.11.2
2022-02-19 18:22:31 +01:00
Günter Obiltschnig
8108556db2
fix library name
2022-02-19 18:22:19 +01:00
Günter Obiltschnig
cabab4f957
ci: add windows 2022
2022-02-19 17:23:31 +01:00
Günter Obiltschnig
3c709ed64c
ProGen: support generation of VS 2022 project files
2022-02-19 17:05:45 +01:00
Günter Obiltschnig
5787807b5a
updated README.md
2022-02-19 17:02:19 +01:00
Günter Obiltschnig
6341ec6350
detect ARM64 on Windows
2022-02-19 15:23:03 +01:00
Günter Obiltschnig
6de72dfe9d
CI: don't build PageCompiler in ARM cross build
2022-02-19 11:14:16 +01:00
Günter Obiltschnig
7099821df8
#3338 : NamedMutex does not work on Linux distributions where fs.protected_regular=1
2022-02-19 11:12:48 +01:00
Günter Obiltschnig
df20425463
#3518 : Expat version check in #defines incorrect
2022-02-19 10:40:46 +01:00
Günter Obiltschnig
010cf8b7d0
#3507 : Reference counting for bound configuration in Util::Option is broken
2022-02-19 10:35:30 +01:00
Günter Obiltschnig
3b1484ca50
#3470 : bug in JSON ParseHandler.cpp (RFC 7159 should be valid)
2022-02-19 09:52:24 +01:00
Günter Obiltschnig
02abb70601
#3527 : Upgrade bundled expat to 2.4.5
2022-02-19 09:29:43 +01:00
Günter Obiltschnig
00d5e7171a
#3505 : JSON::PrintHandler.value(bool) prints incorrect value
2022-02-08 06:00:29 +01:00
Günter Obiltschnig
516eebad72
#3458 : encryptString() crash on redhat/centos 8 with FIPS enabled using md5 default digest
2022-02-07 18:21:46 +01:00