|aeris 4d90d2e643 Better curve detection, detecting new corner case when server preference enforced||5 yıl önce|
|bin||5 yıl önce|
|lib||5 yıl önce|
|output||5 yıl önce|
|spec||5 yıl önce|
|.gitignore||5 yıl önce|
|.rspec||5 yıl önce|
|Gemfile||6 yıl önce|
|LICENSE||7 yıl önce|
|Makefile||5 yıl önce|
|README.md||6 yıl önce|
|cryptcheck.gemspec||5 yıl önce|
|disable_digest_check.path||5 yıl önce|
|fallback_scsv.patch||5 yıl önce|
|multiple_certs.patch||5 yıl önce|
|set_ecdh_curves.patch||5 yıl önce|
|tmp_key.patch||5 yıl önce|
CryptCheck is a Ruby toolbox that help anybody to check for cryptography security level and best practices compliance.
CryptCheck is released under AGPLv3+ license.
**/!\ This tool use custom weak builds of OpenSSL library and OpenSSL Ruby extension /!**.
Those builds are cryptographically weaken to be able to test for (very) weak and today totally deprecated ciphers.
Don’t deploy it on production machine to avoid any security troubles, or use VM to isolate them !
You need a fully operationnal Ruby stack. Because of the warning above, don’t use your system Ruby.
Currently supported Ruby stack is v2.2.2.
To be able to test for (very) weak ciphers and to have access to DH parameters, CryptCheck need custom build of OpenSSL library and patched build of OpenSSL Ruby extension.
Once you have cloned CryptCheck repository, just run
make inside to
build the needed libraries.
make fails with the following error :
make: *** No rule to make target 'lib/libssl.so.1.0.0', needed by 'libs'. Stop.
just run again
make (if you understand this problem, contact me !).
The built libraries (libcrypto.so, libssl.so and openssl.so) are located
under the lib directory.
CryptCheck use LD_LIBRARY_PATH and Ruby load path hack to inject those weaken libraries instead of the system ones.
CryptCheck relies on few Ruby libraries, managed with Bundler.
To fetch and install them, just run
Simply run the corresponding runner of what you want to test :
If you want more information of what is going on under the hood, run the command
with debug enabled, like
bin/check_https example.org debug
Rank goes from “A+” (perfect) to “F” (very weak).
“M” means your certificate and your hostname mismatch.
“T” means your certificate is not issued by a valid root certificate authority.
Only a perfect setup gets a perfect score and a “A” rank :).
“A” score is based on RFC 7525 recommandations.