##// END OF EJS Templates
Make Notary.secret_file configurable
MinRK -
Show More
@@ -97,7 +97,9 b' class NotebookNotary(LoggingConfigurable):'
97 def _digestmod_default(self):
97 def _digestmod_default(self):
98 return getattr(hashlib, self.algorithm)
98 return getattr(hashlib, self.algorithm)
99
99
100 secret_file = Unicode()
100 secret_file = Unicode(config=True,
101 help="""The file where the secret key is stored."""
102 )
101 def _secret_file_default(self):
103 def _secret_file_default(self):
102 if self.profile_dir is None:
104 if self.profile_dir is None:
103 return ''
105 return ''
General Comments 0
You need to be logged in to leave comments. Login now