test suite imports keys into local users ~/.gpg

Bug #843885 reported by Jelmer Vernooij
6
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

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

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)

tags: added: gpg selftest signatures
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 843885] Re: test suite imports keys into local users ~/.gpg

Or use gpgfixtures.

On 8/09/2011 1:45 AM, "Jelmer Vernooij" <email address hidden> wrote:

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)

** Tags added: gpg selftest signatures

--
You received this bug notification because you are a member of bzr-core,
which is subscribed to...

Jelmer Vernooij (jelmer)
Changed in bzr:
status: In Progress → Triaged
status: Triaged → Confirmed
assignee: Jelmer Vernooij (jelmer) → nobody
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → Low
Jelmer Vernooij (jelmer)
Changed in brz:
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → In Progress
Jelmer Vernooij (jelmer)
Changed in brz:
status: In Progress → Fix Released
milestone: none → 3.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.