-
Hi, My application is using AWS SDK CPP built from source, linked statically to my application, and through the submodules of the project s2n-tls is also built and statically linked to the AWS extension in the project. The application is using the OpenSSL library and I'm in the process of adding FIPS support, so I was happy to see that s2n-tls also added FIPS support using OpenSSL in the latest release. In the documentation it was stated that "s2n-tls requires that Openssl be configured with the standard provider in addition to the FIPS provider". I have some questions regarding this:
Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You're right, "standard" is absolutely a mistake and I definitely meant "default". PR to correct: #5214 For the base provider being sufficient, I would expect even just Is the default provider not an acceptable requirement? s2n-tls can theoretically operate with just the base provider, but it would require some refactors around version negotiation and substantial cleanup of our tests. |
Beta Was this translation helpful? Give feedback.
Thanks for the tip, I checked what is happening a bit deeper and it seems to be in FIPS mode, but the s2n library doesn't seem to be used by the application. When I checked the call stack with the debugger it seems that the
s2n_init
succeeds and thes2n_fips_init
also returns success. When the S3 upload task was being scheduled I ran thes2n_get_fips_mode
and it also returned withS2N_FIPS_MODE_ENABLED
. I also tried to see what happens when thes2n_connection_new
is called, but it didn't seem to be called at all.After checking the call stack further of the S3 upload task, which uses the
Aws::S3::S3Client
, when thePutObject
is called it seems to be usingCurlHttpClient
to set up the conn…