rework key protection