[jboss-jira] [JBoss JIRA] (ELY-793) Using @STRENGTH keyword in CipherSuiteSelector.fromString should cause descending sorting
Ondrej Kotek (JIRA)
issues at jboss.org
Mon Nov 28 08:30:01 EST 2016
[ https://issues.jboss.org/browse/ELY-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13328795#comment-13328795 ]
Ondrej Kotek commented on ELY-793:
----------------------------------
Tests: https://github.com/wildfly-security/wildfly-elytron/pull/581/files#diff-ab6685b81dfcea4cb15b55784e07b66dR195
> Using @STRENGTH keyword in CipherSuiteSelector.fromString should cause descending sorting
> -----------------------------------------------------------------------------------------
>
> Key: ELY-793
> URL: https://issues.jboss.org/browse/ELY-793
> Project: WildFly Elytron
> Issue Type: Bug
> Components: SSL
> Affects Versions: 1.1.0.Beta14
> Reporter: Ondrej Kotek
> Assignee: Darran Lofthouse
>
> Using {{@STRENGTH}} keyword in {{CipherSuiteSelector.fromString}} should cause descending sorting of cipher suites, like OpenSSL does, e.g. {{openssl ciphers -v 'ALL:!ADH:@STRENGTH'}}. There is comparator in {{SortByAlgorithmKeyLengthCipherSuiteSelector}} [1].
> Or, am I wrong? Are cipher suites in {{javax.net.ssl.SSLParameters}} expected in ascending order? (Does it matter?) Will the OpenSSL provider expect ascending order? (Or will it parse cipher string itself?)
> The JavaDoc [2] should mention whether the sorting is ascending or descending.
> [1] https://github.com/wildfly-security/wildfly-elytron/blob/7666231fa76b95c3c97eed0d16968a5f77a7de22/src/main/java/org/wildfly/security/ssl/CipherSuiteSelector.java#L730
> [2] https://github.com/wildfly-security/wildfly-elytron/blob/7666231fa76b95c3c97eed0d16968a5f77a7de22/src/main/java/org/wildfly/security/ssl/CipherSuiteSelector.java#L356
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list