There is an issue with how the secret key is being sanitized on WordPress, but I don’t think the problem is the length. It is currently escaping left angle brackets < and also removing any part of the key that falls between pairs of angle brackets.
thisisa<test will be converted to thisisa<test without any warning, and in a way that’s not obvious to the user.
thisisa<longer>test will be converted to thisisatest.
The escaping is being used to keep the WordPress codesniffer happy, but it’s not being done correctly. I’ll fix it.