bug/zip corrompu
Situation actuelle
curl -k -X POST --data "{\"passphrase\":\"TROISfois2=6maisPAStoujours\"}" -u 'bill:long-password' http://127.0.0.1:5000/api/certificate/pty -o my_ssh_key.zip
Le fichier généré est corrompu
[bill@ssham-srv ~]$ unzip my_ssh_key.zip
Archive: my_ssh_key.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of my_ssh_key.zip or
my_ssh_key.zip.zip, and cannot find my_ssh_key.zip.ZIP, period.
Actions
-
Ajouter des traces sur la génération du fichier zip -
Reproduire les actions sur le vault à la main
Edited by HARRY Guillaume