summaryrefslogtreecommitdiff
path: root/plugin/aws_key_management
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '10.4' into 10.5Oleksandr Byelkin2021-07-311-0/+3
|\
| * Merge branch '10.3' into 10.4Oleksandr Byelkin2021-07-311-0/+3
| |\
| | * Merge 10.2 into 10.3Marko Mäkelä2021-07-221-1/+7
| | |\
| | | * Add feature summary at the end of cmake.Heinz Wiesinger2021-07-211-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a short overview over found/missing dependencies as well as enabled/disabled features. Initial author Heinz Wiesinger <heinz@m2mobi.com> Additions by Vicențiu Ciorbaru <vicentiu@mariadb.org> * Report all plugins enabled via MYSQL_ADD_PLUGIN * Simplify code. Eliminate duplication by making use of WITH_xxx variable values to set feature "ON" / "OFF" state. Reviewed by: wlad@mariadb.com (code details) serg@mariadb.com (the idea)
* | | | Merge 10.4 into 10.5Marko Mäkelä2020-10-301-0/+4
|\ \ \ \ | |/ / /
| * | | MDEV-23539: aws key plugin - fails to buildDaniel Black2020-10-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent gcc/clang versions failed to compile the existing code. Updating a later upstream SDK version was simple and required only implementing a flush method. This was left blank as there was no strong requirement to keep the error log atomic or durable. Reviewed-by: wlad@mariadb.com The upstream SDK version added a flush method which was simple to complete.
* | | | Define variable to override endpoint urlErol Guven2020-09-111-0/+11
|/ / /
* | | MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption libraryVladislav Vaintroub2019-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Add new submodule for WolfSSL - Build and use wolfssl and wolfcrypt instead of yassl/taocrypt - Use HAVE_WOLFSSL instead of HAVE_YASSL - Increase MY_AES_CTX_SIZE, to avoid compile time asserts in my_crypt.cc (sizeof(EVP_CIPHER_CTX) is larger on WolfSSL)
* | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-191-1/+1
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2019-05-141-1/+1
| |\ \ | | |/
| | * Merge 10.1 into 10.2Marko Mäkelä2019-05-131-1/+1
| | |\
| | | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| | | |
* | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-02-211-1/+1
|\ \ \ \ | |/ / /
| * | | Merge branch '10.2' into bb-10.3-mergeOleksandr Byelkin2019-02-191-2/+6
| |\ \ \ | | |/ /
| | * | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-02-191-2/+6
| | |\ \ | | | |/
| | | * Don't build aws_key_management plugin by defaultSergei Golubchik2019-02-191-0/+6
| | | |
* | | | MDEV-18578 build aws sdk for all plugins to useVladislav Vaintroub2019-02-181-172/+10
| | | |
* | | | Merge 10.3 into 10.4Marko Mäkelä2018-10-101-13/+16
|\ \ \ \ | |/ / /
| * | | Merge 10.2 into 10.3Marko Mäkelä2018-10-091-13/+16
| |\ \ \ | | |/ /
| | * | AWS KMS plugin : more detailed message when API calls fail.Vladislav Vaintroub2018-10-031-13/+16
| | | | | | | | | | | | | | | | Output API function name, exception name, exception text
* | | | MDEV-17279 Windows : link C runtime dynamicallyVladislav Vaintroub2018-10-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the build to use /MD flag so that DDL version of C runtime is used. To make sure MariaDB is always runnable on target system, include redistributable CRT libraries into installer. For MSI package, use Microsoft's merge modules. For ZIP use "applocal" approach,i.e place redistributable dlls into the bin directory of the package(via InstallRequiredSystemLibraries cmake module) The space overhead of libraries in negligible, ~ 3MB unpacked. There are 2 cases, where we still link C runtime statically - Upgrade wizard, it uses MFC, and we link statically to avoid redistribute also whole MFC (for this single application, does not make much sense). - MSI installer's custom action dll wixca.dll.Here, we need static link so that MSI won't fail on a target system that does not have VC++2015 runtime already installed.
* | | | mysys: ME_ERROR_LOG_ONLY flagSergei Golubchik2018-06-041-11/+11
| | | |
* | | | mysys: rename ME_xxx flags to match plugin apiSergei Golubchik2018-06-041-4/+4
|/ / /
* | | MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from ↵Vladislav Vaintroub2018-02-061-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | 'size_t' to 'type', possible loss of data) Handle string length as size_t, consistently (almost always:)) Change function prototypes to accept size_t, where in the past ulong or uint were used. change local/member variables to size_t when appropriate. This fix excludes rocksdb, spider,spider, sphinx and connect for now.
* | Update AWS C++ SDK versionVladislav Vaintroub2017-10-111-1/+1
| | | | | | | | This fixes some truncation warnings on Win64
* | Merge 10.1 into 10.2Marko Mäkelä2017-08-312-39/+164
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For running the Galera tests, the variable my_disable_leak_check was set to true in order to avoid assertions due to memory leaks at shutdown. Some adjustments due to MDEV-13625 (merge InnoDB tests from MySQL 5.6) were performed. The most notable behaviour changes from 10.0 and 10.1 are the following: * innodb.innodb-table-online: adjustments for the DROP COLUMN behaviour change (MDEV-11114, MDEV-13613) * innodb.innodb-index-online-fk: the removal of a (1,NULL) record from the result; originally removed in MySQL 5.7 in the Oracle Bug #16244691 fix https://github.com/mysql/mysql-server/commit/377774689bf6a16af74182753fe950d514c2c6dd * innodb.create-index-debug: disabled due to MDEV-13680 (the MySQL Bug #77497 fix was not merged from 5.6 to 5.7.10) * innodb.innodb-alter-autoinc: MariaDB 10.2 behaves like MySQL 5.6/5.7, while MariaDB 10.0 and 10.1 assign different values when auto_increment_increment or auto_increment_offset are used. Also MySQL 5.6/5.7 exhibit different behaviour between LGORITHM=INPLACE and ALGORITHM=COPY, so something needs to be tested and fixed in both MariaDB 10.0 and 10.2. * innodb.innodb-wl5980-alter: disabled because it would trigger an InnoDB assertion failure (MDEV-13668 may need additional effort in 10.2)
| * AWS Key Management : Introduce "mock" variable, available in debug build.Vladislav Vaintroub2017-08-282-39/+164
| | | | | | | | | | | | | | | | If this variable is set, skip actual AWS calls, and fake/mock both generation and encryption of the keys. The advantage of having a mock mode is that more aws_key_management tests can be enabled on buildbot.
* | MDEV-13514 fix compilation for aws_key_management pluginVladislav Vaintroub2017-08-141-0/+1
| |
* | MDEV-12469 : Update AWS SDK version to avoid gcc7 compile errors.Vladislav Vaintroub2017-08-111-6/+3
| |
* | Merge 10.1 into 10.2Marko Mäkelä2017-05-231-1/+1
|\ \ | |/
| * Changing maturity to stableRasmus Johansson2017-05-221-1/+1
| | | | | | Additional tests have been done and conclusion was to update maturity to stable
| * Backport aws kms build fixes from 10.2Vladislav Vaintroub2017-05-181-6/+29
| |
| * Fix AWS key managemennt compile error on LinuxVladislav Vaintroub2017-05-061-1/+1
| |
| * Fix compilation of aws_key_management pluginVladislav Vaintroub2017-05-051-4/+5
| |
* | MDEV-10332 support for OpenSSL 1.1 and LibreSSLSergei Golubchik2017-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | post-review fixes: * move all ssl implementation related ifdefs/defines to one file (ssl_compat.h) * work around OpenSSL-1.1 desire to malloc every EVP context by run-time checking that context allocated on the stack is big enough (openssl.c) * use newer version of the AWS SDK for OpenSSL 1.1 * use get_dh2048() function as generated by openssl 1.1 (viosslfactories.c)
* | Merge 10.1 into 10.2Marko Mäkelä2017-05-062-85/+89
|\ \ | |/ | | | | | | | | Also, include fixes by Vladislav Vaintroub to the aws_key_management plugin. The AWS C++ SDK specifically depends on OPENSSL_LIBRARIES, not generic SSL_LIBRARIES (such as YaSSL).
| * MDEV-11660 Make encryption plugins "pure"Vladislav Vaintroub2017-04-271-73/+72
| | | | | | | | | | | | | | | | Do not exporting mysqld entry points directly. This is needed for mariabackup, to load encryption plugins on Windows. All plugins are "pure" by default. To mark plugin "impure" it should use RECOMPILE_FOR_EMBEDDED or STORAGE_ENGINE keyword.
| * MDEV-11663 Create services for functionality used by pluginsVladislav Vaintroub2017-04-271-11/+11
| | | | | | | | | | | | Added service for - encryption (AES) - error reporting, e.g my_printf_error()
* | Fix AWS SDK build error on some buildbot builders.Vladislav Vaintroub2017-04-201-1/+9
| | | | | | | | | | | | | | Use older version of the SDK generally, because the newer ones break with older cmake. On Macs, use newer version, to fix mac specific the build error.
* | MDEV-12453: AWS SDK version failed to build on OSXDaniel Black2017-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update AWS SDK version from 1.0.8 to 1.0.100 Commit b64910ce27a4df33e3ad2e3f40764e8b3271a9aa (MDEV-12453) enabled AWS_SDK to build correctly on buildbot. Travis still had build faults like below despite many common elements between the builds; /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:79:9: error: no member named 'strcoll' in the global namespace; did you mean 'strtoll'? [ 24%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/db/internal_stats.cc.o using ::strcoll; ~~^ /usr/include/stdlib.h:169:3: note: 'strtoll' declared here strtoll(const char *__str, char **__endptr, int __base); ^
* | MDEV-12452 MDEV-12453 : Fix building rocksdb and aws_key_management on macOSVladislav Vaintroub2017-04-061-2/+6
| | | | | | | | | | | | use CMAKE_CXX_STANDARD to set C++11 flags with CMake 3.1+ (apples flags are somehow different from standard clang) port htonbe16/32/64 macros for rocksdb use reinterpret_cast<size_t> to cast macOS's pthread_t (pointer type) to size_t , for rocksdb
* | Fix aws_key_management compilation after mismergeVladislav Vaintroub2017-04-041-6/+7
| | | | | | | | Also do not use BUILD_BYPRODUCTS in ExternalPeoject for older cmake
* | Merge 10.1 into 10.2Marko Mäkelä2017-04-041-20/+28
|\ \ | |/
| * fix Ninja builds for AWS SDKSergei Golubchik2017-03-311-10/+13
| | | | | | | | specify BUILD_BYPRODUCTS, ninja needs it
| * put all aws_key_management plugin files into plugin/aws_key_managementSergei Golubchik2017-03-311-4/+4
| | | | | | | | | | that is, download AWS SDK there, not into the builddir root. and .gitignore them all.
| * AWS KMS plugin : Fix building in case AWS C++ SDK was preinstalledVladislav Vaintroub2017-03-311-10/+14
| | | | | | | | | | | | into non-standard compiler/linker path (e.g vcpkg on Windows). Also fix linking with static preinstalled aws c++ sdk libraries
* | Avoid TARGET_LINK_LIBRARIES() for pluginsSergei Golubchik2017-04-011-3/+3
| | | | | | | | as a plugin can be disabled, so the target doesn't necessarily exist
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-302-2/+1
|\ \ | |/
| * Fix AWS KMS plugin's compile errorVladislav Vaintroub2017-03-141-1/+0
| | | | | | | | Do not include base64.h, it was recently removed.
| * spelling fixesklemens2017-03-071-1/+1
| |