Building Trust and Keeping Secrets in the IoT