pygpgme example likely to not work - simple fix

Bug #1465674 reported by Muelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygpgme (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :
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.