Merge "Update crypt footer flags while upgrading version from 1.2 to 1.3"