On 08/17/2016 11:00 PM, Spoofy32 . wrote: > --status-file outputs: > > [GNUPG:] ENC_TO XXXXXXXXXXXXXXXX 1 0 > [GNUPG:] GOOD_PASSPHRASE > [GNUPG:] ERROR pkdecrypt_failed 18 > [GNUPG:] BEGIN_DECRYPTION > [GNUPG:] DECRYPTION_FAILED > [GNUPG:] END_DECRYPTION > > Is there a place where error code 18 is defined? >
In libgpg-error/doc/errorref.txt, it says: 18 GPG_ERR_WRONG_SECKEY Wrong secret key used In the code of GnuPG, this error occurs when decryption by your private key is finished to get the secret session key, but the result of the secret session key is found malformed. I'm reading gnupg/g10/pubkey-enc.c. -- _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users