Skip to content

Commit

Permalink
Google needs 50 years on certificates - let's give them a bit more th…
Browse files Browse the repository at this point in the history
…an that
  • Loading branch information
andydotxyz committed Feb 24, 2020
1 parent d3a31f5 commit a4a9a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/fyne/internal/mobile/cert.go
Expand Up @@ -29,6 +29,7 @@ func signPKCS7(rand io.Reader, priv *rsa.PrivateKey, msg []byte) ([]byte, error)
SerialNumber: big.NewInt(serialNumber),
SignatureAlgorithm: x509.SHA1WithRSA,
Subject: name,
NotAfter: time.Date(2120, time.January, 1, 12, 0, 0, 0, time.UTC), // more than 50 years for Google Play Store
}

b, err := x509.CreateCertificate(rand, template, template, priv.Public(), priv)
Expand Down

0 comments on commit a4a9a21

Please sign in to comment.