Give sensible error messages when trying to delete secret key.