Endpoint Encryption

 View Only
  • 1.  PGP Command Line: Encrypt Error :3064 Invalid Key

    Posted Aug 12, 2015 02:01 PM

    Hi Team,

    I'm encripting a file with a shared public key, but when I encrypt I have Error 3064 Key Invalid.

    C:\pgp --encrypt testFile.txt --recipient 0xB9548AA8
    0xB9548AA8:encrypt (3064:key invalid)
    testFile.txt:encrypt (0:output file testFile.txt.pgp)

    So, the file is encrypted but that error is displaying, Why is showing the error?



  • 2.  RE: PGP Command Line: Encrypt Error :3064 Invalid Key

    Posted Aug 13, 2015 12:23 PM

    The key needs to be signed by you and verified to be a "valid" key.  It will still encrypt to that key, but the 3064 error is a warning that you have not validated the key's source by signing and verifying it.  See the following article for more information:
    https://support.symantec.com/en_US/article.TECH168729.html



  • 3.  RE: PGP Command Line: Encrypt Error :3064 Invalid Key

    Posted Aug 13, 2015 01:42 PM

    Ok thanks Mike,

    So, I need to sign the key with these commands:

    pgp --sign-key <user> --signer <signer> --sig-type <type> --passphrase <pass> 

    But I have some doubts:

    - In my case the <user> can be the KeyID? :0xB9548AA8

    - The <signer> will be again the KeyID or the UserId of the public key?

    - Finally, I don't have the passphrase of the private key to sign the public key. How can I do without a passphrase to sign the key?