Merge lp:~cjwatson/launchpad/faster-gpg-operations into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 17967 |
Proposed branch: | lp:~cjwatson/launchpad/faster-gpg-operations |
Merge into: | lp:launchpad |
Diff against target: |
381 lines (+48/-61) 12 files modified
lib/lp/archivepublisher/archivesigningkey.py (+4/-9) lib/lp/bugs/mail/tests/test_handler.py (+2/-2) lib/lp/registry/stories/gpg-coc/gpg-with-gpgservice-ff.txt (+2/-5) lib/lp/registry/stories/gpg-coc/xx-gpg-coc.txt (+2/-5) lib/lp/services/gpg/doc/gpg-encryption.txt (+5/-7) lib/lp/services/gpg/handler.py (+10/-10) lib/lp/services/gpg/interfaces.py (+9/-9) lib/lp/services/gpg/tests/test_gpghandler.py (+1/-1) lib/lp/services/mail/tests/test_incoming.py (+2/-2) lib/lp/services/mail/tests/test_signedmessage.py (+3/-3) lib/lp/services/verification/model/logintoken.py (+3/-3) lib/lp/testing/factory.py (+5/-5) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/faster-gpg-operations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Celso Providelo (community) | Approve | ||
Launchpad code reviewers | Pending | ||
Review via email: mp+289950@code.launchpad.net |
Commit message
Sign/encrypt content based on an IPymeKey rather than a fingerprint, for performance.
Description of the change
Sign/encrypt content based on an IPymeKey rather than a fingerprint. Getting from a fingerprint to a key involves two subprocess invocations in gpgme, and in nearly all cases we already have the key in hand so this is unnecessary work. This makes a difference when re-signing thousands of PPAs: it saves in the region of .2s per signature on dogfood.
To post a comment you must log in.
Nice catch! Thank you.