Page MenuHome GnuPG

dmp1ce (David Parrish)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 27 2017, 4:48 PM (404 w, 1 d)
Availability
Available

Recent Activity

Mar 23 2017

dmp1ce added a comment to T2916: GPGME should have a way to suppress delete key prompts.

Sorry, the test case code is here: https://github.com/rethab/h-
gpgme/blob/master/test/KeyTest.hs#L91

The removeKey function code is here: https://github.com/rethab/h-
gpgme/blob/master/src/Crypto/Gpgme/Key.hs#L64

Mar 23 2017, 5:00 PM · gpgme (gpgme 1.23.x), Feature Request
dmp1ce added a comment to T2916: GPGME should have a way to suppress delete key prompts.

I hope the attached log helps. The log is a test of this command:
GPGME_DEBUG=9:/home/dmp1ce/Projects/DMSS/h-gpgme/mygpgme.log ./runtests remove_alice_key_prompt

The test is creating a GPG context directory, creating a temporary key and then deleting it. The
log should show me manually confirming to delete the key. I would like the delete prompt to be
suppressed with an automatic deletion of the key. I didn't see any way of suppressing the
confirmation in the documentation here:
https://www.gnupg.org/documentation/manuals/gpgme/Deleting-Keys.html#Deleting-Keys

The code to the test case is here: https://github.com/rethab/h-
gpgme/blob/master/src/Crypto/Gpgme/Key.hs#L64

The test is running the function c'gpgme_op_delete which is a binding to the c function
gpgme_op_delete. Source code for the binding is here: https://github.com/jwiegley/bindings-
dsl/blob/master/bindings-gpgme/src/Bindings/Gpgme.hsc#L534

Mar 23 2017, 4:55 PM · gpgme (gpgme 1.23.x), Feature Request
dmp1ce added a comment to T2916: GPGME should have a way to suppress delete key prompts.

Mar 23 2017, 4:55 PM · gpgme (gpgme 1.23.x), Feature Request

Mar 21 2017

dmp1ce added a comment to T2916: GPGME should have a way to suppress delete key prompts.

I'm maintaining a language binding. https://github.com/rethab/h-gpgme

Mar 21 2017, 4:18 PM · gpgme (gpgme 1.23.x), Feature Request

Jan 6 2017

dmp1ce added projects to T2916: GPGME should have a way to suppress delete key prompts: Feature Request, gpgme.
Jan 6 2017, 11:35 PM · gpgme (gpgme 1.23.x), Feature Request