space-game001/proj-web/thirdparty/libzip-1.11.3/regress/decrypt-wrong-password-pkware-2.test
Vladislav Khorev d1cab1f3b3 refactoring
2026-01-09 22:33:46 +03:00

10 lines
410 B
Plaintext

# test decryption support, extract file using wrong password (correct: "1234")
# In some cases, like this one, the password, even if incorrect, passes the
# minimal verification that's possible due to the zip file format specification.
return 1
arguments encrypt.zzip set_password sample cat 0
file encrypt.zzip encrypt-1234.zip
stderr
can't read file at index '0': Zlib error: data error
end-of-inline-data