Proper public/secret key support.