[gnutls-devel] GnuTLS | KTLS key update support (!1625)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Oct 21 21:45:19 CEST 2022




toidiu commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1625#note_1145092003

> KTLS will be used until key_update is received or send, after that it will be disabled and GnuTLS will fallback to default i.e. gnutls will handle encryption and decryption

Is there a test that confirms this behavior. I see that `session->internals.ktls_enabled = 0;` is set but the socket is still ktls enabled and has the previous encryption keys so from what I can tell there will be double encryption.

```
ktls-enabled
plaintext -> ktls -> ciphertext

ktls-disabled
plaintext -> gnutls_encrypt -> ktls -> garbage
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1625#note_1145092003
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20221021/2da515c7/attachment.html>


More information about the Gnutls-devel mailing list