Endpoint Encryption

 View Only
  • 1.  pgp:decrypt (3090:operation failed, unknown error)

    Posted May 09, 2014 03:25 PM

    I did migrate pgpcmdln-9.9 to pgpcmdln-10.3.2. I am able to encrypt the file with no issue. While decrypting a file i get "3090:operation failed" error but it does decrypt a file.  Any idea what is causing this issue? Thanks in advance. 

     

    pgp:decrypt (3157:current local time 2014-05-09T14:16:56-05:00)
    mytest.asc.14.05.02_23.37:decrypt (3037:cannot verify signature)
    mytest.asc.14.05.02_23.37:decrypt (3039:signing key 0xXXXXX)
    Decoding file mytest.asc.14.05.02_23.37... 100% (3.3KB)
    mytest.asc.14.05.02_23.37:decrypt (0:output file ES8050)
    pgp:decrypt (3090:operation failed, unknown error)

     

    Thanks,

     

     



  • 2.  RE: pgp:decrypt (3090:operation failed, unknown error)

    Broadcom Employee
    Posted May 12, 2014 08:17 AM

    Hi Khagendra,

    Can you post the encrypt/decrypt commands that you are using?
    Do you ran both commands in the same machine?
    (please replace sensitive information, but keep the structure)

    Rgs,
    dcats



  • 3.  RE: pgp:decrypt (3090:operation failed, unknown error)

    Posted May 12, 2014 01:25 PM

    Hi dcats,

    File encryption happens on different machine and get uploaded those files to my machine.I run only decrypt on my machine. 

    [oracle@host01 ~]$ pgp --decrypt ESS238TJ.SR608050.asc.14.05.02_23.30 --passphrase PASSPHRASE --verbose
    pgp:decrypt (3157:current local time 2014-05-12T12:14:06-05:00)
    /home/oracle/.pgp/pubring.pkr:open keyrings (1006:public keyring)
    /home/oracle/.pgp/secring.skr:open keyrings (1007:private keyring)
    ESS238TJ.SR608050.asc.14.05.02_23.30:decrypt (3188:Version, McAfee E-Business Server v8.6.0 - Full License)
    ESS238TJ.SR608050.asc.14.05.02_23.30:decrypt (3037:cannot verify signature)
    ESS238TJ.SR608050.asc.14.05.02_23.30:decrypt (3039:signing key 0xXXXXX)
    Decoding file ESS238TJ.SR608050.asc.14.05.02_23.30... 100% (3.8KB)
    ESS238TJ.SR608050.asc.14.05.02_23.30:decrypt (0:output file ESS238TJ.SR608050)
    pgp:decrypt (3090:operation failed, unknown error)
    [oracle@host01 ~]$

     

    Thanks,

    Khagendra

     

     



  • 4.  RE: pgp:decrypt (3090:operation failed, unknown error)

    Posted May 12, 2014 03:27 PM

    FYI,

    We encrypt the files and upload those files to Vendor's repository. Similar way, vendor's also encrypts the files and upload those to our repository.

    The same  encrypted file we can decrypt without Error message "pgp:decrypt (3090:operation failed, unknown error)" in pgpcmdln-9.9. 

     



  • 5.  RE: pgp:decrypt (3090:operation failed, unknown error)
    Best Answer

    Posted May 13, 2014 04:58 PM

    The --decrypt operation should be decrypting the file and verifying the signature.  Since the other output is showing that it cannot verify the key used for the signature, I would expect that the verification would fail, which may be the cause of the error code.  I believe in older versions we did not include an error code at that particular spot for failed verification.  The 3037 line shows that the signature is not verified, but it was not actually showing as an error anywhere.

    If you import the public key of the keypair used to sign the files, and use your key to sign that key, it should cause the error message to stop appearing.

    Try importing and signing that key (3039:signing key 0xXXXXX), and let me know the results.



  • 6.  RE: pgp:decrypt (3090:operation failed, unknown error)

    Posted May 13, 2014 05:50 PM

    Thank you, Mike. Sure, once I import and signing that key, will let you know.