Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wait_for_decrypted_data removed in MbedTLS-1.1.6 #60

Closed
nsslh opened this issue Oct 7, 2022 · 2 comments · Fixed by #61
Closed

wait_for_decrypted_data removed in MbedTLS-1.1.6 #60

nsslh opened this issue Oct 7, 2022 · 2 comments · Fixed by #61

Comments

@nsslh
Copy link
Contributor

nsslh commented Oct 7, 2022

Under certain failure conditions using a TLS connection to RabbitMQ, I get the following error with AMQPClient-0.5.0 and MbedTLS-1.1.6:

┌ Warning: ConnectionReceiver task exiting. Unhandled exception: UndefVarError(:wait_for_decrypted_data)
│   exception =
│    UndefVarError: wait_for_decrypted_data not defined
│    Stacktrace:
│     [1] fill_in(bio::AMQPClient.BufferedTLSSocket, atleast::Int64)
│       @ AMQPClient ~/.julia/packages/AMQPClient/4SE4N/src/buffered_socket.jl:51
│     [2] read
│       @ ~/.julia/packages/AMQPClient/4SE4N/src/buffered_socket.jl:24 [inlined]
│     [3] read(io::AMQPClient.BufferedTLSSocket, #unused#::Type{AMQPClient.TAMQPGenericFrame})
│       @ AMQPClient ~/.julia/packages/AMQPClient/4SE4N/src/protocol.jl:107
│     [4] connection_receiver(c::AMQPClient.Connection)
│       @ AMQPClient ~/.julia/packages/AMQPClient/4SE4N/src/protocol.jl:421
│     [5] connection_processor(c::AMQPClient.Connection, name::String, fn::typeof(AMQPClient.connection_receiver))
│       @ AMQPClient ~/.julia/packages/AMQPClient/4SE4N/src/protocol.jl:358
│     [6] (::AMQPClient.var"#38#41"{AMQPClient.Connection})()
│       @ AMQPClient ./task.jl:484
└ @ AMQPClient ~/.julia/packages/AMQPClient/4SE4N/src/protocol.jl:379

In MbedTLS-1.1.6, MbedTLS.wait_for_decrypted_data was replaced with Base.eof(ctx::SSLContext).

nsslh added a commit to nsslh/AMQPClient.jl that referenced this issue Oct 7, 2022
tanmaykm pushed a commit that referenced this issue Oct 18, 2022
@nsslh
Copy link
Contributor Author

nsslh commented Oct 20, 2022

@tanmaykm Please may we have a release for this?

@tanmaykm
Copy link
Member

Sure, should be done when JuliaRegistries/General#70663 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants