snapcraft create-key displays an ugly error when the keys don't match
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
To reproduce, run snapcraft create-key and confirm the wrong password.
$ snapcraft create-key
Passphrase:
Confirm passphrase:
error: passphrases do not match
Command '['snap', 'create-key', 'default']' returned non-zero exit status 1
Evaluation history
No evaluation history available.