Actions
Bug #3435
closedDummyClientFace must allow custom KeyChain to be supplied during construction
Start date:
01/26/2016
Due date:
% Done:
100%
Estimated time:
Description
Some test cases customize KeyChain (e.g., specialized TPM). DummyClientFace creates an instance of a "default" KeyChain, which potentially causes errors like this:
../src/security/key-chain.cpp:264: fatal error: in "void ndn::security::KeyChain::initialize(const std::string &, const std::string &, bool)": boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::security::KeyChain::MismatchError> >: TPM locator supplied does not match TPM locator in PIB: tpm-file: != tpm-osxkeychain:
The current workaround is to customize $HOME
for the test case(s) and create client.conf
in $HOME/.ndn/
Actions