debugging secret keys