Skip to content
Snippets Groups Projects
Commit 97f8adb6 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Add externalEncryptionKeyScript taped conf option

parent abd1012a
Branches
Tags
No related merge requests found
......@@ -95,6 +95,7 @@ TapedConfiguration TapedConfiguration::createFromCtaConf(
ret.daemonGroupName.setFromConfigurationFile(cf, generalConfigPath);
ret.logMask.setFromConfigurationFile(cf, generalConfigPath);
ret.tpConfigPath.setFromConfigurationFile(cf, generalConfigPath);
ret.externalEncryptionKeyScript.setFromConfigurationFile(cf, generalConfigPath);
// Memory management
ret.bufferSizeBytes.setFromConfigurationFile(cf, generalConfigPath);
ret.bufferCount.setFromConfigurationFile(cf, generalConfigPath);
......
......@@ -161,6 +161,13 @@ struct TapedConfiguration {
cta::SourcedParameter<uint32_t> tapeLoadTimeout {
"taped", "TapeLoadTimeout",60,"Compile time default"
};
//----------------------------------------------------------------------------
// Tape encryption script
//----------------------------------------------------------------------------
cta::SourcedParameter<std::string> externalEncryptionKeyScript {
"taped", "externalEncryptionKeyScript","/usr/local/bin/cta-get-encryption-key","Compile time default"
};
private:
/** A private dummy logger which will simplify the implementation of the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment