[Bug 1465674] [NEW] pygpgme example likely to not work - simple fix

Muelli tobiasmue at gnome.org
Tue Jun 16 13:34:25 UTC 2015


Public bug reported:

The example shipped with pygpgme
<http://bazaar.launchpad.net/~jamesh/pygpgme/trunk/view/head:/examples/encrypt.py>
is likely to not work because the key is not trusted.

A simple fix is to
ctx.encrypt([key], gpgme.ENCRYPT_ALWAYS_TRUST, plain, cipher)

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python-gpgme 0.3-1
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jun 16 15:23:43 2015
SourcePackage: pygpgme
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: pygpgme (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

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

Title:
  pygpgme example likely to not work - simple fix

Status in pygpgme package in Ubuntu:
  New

Bug description:
  The example shipped with pygpgme
  <http://bazaar.launchpad.net/~jamesh/pygpgme/trunk/view/head:/examples/encrypt.py>
  is likely to not work because the key is not trusted.

  A simple fix is to
  ctx.encrypt([key], gpgme.ENCRYPT_ALWAYS_TRUST, plain, cipher)

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: python-gpgme 0.3-1
  ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
  Uname: Linux 3.19.0-18-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Tue Jun 16 15:23:43 2015
  SourcePackage: pygpgme
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list