[Gpg4win-users-en] Error when decrypting a file with kleopatra

Fabian Nick fabian.nick at scai.fraunhofer.de
Wed Feb 19 15:37:38 CET 2014


Hi everyone,

we additionally advised our customer to rename the file extension to .gpg which did the trick in this case.
Is this considered a bug or a feature?! ;)

Regards,
Fabian

----- Original Message -----
> From: "Fabian Nick" <fabian.nick at scai.fraunhofer.de>
> To: "Andre Heinecke" <aheinecke at intevation.de>
> Cc: gpg4win-users-en at wald.intevation.org, "Bernhard Reiter" <bernhard at intevation.de>
> Sent: Wednesday, 19 February, 2014 10:49:18 AM
> Subject: Re: [Gpg4win-users-en] Error when decrypting a file with kleopatra
> 
> Andre,
> 
> trying to decrypt the file gives me the following error message on my
> linux command lone (I get the message in german however this is what
> I would suppose the english equivalent would look like):
> 
> gpg: encrypted with RSA key, ID ****
> gpg: encryption failed: no secret key.
> 
> So this looks fine to me, too.
> I think there really has been either a transmission error or he is
> trying to encrypt the wrong file.
> However we already sent him the file twice and asked for the MD5 sum
> yesterday. We are waiting for a response on that at the moment.
> 
> Thanks, I'll keep you posted.
> 
> Regards,
> Fabian
> 
> ----- Original Message -----
> > From: "Andre Heinecke" <aheinecke at intevation.de>
> > To: gpg4win-users-en at wald.intevation.org
> > Cc: "Fabian Nick" <fabian.nick at scai.fraunhofer.de>, "Bernhard
> > Reiter" <bernhard at intevation.de>
> > Sent: Wednesday, 19 February, 2014 10:30:14 AM
> > Subject: Re: [Gpg4win-users-en] Error when decrypting a file with
> > kleopatra
> > 
> > Hi,
> > 
> > On Wednesday 19 February 2014 10:13:08 Fabian Nick wrote:
> > > Bernhard,
> > >
> > > thanks for the tip!
> > > The image can be found here: http://postimg.org/image/891i5a48n/
> > 
> > This is sadly a bad error message that also occurs in the case when
> > you just
> > try to decrypt something that is not a gpg message. Your customer
> > is
> > probably
> > trying to decrypt the wrong file. (A file that is not encrypted)
> > 
> > This error message happens when gpg on the command line would tell
> > you:
> > gpg: no valid OpenPGP data found.
> > gpg: decrypt_message failed: Unknown system error
> > 
> > You could let him create a checksum over the file to verify that it
> > is the
> > same. GpgEX offers that option. So he can right click and create a
> > checksum
> > over the file and then right click the same file to decrypt it. You
> > then can
> > compare those checksums to see if he really tries to decrypt the
> > file
> > you've
> > sent him.
> > 
> > >
> > > Regarding your suggestions:
> > >
> > > a) I've already opened the public key file he sent us and it
> > > looks
> > > ok.
> > > Opening the encrypted file we sent back to him just reveals some
> > > binary
> > > nonsense  b) I cannot decrypt the file since I don't have his
> > > private
> > > key... ;-)
> > 
> > With regards to b) You can try to decrypt it. It should show you
> > "no
> > secret
> > key" but this whould show you at least that it is a valid OpenPGP
> > message.
> > (In which case the error should be different)
> > 
> > Regards,
> > Andre
> > 
> > --
> > Andre Heinecke |  ++49-541-335083-262 |  http://www.intevation.de/
> > Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück,
> > HR
> > B 18998
> > Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver
> > Wagner
> > 
> _______________________________________________
> Gpg4win-users-en mailing list
> Gpg4win-users-en at wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/gpg4win-users-en



More information about the Gpg4win-users-en mailing list