flycast/core/deps/libzip/regress/decrypt-wrong-password-pkwa...

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