summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-09 23:45:07 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-09 23:45:07 +0000
commit9da0bac018e0e7dcad0c1aafaa7f6be6d434da96 (patch)
tree428c21ec79af0e5f910f61e692e717deb25d143c /src/lib/config.h
parent39e2134910fc916a45ebddf121664afcbd76cc19 (diff)
swaroop: store whole signer/decryption chains and private keys encrypted by machine UUID.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index e28928226..70d8f9200 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -1083,9 +1083,6 @@ private:
boost::filesystem::path directory_or (boost::optional<boost::filesystem::path> dir, boost::filesystem::path a) const;
void add_to_history_internal (std::vector<boost::filesystem::path>& h, boost::filesystem::path p);
void backup ();
-#ifdef DCPOMATIC_VARIANT_SWAROOP
- dcp::Data key_from_uuid () const;
-#endif
template <class T>
void maybe_set (T& member, T new_value, Property prop = OTHER) {
@@ -1175,10 +1172,16 @@ private:
std::string _notification_bcc;
std::string _notification_email;
boost::shared_ptr<const dcp::CertificateChain> _signer_chain;
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+ boost::filesystem::path _signer_chain_path;
+#endif
/** Chain used to decrypt KDMs; the leaf of this chain is the target
* certificate for making KDMs given to DCP-o-matic.
*/
boost::shared_ptr<const dcp::CertificateChain> _decryption_chain;
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+ boost::filesystem::path _decryption_chain_path;
+#endif
/** true to check for updates on startup */
bool _check_for_updates;
bool _check_for_test_updates;