File Share Encryption

 View Only
  • 1.  Decrypt output for PGP Command Line v 10.1

    Posted Jul 12, 2011 08:15 PM

    We migrated from PGP command line 6.5 to 10.1 but the process it create the decrypted file is different and causes issues to us.

     

    Command use for 6.5.2

    "v:\test\test.pgp"  -z phrase -o " v:\test\test.txt", on this version, the file created is test.$00 on the same directory and then file gets renamed to test.txt once decrytption is complete.

     

    Comand use for 10.1 build 52

    --decrypt "v:\test\test.pgp" --passphrase "phrase" --output " v:\test\test.txt" --overwrite remove, on this version it creates the file test.txt on the same directory and start appending records into it which causes problem to our other program.

    I was wondering if I'm missing something for the PGP command line to create the temp file to text.$00 first before renaming it to the expected output name once done decrypting



  • 2.  RE: Decrypt output for PGP Command Line v 10.1
    Best Answer

    Posted Jul 13, 2011 08:42 PM

    (Note you should ask questions about PGP Command Line in the PGP Command Line Forum)

    PGP Command Line will send output to a temporary file, and then re-name it to the actual output file name (or copy it, if the temporary file is on a different filesystem; in that case the temporary file is wiped).  The temporary file is created in the current directory; you can also specify the temp file location using the "--temp-dir" option.  The temporary file name is not fixed and is not something you can rely on (e.g. on Unix platforms we use mktemp()).

    What exactly is your other program trying to do with the output or the temporary file?