aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-06-05 13:07:21 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-06-05 13:07:21 -0700
commit0d1b260632b35a60d9337fce8a8d9a2b1901566d (patch)
tree13a90e81ac2c659fab9e920418b2f138258d4e33 /docs
parent03cec7ad5d68bb20bb418b474065037daab71f13 (diff)
parentead04a4d0dc58cd5ac78e650a3185aedd665087e (diff)
downloadcryptography-0d1b260632b35a60d9337fce8a8d9a2b1901566d.tar.gz
cryptography-0d1b260632b35a60d9337fce8a8d9a2b1901566d.tar.bz2
cryptography-0d1b260632b35a60d9337fce8a8d9a2b1901566d.zip
Merge pull request #1095 from Ayrx/security-docs
Updated security.rst to expand on process
Diffstat (limited to 'docs')
-rw-r--r--docs/security.rst69
1 files changed, 64 insertions, 5 deletions
diff --git a/docs/security.rst b/docs/security.rst
index 4dadc847..a31a2fc3 100644
--- a/docs/security.rst
+++ b/docs/security.rst
@@ -1,12 +1,71 @@
Security
========
-We take the security of ``cryptography`` seriously. If you believe you've
-identified a security issue in it, please report it to
-``alex.gaynor@gmail.com``. Message may be encrypted with PGP using key
-fingerprint ``E27D 4AA0 1651 72CB C5D2 AF2B 125F 5C67 DFE9 4084`` (this public
-key is available from most commonly-used key servers).
+We take the security of ``cryptography`` seriously. The following are a set of
+policies we have adopted to ensure that security issues are addressed in a
+timely fashion.
+
+Reporting a security issue
+--------------------------
+
+We ask that you do not report security issues to our normal GitHub issue
+tracker.
+
+If you believe you've identified a security issue with ``cryptography``, please
+report it to ``alex.gaynor@gmail.com``. Message may be optionally be encrypted
+with PGP using key fingerprint
+``E27D 4AA0 1651 72CB C5D2 AF2B 125F 5C67 DFE9 4084``
+(this public key is available from most commonly-used key servers).
Once you've submitted an issue via email, you should receive an acknowledgment
within 48 hours, and depending on the action to be taken, you may receive
further follow-up emails.
+
+Supported Versions
+------------------
+
+At any given time, we will provide security support for the `master`_ branch
+as well as the 2 most recent releases.
+
+Disclosure Process
+------------------
+
+Our process for taking a security issue from private discussion to public
+disclosure involves multiple steps.
+
+Approximately one week before full public disclosure, we will send advance
+notification of the issue to a list of people and organizations, primarily
+composed of operating-system vendors and other distributors of
+``cryptography``. This notification will consist of an email message
+containing:
+
+* A full description of the issue and the affected versions of
+ ``cryptography``.
+* The steps we will be taking to remedy the issue.
+* The patches, if any, that will be applied to ``cryptography``.
+* The date on which the ``cryptography`` team will apply these patches, issue
+ new releases and publicly disclose the issue.
+
+Simultaneously, the reporter of the issue will receive notification of the date
+on which we plan to take the issue public.
+
+On the day of disclosure, we will take the following steps:
+
+* Apply the relevant patches to the ``cryptography`` repository. The commit
+ messages for these patches will indicate that they are for security issues,
+ but will not describe the issue in any detail; instead, they will warn of
+ upcoming disclosure.
+* Issue the relevant releases.
+* Post a notice to the cryptography mailing list that describes the issue in
+ detail, point to the new release and crediting the reporter of the issue.
+
+If a reported issue is believed to be particularly time-sensitive – due to a
+known exploit in the wild, for example – the time between advance notification
+and public disclosure may be shortened considerably.
+
+The list of people and organizations who receives advanced notification of
+security issues is not and will not be made public. This list generally
+consists of high profile downstream distributors and is entirely at the
+discretion of the ``cryptography`` team.
+
+.. _`master`: https://github.com/pyca/cryptography