Chatted with the team a bit. There are two ways forward that we can see:

* somehow fix gpg, or the way we call it, to not strip whitespace from
the end of values. This looks to be a lot of work, and not a lot of
benefit, so we think this would be a Low priority task.

* detect a passphrase that starts or ends with whitespace and warn or
block. This is a lot simpler (as we're the ones doing the reading of the
passphrase) and could be a Medium priority task.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662534

Title:
  snap create-key misses space at end of passphrase

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1662534/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to