diff --git a/CMakeLists.txt b/CMakeLists.txt index fa4a2e0e..42cacfdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ endif (WITH_ZLIB) if (WITH_GCRYPT) find_package(GCrypt 1.5.0 REQUIRED) + message(WARNING "libgcrypt cryptographic backend is deprecated and will be removed in future releases.") elseif(WITH_MBEDTLS) find_package(MbedTLS REQUIRED) else() diff --git a/DefineOptions.cmake b/DefineOptions.cmake index 7401e86d..ccb277e4 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -5,7 +5,7 @@ option(WITH_SERVER "Build with SSH server support" ON) option(WITH_DEBUG_CRYPTO "Build with crypto debug output" OFF) option(WITH_DEBUG_PACKET "Build with packet debug output" OFF) option(WITH_DEBUG_CALLTRACE "Build with calltrace debug output" ON) -option(WITH_GCRYPT "Compile against libgcrypt" OFF) +option(WITH_GCRYPT "Compile against libgcrypt (deprecated)" OFF) option(WITH_MBEDTLS "Compile against libmbedtls" OFF) option(WITH_BLOWFISH_CIPHER "Compile with blowfish support" OFF) option(WITH_PCAP "Compile with Pcap generation support" ON) diff --git a/doc/introduction.dox b/doc/introduction.dox index 8d2aa1d5..a610d819 100644 --- a/doc/introduction.dox +++ b/doc/introduction.dox @@ -14,8 +14,8 @@ libssh is a Free Software / Open Source project. The libssh library is distributed under LGPL license. The libssh project has nothing to do with "libssh2", which is a completely different and independent project. -libssh can run on top of either libgcrypt or libcrypto, -two general-purpose cryptographic libraries. +libssh can run on top of either libcrypto, mbedtls or libgcrypt (deprecated) +general-purpose cryptographic libraries. This tutorial concentrates for its main part on the "client" side of libssh. To learn how to accept incoming SSH connections (how to write a SSH server), diff --git a/doc/mainpage.dox b/doc/mainpage.dox index 04197603..dc67f231 100644 --- a/doc/mainpage.dox +++ b/doc/mainpage.dox @@ -33,7 +33,7 @@ The libssh library provides: - Thread-safe: Just don't share sessions - Non-blocking: it can be used both blocking and non-blocking - Your sockets: the app hands over the socket, or uses libssh sockets - - OpenSSL or gcrypt: builds with either + - OpenSSL, MBedTLS or gcrypt (deprecated): builds with either @section main-additional-features Additional Features