set key protected to key private