I need a solution
I get an error message, when encrypting a file:
pgp --encrypt$filename--recipient$recipient--signer$signer--passphrase$passphrase--debug
0x.......:encrypt (3064: key invalid)
pgp:encrypt (3157:current local time 2017-08-22T11:53:25+10:00) C:\PGP\pubring.pkr:open keyrings (1006:public keyring) C:\PGP\secring.skr:open keyrings (1007:private keyring) unhandled event 1 Checking signatures... 100% unhandled event 2 done 0xABC444E0:encrypt (3064:key invalid) 0xABC444E0:encrypt (1030:key added to recipient list) unhandled event 1 Checking signatures... 100% unhandled event 2 done Encoding .\out\sample.txt... .\out\sample.txt:encrypt (3048:data encrypted with cipher TripleDES) Encoding .\out\sample.txt... 100% (⸥昱猥) Encode complete .\out\sample.txt:encrypt (0:output file .\out\sample.txt.pgp
Output file created .pgp
Recipient can decrypt the file.
I have Read the Following Document:
https://origin-symwisedownload.symantec.com/resour...
Page 283, Frequently Asked Questions > "Invalid" Keys
1. I have imported Recipient Public Key
pgp --import recipient.asc
.\recipient.asc:import key (0:key imported as 0xABC444E0 recipients@email.com)
2. Sign the Recipient Public Key
pgp --sign-key recipient@email.com --signer 0xABC444E0 --sign-type exportable --passphrase ABCDEF
0xABC444E0:sign key (0:certified user ID recipient@email.com)
Windows Server 2012 R2 PGP Command Line 10.4.1 build 41 Copyright (C) 2016 Symantec Corporation. All rights reserved. All rights reserved. Use of this product is subject to license terms. This Symantec product may contain open source and other third party materials that are subject to a separate license. Please see the applicable Third Party Notice at http://www.symantec.com/about/profile/policies/eulas/.
0