Signing failed: Invalid file.

0

I'm getting the error "Signing failed: Invalid file" when I try to sign a file with AWS Signer. I am sure that the file exists and that I have access to it. I cannot find any explanation for this error. For what reasons would a file be considered "Invalid"?

  • Do I need some kind of code signing certificate that I cannot make in AWS? If so, where do I get this certificate and what do I need to request?

Frank
preguntada hace 2 meses183 visualizaciones
2 Respuestas
1

AWS Signer supports specific file formats for signing. Be sure your file is in zip format (console).

profile picture
EXPERTO
respondido hace 2 meses
  • I can sign a zip file, but that doesn't do me any good. I am trying to install a firmware update. The device doesn't know how to unpack a zip file.

0

Hello,

  • Verify that the file you are trying to sign is valid and not corrupted. Signing will fail if the file contents are invalid.

  • Check that the signing configuration defined in your code signing profile matches the requirements of the file. For example, some files may only support certain hashing or encryption algorithms.

  • Ensure your IAM permissions are configured correctly to allow code signing with the profile.

  • Confirm that the certificate attached to the profile is still valid and not expired. An expired or revoked certificate can cause the signing to fail.

  • Review your AWS CodeSigning service quotas in case you have reached a limit on the number of signatures.

profile picture
Julian
respondido hace 2 meses
  • What permission is required for code signing? I cannot find any permission which contains the word "signing".

  • I'm not sure I understand what you mean by "the requirements of the file". The file is just a collection of bytes. How would the code signer know what its "requirements" are?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas