gpgme icon indicating copy to clipboard operation
gpgme copied to clipboard

Error on decrypt.

Open dpc opened this issue 9 years ago • 0 comments

Hi,

I'm pretty sure it's not rust-gpgme issue, but I'll ask anyway.

On ctx.decrypt(...).unwrap() I'm getting

thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { err: 117440664 }', ../src/libcore/result.rs:688

With:

$ gpg-error 117440664
117440664 = (7, 152) = (GPG_ERR_SOURCE_GPGME, GPG_ERR_DECRYPT_FAILED) = (GPGME, Decryption failed)

Decrypting the same file manually with gpg -e <file> seem to work fine.

I tried using with_passphrase_handler, but it's not being called.

The only informative reference about error 117440664 I've found: https://lists.gnupg.org/pipermail/gnupg-devel/2005-June/022154.html

dpc avatar Mar 30 '16 07:03 dpc