From d08d75530fa1f5f71a1e22a88c6d3005acb9055f 2014-03-10 22:22:13 From: MinRK Date: 2014-03-10 22:22:13 Subject: [PATCH] Make Notary.secret_file configurable --- diff --git a/IPython/nbformat/sign.py b/IPython/nbformat/sign.py index 33f5432..ba16c9a 100644 --- a/IPython/nbformat/sign.py +++ b/IPython/nbformat/sign.py @@ -97,7 +97,9 @@ class NotebookNotary(LoggingConfigurable): def _digestmod_default(self): return getattr(hashlib, self.algorithm) - secret_file = Unicode() + secret_file = Unicode(config=True, + help="""The file where the secret key is stored.""" + ) def _secret_file_default(self): if self.profile_dir is None: return ''