You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Clifford Jansen (Jira)" <ji...@apache.org> on 2022/11/01 06:09:00 UTC

[jira] [Resolved] (PROTON-2586) TLS OpenSSL library: incomplete decryption/encryption of staged buffers

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

Clifford Jansen resolved PROTON-2586.
-------------------------------------
    Resolution: Fixed

> TLS OpenSSL library: incomplete decryption/encryption of staged buffers
> -----------------------------------------------------------------------
>
>                 Key: PROTON-2586
>                 URL: https://issues.apache.org/jira/browse/PROTON-2586
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.37.0
>            Reporter: Clifford Jansen
>            Assignee: Clifford Jansen
>            Priority: Major
>
> OpenSSL processes TLS records one at time.  It does its conversion work in buffers just larger than a maximum sized TLS record (16K).  When processing large sized input and output buffers in a single pn_tls_process() call, the Proton TLS library has to loop inserting unprocessed data into the small OpenSSL buffer and extract the encrypted/decrypted data into the output buffer and free space for the next iteration.  The code currently can exit the loop prematurely.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org