You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2025/01/14 12:26:00 UTC
[jira] [Resolved] (KAFKA-18064) SASL mechanisms that do support neither integrity nor confidentality should throw exception on wrap/unwrap
[ 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)