Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on decrypt. #3

Open
dpc opened this issue Mar 30, 2016 · 0 comments
Open

Error on decrypt. #3

dpc opened this issue Mar 30, 2016 · 0 comments

Comments

@dpc
Copy link

dpc commented Mar 30, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant