Mailing List Archive

gpg: decrypt_message failed: Unknown system error
How do I go about giving you debug information?

I am not operating in batch or unattended mode now. All lines in my user gpg.conf are commented out.




Before knowing the proper procedure for managing IDs graciously explained to me on this list, I deliberately created a temporary ID with a short time of validity so as to discard it when it expired (after about three days. Not intending to share the keys with anybody.)  I deleted the ID after expiration and re-created a new ID with the same name. When it expired again I deleted it and created a new ID with the same name again; and that is when my problems started.





ayoub@vboxpwfl:~/testdir$ ls textfile





ayoub@vboxpwfl:~/testdir$ gpg -r develop1 -e textfile




ayoub@vboxpwfl:~/testdir$ ls textfile  textfile.gpg





ayoub@vboxpwfl:~/testdir$ gpg -u develop1 -o textfile.dcr -d textfile gpg: no valid OpenPGP data found.
gpg: decrypt_message failed: Unknown system error


ayoub@vboxpwfl:~/testdir$











ayoub@vboxpwfl:~/testdir$ gpg --list-keys
/home/ayoub/.gnupg/pubring.kbx
------------------------------
pub   ed25519 2020-07-09 [SC] [expires: 2020-07-19]
      3C5B212A55B966881E2D2718A45398B520BEE91E
uid           [ultimate] sentry
sub   cv25519 2020-07-09 [E] [expires: 2020-07-19]

pub   ed25519 2020-07-09 [SC] [expires: 2021-07-09]
      7A675D7F52BC905C22F8249091556BC29D4C595E
uid           [ultimate] develop1
sub   cv25519 2020-07-09 [E] [expires: 2021-07-09]












ayoub@vboxpwfl:~/testdir$ gpg --list-secret-keys
/home/ayoub/.gnupg/pubring.kbx
------------------------------
sec   ed25519 2020-07-09 [SC] [expires: 2020-07-19]
      3C5B212A55B966881E2D2718A45398B520BEE91E
uid           [ultimate] sentry
ssb   cv25519 2020-07-09 [E] [expires: 2020-07-19]

sec   ed25519 2020-07-09 [SC] [expires: 2021-07-09]
      7A675D7F52BC905C22F8249091556BC29D4C595E
uid           [ultimate] develop1
ssb   cv25519 2020-07-09 [E] [expires: 2021-07-09]

ayoub@vboxpwfl:~/testdir$
Re: gpg: decrypt_message failed: Unknown system error [ In reply to ]
On Mittwoch, 15. Juli 2020 21:32:29 CEST Ayoub Misherghi via Gnupg-users
wrote:
> ayoub@vboxpwfl:~/testdir$ gpg -r develop1 -e textfile
>
> ayoub@vboxpwfl:~/testdir$ ls
> textfile textfile.gpg
>
> ayoub@vboxpwfl:~/testdir$ gpg -u develop1 -o textfile.dcr -d textfile
> gpg: no valid OpenPGP data found.
> gpg: decrypt_message failed: Unknown system error

You are trying to decrypt the original file (textfile) instead of the
encrypted file (textfile.gpg).

Regards,
Ingo
Re: gpg: decrypt_message failed: Unknown system error [ In reply to ]
Thanks. I wish the error message did not say system error when it was
human error.


On 7/16/2020 3:07 AM, Ingo Kl?cker wrote:
> On Mittwoch, 15. Juli 2020 21:32:29 CEST Ayoub Misherghi via Gnupg-users
> wrote:
>> ayoub@vboxpwfl:~/testdir$ gpg -r develop1 -e textfile
>>
>> ayoub@vboxpwfl:~/testdir$ ls
>> textfile textfile.gpg
>>
>> ayoub@vboxpwfl:~/testdir$ gpg -u develop1 -o textfile.dcr -d textfile
>> gpg: no valid OpenPGP data found.
>> gpg: decrypt_message failed: Unknown system error
> You are trying to decrypt the original file (textfile) instead of the
> encrypted file (textfile.gpg).
>
> Regards,
> Ingo
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users