GPGME (abbreviated from GnuPG Made Easy) is a library designed to make access to GnuPG easier for applications.
Questions tagged [gpgme]
71 questions
0
votes
1 answer
Supply Passphrase in the time of decryption in GPG
While I'm using gpg manually it works fine. I got below screen("passphrase to unlock") I don't want to this screen mean I want to automate means I want to supply the password in time of decryption.…

user2932003
- 171
- 2
- 4
- 14
0
votes
1 answer
A different symmetric algo for gpgme
By default, gpg2 uses CAST5 for a symmetric encryption. Here
crypto = GPGME::Crypto.new()
r = crypto.encrypt "Hello world!\n", symmetric: true
r.read() will return CAST5 data.
How to change the default cipher algo to, for example, AES256?

Alexander Gromnitsky
- 2,949
- 2
- 33
- 38
0
votes
1 answer
What is the command line equivalent for "sign, armor and encrypt" using GPA - PGP?
I've been trying to figure out how to work the command lines for a GPA task that I want to automate. Currently, I just use GPA for Windows, select the key, select the file, check off "Armor", and click GO. There must be some command line interface…

BWS
- 3,786
- 18
- 25
0
votes
1 answer
How to perform symmetric encryption with gpgme in python?
I'm trying to implement symmetric encryption using python's wrapper to gpgme, pygpgme. Unfortunately I'm using gpg 2.0.22 and gpg-agent 2.0.22. This mailing list post says that the passphrase callback is ignored in 2.0, which is the issue I'm…

jbrown
- 7,518
- 16
- 69
- 117
0
votes
0 answers
Verify an RPM signature in C++?
I have an rpm and the public key that can be used to verify the signature. I would like to verify that signature before I do something in my C++ program. I'm having trouble determining the best library to use here.
My application already uses…

Coop
- 189
- 1
- 15
0
votes
1 answer
How can I decrypt sub message with gpgme?
Is there a possibility to decrypt one message, where you decrypt first sub-message and then second....
for example if your message is really large, and you don't want keep whole message in memory!?
Can't find anything in manual, or in google!

Misha
- 1
0
votes
1 answer
Ruby GPGME::Error> Inappropriate ioctl for device
I'm unable to import a key file. I'm using ruby 1.9.3 and ruby-gpgme
https://github.com/ueno/ruby-gpgme
require "gpgme"
begin
key = GPGME::Key.import(File.open("private.key"), {:password => "redacted"})
rescue GPGME::Error => g
puts g.inspect
…

user2012677
- 5,465
- 6
- 51
- 113
0
votes
1 answer
how do I sign data with pyme?
I just installed pyme on my ubuntu system. it was easy (thanks apt-get) and I can reproduce the example code (encrypting using a public key in my keyring). now I would like to sign some data and I didn't manage to find any example code nor much…

mariotomo
- 9,438
- 8
- 47
- 66
0
votes
1 answer
make check fails after building gpgme
I am trying to build gpgme-1.3.2 on an Ubuntu 12.04. I've already built libgpg-error-1.10 and libassuan-2.0.3. The commands were simply:
./configure && make && make check && sudo make install
Both libraries built succesful and make check gave me no…

Patrick R.
- 412
- 6
- 15
0
votes
2 answers
Python Pyme: Simple decryption without user interaction
I am using Pyme to interface with GPGME and have had no problems signing / encrypting. When I try to decrypt, however, it always brings up the prompt for the passphrase despite having set it via a c.set_passphrase_cb callback. Am I doing something…

sberry
- 128,281
- 18
- 138
- 165
0
votes
1 answer
Firebreath plugin on windows fails to load in chrome
I am busy converting by existing firebreath plugin here to use gpgme instead of making calls via the OS and the gpg binary.
I have managed to get the code to compile in windows using VS 2010 on a x32 system but after loading the plugin into chrome I…

RC1140
- 8,423
- 14
- 48
- 71