implement key listing and accepting