allow public/private keys to be set via options