Verify the type of OS and setup updates encryption key