[botan-devel] Pre-release testing for Botan 1.11.19

Uri Blumenthal uri at mit.edu
Thu Jul 30 09:56:48 EDT 2015


I still had to manually edit the generated Makefile to append “-mt” suffix to Boost libraries, so the relevant line looks like:

LIB_LINKS_TO   = -lboost_filesystem-mt -lboost_system-mt -lbz2 -lcrypto -llzma -lsqlite3 -lz

$ uname -a
Darwin Uris-MacBook-Air.local 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
$ clang -v
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
$ ./botan-test
===========================================================
All tests passed (316 assertions in 32 test cases)

AES-128 385 tests all ok
AES-192 449 tests all ok
AES-256 513 tests all ok
Blowfish 60 tests all ok
Camellia-128 6 tests all ok
Camellia-192 3 tests all ok
Camellia-256 5 tests all ok
Cascade(Serpent,Twofish) 3 tests all ok
Cascade(Serpent,AES-256) 2 tests all ok
Cascade(Serpent,CAST-128) 1 tests all ok
CAST-128 41 tests all ok
CAST-256 13 tests all ok
DES 322 tests all ok
DESX 9 tests all ok
TripleDES 58 tests all ok
GOST-28147-89(R3411_94_TestParam) 18 tests all ok
GOST-28147-89(R3411_CryptoPro) 10 tests all ok
IDEA 541 tests all ok
KASUMI 3 tests all ok
Lion(SHA-1,ARC4,64) 1 tests all ok
MARS 1084 tests all ok
MISTY1 31 tests all ok
Noekeon 4 tests all ok
RC2 29 tests all ok
RC5(12) 46 tests all ok
RC5(16) 41 tests all ok
RC6 1219 tests all ok
SAFER-SK(10) 12 tests all ok
SEED 4 tests all ok
Serpent 1044 tests all ok
TEA 38 tests all ok
Threefish-512 4 tests all ok
Twofish 1107 tests all ok
XTEA 36 tests all ok
DES/CBC/NoPadding 1 tests all ok
DES/CBC/PKCS7 33 tests all ok
RC5(8)/CBC/PKCS7 2 tests all ok
Noekeon/CBC/PKCS7 128 tests all ok
DES/CBC/OneAndZeros 35 tests all ok
DES/CBC/CTS 42 tests all ok
AES-128/CBC/NoPadding 1 tests all ok
AES-192/CBC/NoPadding 1 tests all ok
AES-256/CBC/NoPadding 1 tests all ok
DES/CFB 20 tests all ok
DES/CFB(32) 7 tests all ok
DES/CFB(16) 6 tests all ok
DES/CFB(8) 10 tests all ok
AES-128/CFB(8) 1 tests all ok
AES-192/CFB(8) 1 tests all ok
AES-256/CFB(8) 1 tests all ok
AES-128/CFB 1 tests all ok
AES-192/CFB 1 tests all ok
AES-256/CFB 1 tests all ok
AES-128/ECB/NoPadding 1 tests all ok
Serpent/ECB/NoPadding 1 tests all ok
IDEA/ECB/NoPadding 1 tests all ok
DES/ECB/NoPadding 2 tests all ok
DES/ECB/PKCS7 21 tests all ok
DES/ECB/OneAndZeros 25 tests all ok
TEA/ECB/NoPadding 31 tests all ok
XTEA/ECB/NoPadding 31 tests all ok
AES-128/XTS 61 tests all ok
AES-256/XTS 45 tests all ok
Twofish/XTS 240 tests all ok
Serpent/XTS 242 tests all ok
TripleDES/XTS 128 tests all ok
AES-128/CCM(8,2) 3 tests all ok
AES-128/CCM(10,2) 1 tests all ok
AES-128/CCM(16,2) 2 tests all ok
AES-128/CCM(16,3) 1 tests all ok
ChaCha20Poly1305 3 tests all ok
AES-128/EAX(8) 2 tests all ok
AES-128/EAX 78 tests all ok
Blowfish/EAX 17 tests all ok
RC5/EAX 17 tests all ok
RC6/EAX 33 tests all ok
Twofish/EAX 33 tests all ok
SAFER-SK(10)/EAX 17 tests all ok
RC2/EAX 17 tests all ok
DES/EAX 17 tests all ok
TripleDES/EAX 17 tests all ok
Threefish-512/EAX 1 tests all ok
AES-128/GCM 7 tests all ok
AES-128/GCM(8) 1 tests all ok
AES-128/OCB 25 tests all ok
AES-128/OCB(12) 1 tests all ok
AES-128/SIV 2 tests all ok
OCB long 9 tests all ok
ChaCha 6 tests all ok
CTR-BE(DES) 13 tests all ok
CTR-BE(AES-128) 4 tests all ok
CTR-BE(AES-192) 1 tests all ok
CTR-BE(AES-256) 1 tests all ok
CTR-BE(TripleDES) 149 tests all ok
CTR-BE(Serpent) 111 tests all ok
CTR-BE(Noekeon) 128 tests all ok
CTR-BE(TEA) 57 tests all ok
CTR-BE(XTEA) 57 tests all ok
OFB(DES) 4 tests all ok
OFB(AES-128) 1 tests all ok
OFB(AES-192) 1 tests all ok
OFB(AES-256) 1 tests all ok
RC4 69 tests all ok
MARK-4 5 tests all ok
Salsa20 7 tests all ok
Adler32 31 tests all ok
Comb4P(MD4,MD5) 1 tests all ok
Comb4P(SHA-1,RIPEMD-160) 1 tests all ok
CRC24 33 tests all ok
CRC32 31 tests all ok
GOST-34.11 10 tests all ok
HAS-160 7 tests all ok
Keccak-1600(224) 268 tests all ok
Keccak-1600(256) 268 tests all ok
Keccak-1600(384) 268 tests all ok
Keccak-1600(512) 268 tests all ok
MD2 75 tests all ok
MD4 75 tests all ok
MD5 76 tests all ok
Parallel(MD5,SHA-1) 2 tests all ok
Parallel(SHA-1,RIPEMD-128,Tiger(24,3)) 1 tests all ok
RIPEMD-128 8 tests all ok
RIPEMD-160 76 tests all ok
SHA-1 76 tests all ok
SHA-224 2 tests all ok
SHA-256 262 tests all ok
SHA-384 7 tests all ok
SHA-512 7 tests all ok
SHA-512-256 1 tests all ok
Skein-512(224) 256 tests all ok
Skein-512(256) 256 tests all ok
Skein-512(384) 256 tests all ok
Skein-512(512) 268 tests all ok
Tiger(16) 2 tests all ok
Tiger(20,3) 2 tests all ok
Tiger 9 tests all ok
Whirlpool 8 tests all ok
CBC-MAC(DES) 33 tests all ok
CBC-MAC(AES-128) 48 tests all ok
CMAC(AES-128) 23 tests all ok
CMAC(AES-192) 6 tests all ok
CMAC(AES-256) 7 tests all ok
CMAC(Blowfish) 1 tests all ok
CMAC(Threefish-512) 1 tests all ok
HMAC(HAS-160) 6 tests all ok
HMAC(MD5) 4 tests all ok
HMAC(SHA-1) 6 tests all ok
HMAC(RIPEMD-128) 4 tests all ok
HMAC(RIPEMD-160) 4 tests all ok
HMAC(SHA-256) 5 tests all ok
Poly1305 78 tests all ok
SipHash(2,4) 1 tests all ok
X9.19-MAC 6 tests all ok
PBKDF1(MD2) 4 tests all ok
PBKDF1(SHA-1) 5 tests all ok
PBKDF2(SHA-1) 10 tests all ok
PBKDF2(SHA-256) 1 tests all ok
PBKDF2(SHA-384) 1 tests all ok
PBKDF2(SHA-512) 1 tests all ok
PBKDF2(CMAC(Blowfish)) 1 tests all ok
HKDF(SHA-1) 4 tests all ok
HKDF(SHA-256) 3 tests all ok
HKDF(SHA-512) 5 tests all ok
KDF1(SHA-1) 5 tests all ok
KDF2(SHA-1) 76 tests all ok
TLS-PRF 32 tests all ok
X9.42-PRF(KeyWrap.TripleDES) 1 tests all ok
X9.42-PRF(KeyWrap.RC2) 1 tests all ok
X9.42-PRF(1.2.840.113549.1.9.16.3.6) 1 tests all ok
Transform all ok
HMAC_DRBG(SHA-1) 120 tests all ok
HMAC_DRBG(SHA-224) 120 tests all ok
HMAC_DRBG(SHA-256) 120 tests all ok
HMAC_DRBG(SHA-384) 120 tests all ok
HMAC_DRBG(SHA-512) 120 tests all ok
X9.31-RNG(AES-128) 128 tests all ok
X9.31-RNG(AES-192) 128 tests all ok
X9.31-RNG(AES-256) 128 tests all ok
X9.31-RNG(TripleDES) 128 tests all ok
Passhash9 6 tests all ok
Bcrypt 6 tests all ok
Cryptobox 1 tests all ok
TSS 2 tests all ok
RFC 6979 2 tests all ok
SRP6 1 tests all ok
Bigint Addition 73 tests all ok
Bigint Subtraction 63 tests all ok
Bigint Multiplication 105 tests all ok
Bigint Square 21 tests all ok
Bigint LeftShift 50 tests all ok
Bigint RightShift 51 tests all ok
Bigint Division 36 tests all ok
Bigint Modulo 72 tests all ok
Bigint ModExp 125 tests all ok
RSA Encryption 123 tests all ok
RSA Signature 110 tests all ok
RSA Verify 27 tests all ok
RW Signature 19 tests all ok
RW Verify 9 tests all ok
DSA Signature 20 tests all ok
NR Signature 12 tests all ok
DH Kex 12 tests all ok
DLIES Encryption 6 tests all ok
ElGamal Encryption 10 tests all ok
ECC Point Mult 5 tests all ok
ECDSA Signature 90 tests all ok
GOST-34.10 Signature 3 tests all ok
Curve25519 1 tests all ok
Curve25519 ScalarMult 18 tests all ok
McEliece 368 tests all ok
ECC all ok
ECC Randomized 280 tests all ok
ECDSA 11 tests all ok
ECDH 3 tests all ok
PK keygen 34 tests all ok
Skipping tests: cvc
X509 all ok
NIST X.509 path validation 71 tests all ok
TLS 5 tests all ok
Compression 5 tests all ok
===============
Tests all ok
$ sync
$ sudo make install
sphinx-build -c ./src/build-data/sphinx -b html ./doc/manual build/docs/manual
Running Sphinx v1.3b2
WARNING: the config value 'latex_show_urls' has type `bool', defaults to `str.'
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 25 source files that are out of date
updating environment: 25 added, 0 changed, 0 removed
reading sources... [100%] x509
/Users/uri/src/botan/doc/manual/tls.rst:197: WARNING: Invalid definition: expected identifier [error at 11]
  TLS::Client( output_fn output, data_cb data, alert_cb alert, handshake_cb handshake_complete, TLS::Session_Manager& session_manager, Credentials_Manager& credendials_manager, const TLS::Policy& policy, RandomNumberGenerator& rng, const Server_Information& server_info, const Protocol_Version offer_version, const std::vector<std::string>& app_protocols,
  -----------^
/Users/uri/src/botan/doc/manual/tls.rst:197: WARNING: Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 30]
  size_t reserved_io_buffer_size)
  ------------------------------^
/Users/uri/src/botan/doc/manual/tls.rst:287: WARNING: Invalid definition: expected identifier [error at 11]
  TLS::Server( std::function<void, const byte*, size_t> output_fn, std::function<void, const byte*, size_t> data_cb, std::function<TLS::Alert, const byte*, size_t> alert_cb, TLS::Session_Manager& session_manager, Credentials_Manager& creds, const TLS::Policy& policy, RandomNumberGenerator& rng, std::function<std::string, std::vector<std::string> > proto_chooser,
  -----------^
/Users/uri/src/botan/doc/manual/tls.rst:287: WARNING: Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 41]
  const std::vector<std::string>& protocols, bool is_datagram = false, bool reserved_io_buffer_size)
  -----------------------------------------^
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] x509
generating indices... genindex py-modindex
writing additional pages... search
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 5 warnings.
./src/scripts/install.py --destdir=/opt/local --build-dir="build" --bindir=bin --libdir=lib --docdir=doc --includedir=include
   INFO: Botan 1.11.19 installation complete


> On Jul 28, 2015, at 9:51 , Simon Warta | Kullo <simon at kullo.net> wrote:
> 
> Hi everyone,
> 
> July has been an intense development month for Botan and the changes
> between 1.11.18 and 1.11.19 are quite significant[1].
> 
> Before we release Botan 1.11.19 next week, I'd like to ask you to test
> the current master. Only test  in a drafting area, not in production
> code. This does only apply for users who are familiar with git:
> 
>  git clone https://github.com/randombit/botan.git
> 
> Does everything work in your setup as it has before?
> 
> 3 easy-to-fix points you'll likely come across:
> 
> * Errors in the configure script now exit with a failure,
>  so `./configure.py && make` only works if there are none
> 
> * When you have a non-existing module in your `--enable-modules`
>  list, an error will be raised. So now it is time to clean up
>  your module list.
>  `./src/scripts/show_dependencies.py list` will give you the
>  current module list
> 
> * assembler modules have been removed: md4_x86_32, md5_x86_32,
>  sha1_x86_32, sha1_x86_64, serpent_x86_32, asm_x86_32, asm_x86_64
> 
> Please open an issue with your feedback:
> https://github.com/randombit/botan/issues
> 
> For the rest of this week, I'll only target issues that are regression
> bugs from 1.11.18 to 1.11.19.
> 
> Best,
> 
> Simon from Kullo
> 
> 
> [1]
> https://github.com/randombit/botan/issues?q=label%3Achangelog_1.11.19+is%3Aclosed
> 
> 
> -- 
> Simon Warta
> Co-Founder / CEO Kullo
> https://kullo.net/
> 
> Telefon: 0175-1930541
> E-Mail: simon at kullo.net
> Kullo: simon#kullo.net
> 
> Kullo GmbH
> Kranzplatz 5-6
> 65183 Wiesbaden
> 
> Vertretungsberechtigte Geschäftsführer:
> Simon Warta, Daniel Seither
> 
> Registergericht: Amtsgericht Wiesbaden
> Registernummer: HRB 27626
> 
> Umsatzsteuer-Identifikationsnummer gemäß §27 a Umsatzsteuergesetz:
> DE294537976
> 
> Standort Berlin:
> Kullo GmbH
> c/o Beuth Hochschule
> Kurfürstenstraße 141
> 10785 Berlin
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel

--
Uri Blumenthal
uri at mit.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20150730/42701aac/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1842 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20150730/42701aac/attachment-0001.p7s>


More information about the botan-devel mailing list