-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new cipher scheme AEGIS and other changes
SQLite3 Multiple Ciphers 2.0.0 supports the new cipher scheme AEGIS. Support for it was added to wxSQLite3. The upstream SQLite project is about to remove support for the User Authentication extension completely, beginning with version 3.48.0, which will be released in January 2025. Support for this extension in wxSQLite3 has been disabled.
- Loading branch information
Showing
10 changed files
with
42,845 additions
and
904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ dnl Copyright (C) 2017-2024 Ulrich Telle <[email protected]>, Vadim Zeitlin | |
dnl | ||
dnl This file is covered by the same licence as the entire wxSQLite3 package. | ||
|
||
AC_INIT([wxsqlite3], [4.9.12], [[email protected]]) | ||
AC_INIT([wxsqlite3], [4.10.0], [[email protected]]) | ||
|
||
dnl This is the version tested with, might work with earlier ones. | ||
AC_PREREQ([2.69]) | ||
|
@@ -91,14 +91,24 @@ AC_ARG_WITH([ascon128], | |
AS_IF([test "x$with_ascon128" = xno], | ||
[AC_DEFINE([WXSQLITE3_HAVE_CIPHER_ASCON128], [0], [Define if you have Ascon 128 disabled])]) | ||
|
||
AC_ARG_WITH([aegis], | ||
[AS_HELP_STRING([--without-aegis], | ||
[Disable support for Aegis Encryption])], | ||
[], | ||
[with_aegis=yes]) | ||
|
||
AS_IF([test "x$with_aegis" = xno], | ||
[AC_DEFINE([WXSQLITE3_HAVE_CIPHER_AEGIS], [0], [Define if you have Aegis disabled])]) | ||
|
||
AC_ARG_ENABLE(codec, | ||
[ --enable-codec[=<codec type>] Specify the codec type: | ||
aes128: AES 128 Bit CBC Encryption | ||
aes256: AES 256 Bit CBC Encryption | ||
chacha20 [default]: ChaCha20-Poly1305 Encryption | ||
sqlcipher: SQLCipher Encryption | ||
rc4: RC4 Encryption | ||
ascon128: Ascon 128 Encryption], | ||
ascon128: Ascon 128 Encryption | ||
aegis: Aegis Encryption], | ||
[if test "x$enableval" = "xaes128" && test "x$with_aes128cbc" = xyes ; then | ||
codec_type=CODEC_TYPE_AES128 | ||
elif test "x$enableval" = "xaes256" && test "x$with_aes256cbc" = xyes ; then | ||
|
@@ -111,6 +121,8 @@ AC_ARG_ENABLE(codec, | |
codec_type=CODEC_TYPE_RC4 | ||
elif test "x$enableval" = "xascon128" && test "x$with_ascon128" = xyes ; then | ||
codec_type=CODEC_TYPE_ASCON128 | ||
elif test "x$enableval" = "xaegis" && test "x$with_aegis" = xyes ; then | ||
codec_type=CODEC_TYPE_AEGIS | ||
else | ||
echo | ||
echo "Error!" | ||
|
@@ -125,7 +137,8 @@ AS_IF([test "x$with_aes128cbc" = xno && | |
test "x$with_chacha20" = xno && | ||
test "x$with_sqlcipher" = xno && | ||
test "x$with_rc4" = xno && | ||
test "x$with_ascon128" = xno], | ||
test "x$with_ascon128" = xno && | ||
test "x$with_aegis" = xno], | ||
[AC_DEFINE([WXSQLITE3_HAVE_CODEC], [0], [All ciphers disabled so encryption is disabled])]) | ||
|
||
dnl We only need the libraries above for the main library itself, but the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.