test suite imports keys into local users ~/.gpg
Bug #843885 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
the test suite uses the current users' ~/.gpg directory when dealing with gpg keys.
This means that we leak some test keys into the users ~/.gpg, share locks and it makes the testsuite less predictable.
Related branches
lp:~jelmer/brz/gpghome
- Martin Packman: Approve
-
Diff: 33 lines (+6/-0)2 files modifiedbreezy/tests/__init__.py (+2/-0)
doc/en/release-notes/brz-3.0.txt (+4/-0)
Changed in bzr: | |
status: | In Progress → Triaged |
status: | Triaged → Confirmed |
assignee: | Jelmer Vernooij (jelmer) → nobody |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
importance: | Medium → Low |
Changed in brz: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | Triaged → In Progress |
Changed in brz: | |
status: | In Progress → Fix Released |
milestone: | none → 3.0.0 |
To post a comment you must log in.
We should be able to use the following to override the GPG Home directory:
ctx.set_ engine_ info(gpgme. PROTOCOL_ OpenPGP, None, my_gpg_home)