2018-11-12 13:49:12 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
##
|
|
|
|
## Author......: See docs/credits.txt
|
|
|
|
## License.....: MIT
|
|
|
|
##
|
|
|
|
|
|
|
|
## Test suite installation helper script
|
|
|
|
|
|
|
|
# Sum of all exit codes
|
|
|
|
ERRORS=0
|
|
|
|
|
|
|
|
cpan install Authen::Passphrase::LANManager \
|
|
|
|
Authen::Passphrase::MySQL323 \
|
|
|
|
Authen::Passphrase::NTHash \
|
|
|
|
Authen::Passphrase::PHPass \
|
|
|
|
Convert::EBCDIC \
|
|
|
|
Crypt::CBC \
|
|
|
|
Crypt::DES \
|
|
|
|
Crypt::Digest::RIPEMD160 \
|
|
|
|
Crypt::Digest::Whirlpool \
|
|
|
|
Crypt::ECB \
|
|
|
|
Crypt::Eksblowfish::Bcrypt \
|
2018-12-14 13:23:52 +01:00
|
|
|
Crypt::GCrypt \
|
2018-11-12 13:49:12 +01:00
|
|
|
Crypt::Mode::ECB \
|
|
|
|
Crypt::MySQL \
|
|
|
|
Crypt::OpenSSH::ChachaPoly \
|
|
|
|
Crypt::PBKDF2 \
|
|
|
|
Crypt::RC4 \
|
|
|
|
Crypt::Rijndael \
|
|
|
|
Crypt::ScryptKDF \
|
|
|
|
Crypt::Skip32 \
|
|
|
|
Crypt::Twofish \
|
|
|
|
Crypt::UnixCrypt_XS \
|
2018-12-21 09:10:23 +01:00
|
|
|
Data::Types \
|
2018-11-12 13:49:12 +01:00
|
|
|
Digest::BLAKE2 \
|
|
|
|
Digest::CMAC \
|
|
|
|
Digest::CRC \
|
|
|
|
Digest::GOST \
|
|
|
|
Digest::HMAC \
|
|
|
|
Digest::HMAC_MD5 \
|
|
|
|
Digest::Keccak \
|
|
|
|
Digest::MD4 \
|
|
|
|
Digest::MD5 \
|
|
|
|
Digest::Perl::MD5 \
|
|
|
|
Digest::SHA \
|
2018-11-18 20:48:01 +01:00
|
|
|
Digest::SHA1 \
|
2018-11-12 13:49:12 +01:00
|
|
|
Digest::SHA3 \
|
|
|
|
Digest::SipHash \
|
|
|
|
JSON \
|
2018-11-18 08:55:49 +01:00
|
|
|
MIME::Base32 \
|
|
|
|
MIME::Base64 \
|
2018-11-12 13:49:12 +01:00
|
|
|
Net::DNS::RR::NSEC3 \
|
|
|
|
Net::DNS::SEC \
|
2018-11-18 08:55:49 +01:00
|
|
|
Text::Iconv \
|
2018-11-12 13:49:12 +01:00
|
|
|
;
|
|
|
|
|
|
|
|
ERRORS=$((ERRORS+$?))
|
|
|
|
|
2019-04-07 18:08:56 +02:00
|
|
|
pip2 install pygost pycryptoplus
|
|
|
|
|
|
|
|
# is this needed for pycryptoplus ?
|
|
|
|
# pip2 uninstall pycryptodome
|
2018-11-12 13:49:12 +01:00
|
|
|
|
|
|
|
ERRORS=$((ERRORS+$?))
|
|
|
|
|
|
|
|
echo
|
|
|
|
if [ $ERRORS -eq 0 ]; then
|
|
|
|
echo '[ OK ] All commands were successful'
|
|
|
|
exit 0
|
|
|
|
else
|
|
|
|
echo '[ FAIL ] Some commands were not successful'
|
|
|
|
exit 1
|
|
|
|
fi
|