Skip to content

Commit

Permalink
Merge pull request #845 from public/no-memory-wipe-docs
Browse files Browse the repository at this point in the history
Document our security limitations
  • Loading branch information
reaperhulk committed Mar 25, 2014
2 parents fabf28a + a108ac6 commit 0201c35
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ The ``cryptography`` open source project
installation
development/index
security
limitations
api-stability
doing-a-release
changelog
Expand Down
19 changes: 19 additions & 0 deletions docs/limitations.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Known security limitations
--------------------------

Lack of secure memory wiping
============================

`Memory wiping`_ is used to protect secret data or key material from attackers
with access to uninitialized memory. This can be either because the attacker
has some kind of local user access or because of how other software uses
uninitialized memory.

Python exposes no API for us to implement this reliably and as such almost all
software in Python is potentially vulnerable to this attack. However the
`CERT secure coding guidelines`_ consider this issue as "low severity,
unlikely, expensive to repair" and we do not consider this a high risk for most
users.

.. _`Memory wiping`: http://blogs.msdn.com/b/oldnewthing/archive/2013/05/29/10421912.aspx
.. _`CERT secure coding guidelines`: https://www.securecoding.cert.org/confluence/display/seccode/MEM03-C.+Clear+sensitive+information+stored+in+reusable+resources

0 comments on commit 0201c35

Please sign in to comment.