Alex Fabijanic
05598faab8
fix(OpenSSLInitializer): SIGABRT in OSSL_PROVIDER_unload with static OpenSSL3 #3698
2022-07-19 18:03:14 +02:00
Alex Fabijanic
0817b256b5
fix(): Linking Crypto-testrunner fails #3688
2022-07-18 13:05:51 +02:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
168f1eb6e2
As of C++11, std::swap is noexcept. #2386 ( #3645 )
...
* As of C++11, std::swap is noexcept. #2386
* fix(Any): remove throw on swap
* fix(Any): As of C++11, std::swap is noexcept. #2386
* fix(Any): make size const #2386
* fix(SimpleRowFormatter): clang won't compile noexcept #2386
* a couple of arm fixes
* fix(Any): As of C++11, std::swap is noexcept. #2386
* fix(AnyTest): local() for POCO_NO_SOO# 2386
* test(RSACipher): RSA encryption without private key #2367
* chore(RSACipherTest): delete ciphers #2367
2022-06-28 12:14:36 -05:00
Alex Fabijanic
0903810e58
feat(Cipher): No access to padding in Cipher #3374
2022-06-24 00:04:28 +02:00
Aleksandar Fabijanic
7db9831f32
Netssl/openssl3 ( #3575 )
...
* feat(Context): DH init openssl3 port (1/2 hardcoded params)
* create poco-1.11.3 branch, bump version
* update copyright date
* #3567 : check legacy provider existence for legacy exception #3567
* fix(Placeholder): comparison for zero value
* feat(Context): DH init openssl3 port (2/2 params from file)
* test(HTTPSClientSession): try/catch to understand CI failure
* chore(cmake): copy the DH parameters file
* fix(OpenSSLInitializer): unload provider on uninitialize
* chore(HTTPSClientSessionTest): remove try/catch
* fix(OpenSSLInitializer): fix provider unloading
* feat(CppUnit): make tests exceptions more descriptive
* chore(CppUnit): a more descriptive name for callback
Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
2022-04-28 22:24:43 -05:00
Alex Fabijanic
7b051851b6
merge 1.11.2
2022-04-16 21:10:45 +02:00
Günter Obiltschnig
e99f4fd31a
#3563 : Remove support for OpenSSL < 1.0
2022-04-16 08:05:12 +02:00
Günter Obiltschnig
720dbe1262
#3562 : fixed OpenSSL setup/shutdown
2022-04-15 17:22:01 +02:00
Alex Fabijanic
e6afb8749c
feat(Envelope): Add envelope to crypto #3561
2022-04-13 10:02:05 +00: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
b158f90381
disable OpenSSL deprecation warnings
2022-04-02 10:21:55 +02:00
Günter Obiltschnig
6341ec6350
detect ARM64 on Windows
2022-02-19 15:23:03 +01:00
Günter Obiltschnig
11ffdc7807
manually merge #3448 , part 1 (Crypto)
2022-02-07 17:00:45 +01:00
Günter Obiltschnig
22eb76d3ae
#3302 : MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]]
2021-06-17 18:20:29 +02:00
Günter Obiltschnig
f5de69b854
#3260 : Memory leak in EVPPKey::loadKey used with files & wrong password
2021-06-15 14:43:21 +02:00
Günter Obiltschnig
aa32399e26
#3307 : Poco::Crypto::X509Certificate: obtain certificate fingerprint
2021-06-15 14:36:57 +02:00
Günter Obiltschnig
46ef044d7b
#3224 : Remove SSL23 support from Poco/Crypto
2021-06-15 13:38:37 +02:00
Günter Obiltschnig
0f49493d0e
remove raw pointer interfaces
2020-01-23 09:50:36 +01:00
Günter Obiltschnig
18adb1e43b
code cleanup; fix move ctors and assignment
2020-01-21 17:52:43 +01:00
Günter Obiltschnig
e1f09a602b
cleanup and modernization
2020-01-10 12:20:30 +01:00
Günter Obiltschnig
9c197e0ed1
finally get rid of std::auto_ptr
2019-12-15 09:40:40 +01:00
Günter Obiltschnig
df4cb29ea5
provide OPENSSL_VERSION_PREREQ if not defined by OpenSSL; fix SLPro OpenSSL library names for 64bit
2019-08-16 22:30:19 +02:00
Günter Obiltschnig
6c828018df
added JWT library
2019-07-30 11:19:49 +02:00
Günter Obiltschnig
27335031e1
fixed GH #2380 : Calling Poco::Net::X509Certificate::addChainCertificate() leads to double free.
2019-06-22 18:11:05 +02:00
Transporter
edb8bed56d
Copy of pr #2694 for poco-1.10.0 including fix for #2718
2019-06-12 14:10:21 +02:00
Günter Obiltschnig
66fafef3e4
fix SLPro OpenSSL auto linking for POCO_DLL
2018-08-17 18:26:03 +02:00
Günter Obiltschnig
e6b5288735
add support for auto-linking SLpro or OpenSSL default build OpenSSL libs
2018-08-15 08:39:48 +02:00
Günter Obiltschnig
826dc92fda
style and doc fixes
2018-03-06 23:13:07 +01:00
Günter Obiltschnig
e7d2b4593a
fix for OpenSSL 1.0
2018-03-06 22:58:14 +01:00
Günter Obiltschnig
943595c937
GH #2129 : Add support for AES-GCM ciphers
2018-03-06 22:53:27 +01:00
Günter Obiltschnig
e19f33351d
add additional cipher modes
2018-03-06 19:46:24 +01:00
Aleksandar Fabijanic
a4c744fdba
fix #endif comment
2018-01-29 18:43:25 -06:00
Alex Fabijanic
8f2ecfccef
openssl VS projects modifications
2018-01-29 09:22:45 -06:00
Guenter Obiltschnig
c672c14e5a
remove duplicate files and remaining Id headers
2017-11-10 09:26:24 +01:00
Alex Fabijanic
210bc6d30c
add X509 version, serialNumber and signatureAlgorithm
2017-09-29 18:20:10 -05:00
Alex Fabijanic
4c4de6b7fb
add PKCS12 CA-cert friendly names extraction
2017-09-28 20:50:30 -05:00
Alex Fabijanic
8fff0cf586
fix incomplete EC key creation from curve name; make sure tests use curves that exist; add validation checks on EC key creation
2017-09-28 14:42:50 -05:00
Alex Fabijanic
ba5af017cc
remove unneeded include and duplicate declaration
2017-09-27 21:56:40 -05:00
Alex Fabijanic
9e18ae0944
fix wrong test file name and other iprovements (WIP EC EVP key comparison)
2017-09-27 21:43:00 -05:00
Alex Fabijanic
e5aaa991b8
style fix
2017-09-26 21:57:15 -05:00
Alex Fabijanic
1d18435e38
read/write list of X509 certificates
2017-09-26 21:43:22 -05:00
Alex Fabijanic
4ac56bff0c
EVPPKey == operator; PKCS12 copy/move
2017-09-26 15:28:23 -05:00
Alex Fabijanic
dc2c4dcd27
backport CipherKey digest changes and tests from develop
2017-09-26 11:38:53 -05:00
Alex Fabijanic
b4f1427725
make all save() functions const
2017-09-26 11:20:00 -05:00
Alex Fabijanic
741fead666
add openssl autolink to NetSSL
2017-09-23 16:19:14 -05:00
Alex Fabijanic
b7fbdabf5f
Merge branch 'poco-1.8.0' of https://github.com/pocoproject/poco into poco-1.8.0
2017-09-22 18:31:39 -05:00
Alex Fabijanic
0e81e082ff
openssl 1.1 support
2017-09-22 16:29:33 -05:00
Alex Fabijanic
b01d45a166
fix linux build
2017-09-21 11:42:54 -05:00
Alex Fabijanic
ab90c48da2
backport EVPPKey file/stream load/save capabilities
2017-09-19 22:04:32 -05:00