Date: 2014-04-11 17:22:21 GMT (1 day, 10 hours and 26 minutes ago)
Akamai Technologies is pleased to offer the following patch to OpenSSL. It adds a "secure arena" that is used to store RSA private keys. This arena is mmap'd, with guard pages before and after so pointer over- and under-runs won't wander into it. It's also locked into memory so it doesn't appear on disk, and when possible it's also kept out of core files. This patch is a variant of what we've been using to help protect customer keys for a decade.
This should really be considered more of a proof of concept than something that you want to put directly into production. It slides into the ASN1 code rather than adding a new API (OPENSSL_secure_allocate et al), the overall code isn't portable, and so on. If there is community interest, we would be happy to help work on addressing those issues. Let me restate that: *do not just take this patch and put it into production without careful review.*
OpenSSL is important to us, and this is the first of what we hope will be several significant contributions in the near future.
Thanks.
--
Principal Security Engineer
Akamai Technology
Cambridge, MA