support v0.1.6 of secrets.js