Added passive support for encrypted secrets (Closes #129)