snapcraft create-key displays an ugly error when the keys don't match
Bug #1637623 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Medium
|
Unassigned |
Bug Description
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