Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Robert Jones
2021-05-05T18:59:59Z
I am trying to create my first job in Visual Cron, which is simply decrypting a file. There are a few complications however, and I am not sure how to address them.
First, the file being sent to me is signed with my public key, and it requires a passphrase. I have tried using my passphrase in the PGP Decrypt Password field, but the decryption doesn't happen.
If I decrypt the file with GnuPG it gives me a warning that it lacks integrity protection, I can get around this with the --ignore-mdc-error option or by clicking through in the GUI, but I see no way in the PGP Decrypt task to ignore such a warning if it is causing a problem.
When I test my task it fails with 7777, but no details that I can see.
Any advice would be appreciated!
Thanks,
Bob
Sponsor
Forum information
Robert Jones
2021-05-05T19:11:21Z
I turned on extended logging and found the log file - it's telling me:
PGP File decryption error: The process cannot access the file 'C:\xxxxx\xxxxxxxxxxx.PGP' because it is being used by another process
The process can certainly see the files in that folder, and there are no other processes accessing that file I can see.
Robert Jones
2021-05-06T12:34:58Z
I set up another job to encrypt a file, which seems to work ok. However, if I then try to use my decrypt job to decrypt that file, it still fails. The error is:

PGP File decryption error: No appropriate OpenPGP secret key for decryption found

I feel like this is due to the fact that my private key has a passphrase, and I don't see a way to enter that. If anyone could confirm whether or not a passphrase protected key can work in VisualCron's built in decrypt, I'd appreciate it. Otherwise I guess I can call GnuPG or something.
Support
2021-05-14T12:13:01Z
Originally Posted by: Robert Jones 

I set up another job to encrypt a file, which seems to work ok. However, if I then try to use my decrypt job to decrypt that file, it still fails. The error is:

PGP File decryption error: No appropriate OpenPGP secret key for decryption found

I feel like this is due to the fact that my private key has a passphrase, and I don't see a way to enter that. If anyone could confirm whether or not a passphrase protected key can work in VisualCron's built in decrypt, I'd appreciate it. Otherwise I guess I can call GnuPG or something.



Hi Robert,

What version are you using? under the PGP decrypt task -> Decrypt , under the "Select key ring" there is a password field.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Robert Jones
2021-05-21T18:30:30Z
Hi Michael,
I am on 9.6.5, and I had tried the password field before but I must have had something else incorrect because I went through it all again and it now works. Thanks for your help!
Support
2021-05-28T13:28:29Z
Originally Posted by: Robert Jones 

Hi Michael,
I am on 9.6.5, and I had tried the password field before but I must have had something else incorrect because I went through it all again and it now works. Thanks for your help!



Great, thanks for updating us!
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top