chiark / gitweb /
catacomb/__init__.py: Don't print secret bits of keys by default.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 1 May 2017 00:38:30 +0000 (01:38 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 5 May 2017 00:04:25 +0000 (01:04 +0100)
commit652e16eac3aa90b7b21d867b8f5fc8ca34c135c7
treedfd02d35b81ae93e2fa09f90654cf608b4ef3e36
parent330e6a7404a3061ce131e980c57e118716ea6a60
catacomb/__init__.py: Don't print secret bits of keys by default.

Introduce a `PRINT_SECRETS' flag which can easily be twiddled (e.g., in
IPython) to control whether obvious secrets are printed literally or
censored (the default).  This is intended to make accidental leakage a
bit less likely, rather than as a security feature.
catacomb/__init__.py