截屏视频帮助
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Decrypt output for PGP Command Line v 10.1

创建时间: 12 7 月 2011 • Updated: 08 11 月 2011 | 1 条评论
此问题已解决。 请查看解决方案。

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

讨论 归类至以下社区:

评论 1 Comment跳转至最新评论

dfinkelstein 的图片

(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?

--------

David Finkelstein

Symantec R&D

解决方案