Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate dev certs with effectively infinite expiry #331
Conversation
This tool solves a problem that Visual Studio only generates 1-year expiry certs. By this commit, dev-certs will have expiry until 2038. In that time, UWP apps should be replaced completely.
This PR updates development certificates for appx files in unit test projects with effectively infinite expiry (
Int32.MaxValueunix seconds).Although it may be available to set the expiry to more large date like 9999-12-31, there are some systems which have year 2038 problem in my personal experience. In such systems, expiry over 2038 causes certification validation error. So, I selected
Int32.MaxValueunix seconds as expiry.I also ship the simple powershell script to generate a such certificate for later maintenance.