Home
My Page
Projects
gpg4win

Forum: help-en

Monitor Forum | Start New Thread Start New Thread
RE: gpg: Can't Open: No Such File or Directory [ reply ]
By: Bernhard Reiter on 2017-08-07 12:01
[forum:5048]
Hi Alex,
does it work when you are in the c:\gpg directory?
(This excludes permission problems.).

Could you also state the version of gpg4win you are using?

To command line you've stated worked for me in principle.

Best,
Bernhard

gpg: Can't Open: No Such File or Directory [ reply ]
By: Alex Valeant on 2017-07-11 00:45
[forum:4986]

2017-07-10_17-43-38.jpg (2) downloads
Hello,

I've created a test file in the following directory that I would like to encrypt using PGP 4 Win.

C:\gpg\test.txt

I've succesfully created a key and tried to encrypt the file as follows:

gpg --armor --recipient "EncryptKeyProfile" --output "c:\gpg\test.txt.gpg" --encrypt "c:\gpg\test.txt"

I get the following error message:
"gpg: can't open `c:\\gpg\\test.txt': No such file or directory
gpg: c:\\gpg\\test.txt: encryption failed: No such file or directory"

Not sure what to make of it. The file does exist in the c:\gpg\ location.


This site is hosted by Intevation GmbH