[ 
https://issues.apache.org/jira/browse/KAFKA-18064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth resolved KAFKA-18064.
---------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

> SASL mechanisms that do support neither integrity nor confidentality should 
> throw exception on wrap/unwrap
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-18064
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18064
>             Project: Kafka
>          Issue Type: Bug
>          Components: security
>            Reporter: Istvan Toth
>            Priority: Major
>             Fix For: 4.1.0
>
>
> wrap/unwrap should throw an exception unless a non-auth QOP has been 
> negotiated.
> SCRAM only supports auth QOP, so wrap/unwrap should always throw 
> IllegalStateException.
> [https://docs.oracle.com/en/java/javase/23/docs/api/java.security.sasl/javax/security/sasl/SaslClient.html#unwrap(byte%5B%5D,int,int)]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to