Message285794
$ ./python -m test -m test_aead_aes_gcm test_socket
Run tests sequentially
0:00:00 [1/1] test_socket
test test_socket failed -- Traceback (most recent call last):
File "/home/heimes/dev/python/cpython/Lib/test/support/__init__.py", line 556, in wrapper
return func(*args, **kw)
File "/home/heimes/dev/python/cpython/Lib/test/test_socket.py", line 5515, in test_aead_aes_gcm
res = op.recv(assoclen + len(plain) + taglen)
OSError: [Errno 22] Invalid argument
The tests were written and passed under Linux Kernel 4.7. I was under the assumption that the API is stable. But the most recent version 4.9 has changed the API for AEAD mode slightly. libkcapi project maintain a well written documentation of the Kernel crypto API,
https://github.com/smuellerDD/libkcapi/commit/be242c387b7030cbccae2c183107efa86d9a3cd6
Fedora 24 and 25 are affected. I'm going to update the tests. Downstream distributors: Feel free to disable the test in the mean time. The feature is not critical. |
|
Date |
User |
Action |
Args |
2017-01-19 15:01:06 | christian.heimes | set | recipients:
+ christian.heimes |
2017-01-19 15:01:06 | christian.heimes | set | messageid: <1484838066.61.0.93462051202.issue29324@psf.upfronthosting.co.za> |
2017-01-19 15:01:06 | christian.heimes | link | issue29324 messages |
2017-01-19 15:01:06 | christian.heimes | create | |
|