Endpoint Encryption

 View Only
  • 1.  pgp:encrypt (3090:operation failed, file operation error)

    Posted Jan 29, 2016 11:06 AM

    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



  • 2.  RE: pgp:encrypt (3090:operation failed, file operation error)

    Posted Jan 29, 2016 11:41 AM

    By default, PGP Keyrings are created in a user's profile under My Documents.  When logged into that profile, the system knows where to look.  When the system itself runs the command, it does not have a My Documents folder or a PGP Home directory.  Try this article:
    https://support.symantec.com/en_US/article.TECH149020.html