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개 답변
1

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

profile picture
전문가
답변함 2달 전
  • 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
답변함 2달 전
  • 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?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠