OVMS3/OVMS.V3/components/zip/libzip/regress/decrypt-wrong-password-aes256.test

7 lines
259 B
Plaintext

# test AES decryption support, extract file using wrong password
features CRYPTO
return 1
args encrypt.zzip set_password notfoonotfoo cat 1
file encrypt.zzip encrypt-aes256.zip encrypt-aes256.zip
stderr can't open file at index '1': Wrong password provided