Cannot decrypt file due to no secret key error

I’m working with a third party where I’m supposed to download a PGP encrypted file from their SFTP server. I generated a key pair using Kleopatra and shared my public key with them. When I tried to decrypt the file, I got the no secret key error. The third party verified that the public key that we shared with them is correct and I don’t think we need to export the secret key and save the file somewhere in our machine. I tried to encrypt a test file using Kleopatra and shared the file with another user who’s using Kleopatra as well and he managed to decrypt the file. We are on Windows. I’m not really sure what seems to be wrong here.

Hi @ndale001 ,

check yourself if the file you have downloaded is encrypted for your private key.

Use the command line to learn more about the file, e.g.

  gpg --decrypt --verbose  FILE

Test next if you have the secret key at this place, e.g.
gpg --list-secret-keys

Regards,
Bernhard