[Pkg-openssl-devel] Bug#929903: openssl: m2crypto test case regression

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Tue Jun 4 22:10:20 BST 2019


On 2019-06-04 14:24:12 [+0200], Matěj Cepl wrote:
> Sebastian Andrzej Siewior píše v Út 04. 06. 2019 v 14:15 +0200:
> > Let me ping upstream: Matěj, could you please take a look at
> > 	https://bugs.debian.org/929903
> > 
> > and check if it is okay the test no longer fails or if openssl suddenly
> > eats up the error code. Afterall:
> 
> OK, I have this commit now in the master 
> https://gitlab.com/m2crypto/m2crypto/commit/f287d7145b5f but I am
> still not certain that sslv23_padding and especially no_padding
> should lead to error, shouldn't it?
> 
> Why did the test passed before otherwise?

It did not if I understand the python correctly:
|        with self.assertRaises(RSA.RSAError):
|            priv.private_decrypt(ctxt, RSA.sslv23_padding)

you expect that `priv.private_decrypt()' raised an RSA.RSAError
exception which it did before c (due to that bug) and did not since c.

> Best,
> 
> Matěj

Sebastian



More information about the Pkg-openssl-devel mailing list