You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this trust-all is not used at this version of http-client, but for ones using older/others versions of cognitect.http-client, it will be a security issue.
Can we remove this unused parameter?
As far I know, it is not desired to use options like this in prod scenarios.
This line of code, that already has a
TODO: fix
comment, pass a:trust-all
parameter tocognitect.http-client/create-client
https://github.com/cognitect-labs/aws-api/blob/v0.8.539/src/cognitect/aws/http/cognitect.clj
I can't add a reference to cognitect http-client, but in version
1.0.110
, that is the one that I'm using, the only usage of thistrust-all
parameter looks like this:(SslContextFactory. false) #_(boolean trust-all)
So this trust-all is not used at this version of http-client, but for ones using older/others versions of
cognitect.http-client
, it will be a security issue.Can we remove this unused parameter?
As far I know, it is not desired to use options like this in prod scenarios.
[reference to SslContextFactory]
https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-util/src/main/java/org/eclipse/jetty/util/ssl/SslContextFactory.java#L208
The text was updated successfully, but these errors were encountered: