Is ...WITH_NULL... supported? #3070
Replies: 3 comments 6 replies
-
Botan currently does not include support any Regarding your error: Please try again with the latest 2.x version. It could be that you are affected by 1521aec. |
Beta Was this translation helpful? Give feedback.
-
For the sake of caution: You are trying to use a 'weak' ciphersuite that doesn't actually protect the confidentiality of your data. That is likely the reason NULL cipher suites are currently not supported by the library. That said: I'm sure you have a good reason or use case for such a ciphersuite. I'd certainly be interested in learning more about that. Anyway, @lieser is right, adding support for specific ciphersuites requires an extension of the library itself. If you are willing to work on that, we can certainly look into it. With NULL ciphers being an insecure cipher -- and therefore a potential footgun -- we should definitely look into an API safeguard. I.e. explicitly requiring the library user to enable such weak ciphers. |
Beta Was this translation helpful? Give feedback.
-
Regarding the environment, I can give the following hint: I have to follow this document: doc |
Beta Was this translation helpful? Give feedback.
-
Hello,
I try to answer to a DTLS client Hello with the cispher TLS_PSK_WITH_NULL_SHA256.
The exception "Can't agree on a ciphersuite with client" will thrown after receiving the Hello. I look into all_known_ciphersuites() in tls_suite_info.cpp and could not find any cipher with WITH_NULL. Is this not supported at the moment?
And if so, how could i add this? Or do I use the wrong policies.
Furthermore, I get the exception:
False assertion 'Expected DTLS' (expression rec.get_protocol_version()->is_datagram_protocol()) in read_dtls_record @/build/botan-Gdzg3C/botan-2.4.0/src/lib/tls/tls_record.cpp:428
Beta Was this translation helpful? Give feedback.
All reactions