Skip to content

aws-lc-rs v1.17.1

Latest

Choose a tag to compare

@justsmth justsmth released this 30 Jun 13:16
741dbf5

🎉 AWS-LC FIPS v3 Module Has Been Validated

The AWS-LC FIPS v3 module has been awarded FIPS 140-3 validation by NIST's CMVP:

Seek guidance from a local FIPS compliance expert regarding requirements for your deployment environments. Please consult the Security Policies associated with our certificates if you have questions.

aws-lc-fips-sys (utilized via the fips feature of aws-lc-rs) currently uses the validated FIPS v3 module.

  • In the upcoming aws-lc-rs v1.18.0 release, we plan to switch aws-lc-fips-sys to our FIPS v4 branch.

What's Changed

  • Support linking against a system-installed AWS-LC:
    • Set AWS_LC_SYS_SYSTEM_DIR or let pkg-config / OPENSSL_* environment variables auto-detect an existing AWS-LC installation instead of building from source by @justsmth in #1129
    • Support system-installed AWS-LC FIPS library for aws-lc-fips-sys by @justsmth in #1143
    • Auto-detect system AWS-LC from OPENSSL_* and pkg-config by @justsmth in #1156
    • Gate system AWS-LC on a declared minimum version by @justsmth in #1152
  • Implement Send/Sync for RSA hazmat encryption key types by @justsmth in #1128
  • Add Salt::none constructor for HKDF by @justsmth in #1135
  • Add wasm32-unknown-emscripten build and test support by @justsmth in #1059
  • Report specific key rejection reasons for invalid RSA key sizes by @justsmth in #1153

Upstream AWS-LC (v5.1.0)

aws-lc-sys now aligns with AWS-LC v5.1.0 (previously v1.73.0). Notable upstream changes include:

Build Improvements

  • Fix memcmp_check build failure when CFLAGS contains LTO flags by @justsmth in #1134
  • Fix missing poly_Rq_mul symbol in Linux x86_64 build by @Lebei2046 in #1130
  • Apply -ffile-prefix-map to jitterentropy builder by @justsmth in #1139
  • Select compiler flag dialect by driver mode, not target ABI by @justsmth in #1147

Issues Being Closed

  • RSA hazmat encryption key types missing Send/Sync -- #1125
  • RSA key rejection reports generic Unspecified for invalid key sizes -- #1082
  • Build failure when CFLAGS contains LTO flags (Windows/clang) -- #1132
  • cargo-xwin (clang-cl) jitterentropy build failure on x86_64-pc-windows-msvc -- #1146
  • Support system-provided AWS-LC library -- #936
  • cpu_arm_linux.c assumes sys/auxv.h and getauxval (uclibc targets) -- #1108
  • jitterentropy embeds absolute paths to files -- #1137

Other Merged PRs

New Contributors

Full Changelog: v1.17.0...v1.17.1