Merge lp:~michael.nelson/launchpad/ppa-generate-key-failure into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Michael Nelson on 2010-05-07 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 10834 | ||||
| Proposed branch: | lp:~michael.nelson/launchpad/ppa-generate-key-failure | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
60 lines (+31/-2) 2 files modified
lib/canonical/launchpad/utilities/ftests/test_gpghandler.py (+24/-2) lib/canonical/launchpad/utilities/gpghandler.py (+7/-0) |
||||
| To merge this branch: | bzr merge lp:~michael.nelson/launchpad/ppa-generate-key-failure | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Abel Deuring (community) | code | 2010-05-06 | Approve on 2010-05-07 |
|
Review via email:
|
|||
Commit Message
Ensure only byte-strings are passed to gpgme.Context(
Description of the Change
This branch fixes bug 576405 by ensuring that IGPGHandler.
To test:
bin/test -vv -m test_gpghandler
Initially I refactored IGPGHandler.
This will need to be CP'd, so if you review this and I'm not around, please feel free to send it off to land on devel.
| William Grant (wgrant) wrote : | # |
| Michael Nelson (michael.nelson) wrote : | # |
Right - I had understood that we were only using localKeys() with fingerprints and email addresses, but better to be safe.
I couldn't find much documentation for gpgme, and so have just encoded the string in utf-8.
Thanks William.

Isn't this going to explode if the first PPA's display name contains non-ASCII characters?