rstudio/rskey

FIPS-140 Compliance

Opened this issue · 0 comments

There is some interest in FIPS-140 compliance, which would likely involve:

Some notes:

  • There are a few possible API choices here, including a build-time decision (using build tags) and a runtime "I want FIPS" decision. The build-time decision seems more consistent with FIPS in general, even if it's more opaque to users.

  • I've discovered that Docker Swarm used a runtime FIPS flag to select AES-128-CBC, but from a casual reading of that package this approach would not be FIPS-compliant by itself, since it uses Go's (non-compliant) crypto under the hood.

  • I don't want to guess whether these changes would make us compliant. We'll have to get a more formal opinion on the matter.