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 Antworten
1

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

profile picture
EXPERTE
beantwortet vor 2 Monaten
  • 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
beantwortet vor 2 Monaten
  • 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?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen