RFC10015 support in TlsCiphers - #686
Conversation
ok2c
left a comment
There was a problem hiding this comment.
@garydgregory Could you please re-apply your changes on top of master?
Disable Checkstyle MissingDeprecated for TestTlsCiphers, it's not smart enough to avoid a false positive.
I do not understand why this is necessary. It should not be. There should be no @Deprecated annotations in test classes.
|
The build fails without this because Checkstyle sees the word "deprecated" in the comment and wants a deprecated annotation I guess. It's lame but that's what happens. |
@garydgregory This is bizarre. This is what the check does. It should be looking for |
|
@ok2c |
|
@garydgregory GitHub still says "This branch cannot be rebased due to conflicts". There are four commits. I presume there should be just one on top of the latest master. |
- TlsCiphers.isWeak(String) return true for deprecated and discouraged cipher suites. - No change to TlsCiphers.isH2Blacklisted(String)
|
@ok2c |
@garydgregory My proposal was different. We should not mess with the H2 blacklist given it is a part of the protocol specification, but we could make sure all its ciphers are also in the "weak" list. Having said that I personally do not see a contradiction with some ciphers being in H2 blacklist and not being in "weak" list, so I do not see any value in adding a disabled test unless you personally would invest time into it and enable the test. |
…listed(String) Add testCipherTLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384() because that cipher was removed from another fixture.
RFC10015 support in
TlsCiphersTlsCiphers.isWeak(String)return true fordeprecatedanddiscouragedcipher suites.
TlsCiphers.isH2Blacklisted(String)MissingDeprecatedforTestTlsCiphers, it's notsmart enough to avoid a false positive.