Author christian.heimes
Recipients christian.heimes
Date 2017-01-19.15:01:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484838066.61.0.93462051202.issue29324@psf.upfronthosting.co.za>
In-reply-to
Content
$ ./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.
History
Date User Action Args
2017-01-19 15:01:06christian.heimessetrecipients: + christian.heimes
2017-01-19 15:01:06christian.heimessetmessageid: <1484838066.61.0.93462051202.issue29324@psf.upfronthosting.co.za>
2017-01-19 15:01:06christian.heimeslinkissue29324 messages
2017-01-19 15:01:06christian.heimescreate