Endpoint Encryption

 View Only
  • 1.  Syntax for pgp --encrypt --sign

    Posted Oct 07, 2015 06:32 PM

    Hi,

    We use pgp command line v10.0.

    The bank we deal with would need to validate signature when receiving our encryted file (e.g. test1.txt.pgp).

    The file is rejected with message "Reason Description: The file was received without signature."

    how do I to add signature when performing pgp --encrypt ?  (if you have samples)

    the command I used:

    pgp --encrypt "E:\temp\test1.txt" --recipient "Wells Fargo - PGP"  --home-dir "C:\Program Files\PGP Corporation\PGP Command Line"

     

    please help,

    thanks,

    -Gene

     



  • 2.  RE: Syntax for pgp --encrypt --sign
    Best Answer

    Posted Oct 07, 2015 06:49 PM

    Example:
    pgp --encrypt "E:\temp\test1.txt" --recipient "Wells Fargo - PGP"  --home-dir "C:\Program Files\PGP Corporation\PGP Command Line" --sign --signer "YourKeyNameOrKeyID" --passphrase "YourPassphrase"

    You can also combine --encrypt and --sign flags into one command, -es (only one dash for shorthand commands):
    pgp -es "E:\temp\test1.txt" --recipient "Wells Fargo - PGP"  --home-dir "C:\Program Files\PGP Corporation\PGP Command Line" --signer "YourKeyNameOrKeyID" --passphrase "YourPassphrase"

    Let me know if this helps.  They will also need a copy of your public key to verify the signature.  You can also omit the --signer flag if you are using your default keypair for signing.  --passphrase is still required.