main_read_pkey(): clean "private"