When using mender-artifact to generate the artifact from a remote device (ssh) the OS can prompt for the SSH password. If the user wants to kill the process there (SIGINT), mender-artifact will raise a panic.
How to reproduce:
- Start a mender-artifact write command from a device supporting mender snapshot feature:
- mender-artifact write rootfs-image -f ssh://firstname.lastname@example.org -n dump -o dump2.mender -t raspberrypi
- When asked for the password, cancel using SIGINT signal
- email@example.com's password: (Ctrl+C)