Quantcast
Channel: Symantec Connect - Products - Discussions
Viewing all articles
Browse latest Browse all 216

pgp:encrypt (3090:operation failed, file operation error)

$
0
0
I need a solution

Hi,

I unable to create pgp file from windows service or job. Below I mentioned more details and steps what I did in the service/job.

Machine-1(PC):
pgp --gen-key "MyPublicID" --key-type RSA --bits 2048 --passphrase "mypass$283@3" (public key is generated based, i can see in the "pgp --list-keys")
pgp --export "MyPublicID" (Now I got the MyPublicID.asc file)

Machine-2(PC):
pgp --import "E:\MyDir\MyPublicID.asc" (From windows serivce/job, I import the public key which I was created on the Machine-1)
pgp -er MyPublicID "E:\TextFile\*.txt" -o "E:\PgpFile\EncryptFile_2016-01-28.pgp" (After importing, I try to create encrypted pgp file using the public key which I imported)

Windows service/job received an error "encrypt (3064:key invalid) pgp:encrypt (3090:operation failed, file operation error)", not creating pgp file.

Note: If we execute above mentioned same command manually(not as windows service/job), we can able to create pgp file.

Please help us, how to resolve this issue and create .pgp file from windows service/job.

Thanks

0

Viewing all articles
Browse latest Browse all 216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>