failed the signature validation

I am getting this error "failed the signature validation". I can figure out why. This is what happens when i try to update.

Hey Shane,

This can be caused by a couple of things. But before I answer your question let me tell you how update signing works.

When you first save a project a public and private sign key pair is generated. When you build wyUpdate, the public sign key is embedded in the client.wyc file. When you build your updates, wyBuild generates a signed hash of every .wyu files and stores it in the .wys file.

So a failed signature validation can come from a few things:

  1. The downloaded file is corrupt.
  2. You uploaded the latest .wyu files without also updating the .wys file. So the .wys has signed hashes for old update files.
  3. You built wyUpdate with another wyBuild project (and thus with a separate public signing key).

Here's how I would go about fixing this. If you know you built wyUpdate with a separate project - open that project and copy the full block in the Signing tab in the properties window (File -> Properties-> Signing). Then rebuild your updates, upload them and test again.

If that's not the case, then try rebuilding your updates and uploading all the files (especially the *.wys file).

If that doesn't fix it, rebuild wyUpdate.exe and include the latest wyUpdate.exe and client.wyc file.

Tell me if this helps.