Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limited Size for Sign and Verify with Zipsign #29

Open
khafisss opened this issue May 30, 2024 · 1 comment
Open

Limited Size for Sign and Verify with Zipsign #29

khafisss opened this issue May 30, 2024 · 1 comment

Comments

@khafisss
Copy link

khafisss commented May 30, 2024

Describe the bug
I have size file in 8 GB, I will do sign and verify with zipsign. For process sign is success, but after that when i'm verify is failed. The messages of failed is "Invalid". I want to makesure what if zipsign is have limitation size for that ?

Expected behavior
Sign and verify is success, but verify is failed and appear error log is "INVALID"

Please Reply for problem what i have, thankyou

Screen Shot 2024-05-30 at 11 14 26
@falk-werner
Copy link
Owner

Thank's for the issue.
Unfortunately, I was not able to reproduce the bug yet. The following seems to work fine:

# create 8 GByte archive
dd if=/dev/urandom of=data.bin bs=1G count=8
zip -0 -r archive.zip data.bin

# sign archive
zipsign sign -f archive.zip -p key.pem -c cert.pem

# verify signature
zipsign verify -f archive.zip -c cert.pem

Would you please provide some more information how to reproduce the bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants