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?

2 Respostas
1

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

profile picture
ESPECIALISTA
respondido há 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 há 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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas