You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/24 17:41:00 UTC

[jira] [Commented] (PROTON-2535) TLS library - false indication of user data in OpenSSL

    [ https://issues.apache.org/jira/browse/PROTON-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558620#comment-17558620 ] 

ASF subversion and git services commented on PROTON-2535:
---------------------------------------------------------

Commit c33f1abc17936ea4f8a4d1545ea626cd9fd3577f in qpid-proton's branch refs/heads/main from Clifford Jansen
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=c33f1abc1 ]

PROTON-2535: TLS OpenSSL library: remove BIO on decrypt side for accurate errors and byte counts


> TLS library - false indication of user data in OpenSSL
> ------------------------------------------------------
>
>                 Key: PROTON-2535
>                 URL: https://issues.apache.org/jira/browse/PROTON-2535
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.37.0
>         Environment: OpenSSL
>            Reporter: Clifford Jansen
>            Assignee: Clifford Jansen
>            Priority: Major
>
> pn_tls_need_decrypt_output_buffers can falsely indicate the availability of user data.  For example if there is a handshake failure, BIO_pending can indicate the presence of bytes but BIO_read will return -1 and the appropriate error.
> An application may be fooled into providing a decrypt output buffer that won't be immediately be returned after the next pn_tls_process() step, since no bytes will be read into it.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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