4.1. PGP GUI和CLI共存

  1. 设置PGP命令行的主目录(适用于WINDOWS和UNIX)

    PGP Command Line 6.5.8 for NT Freeware

    • PGPPATH

      The first time you start PGP, the software checks to see if the environment variable PGPPATH is defined. If PGPPATH is defined, the software puts the PGP preferences file, keyring files, pgp.cfg, and the randseed file in the %PGPPATH% directory.

    • USERPROFILE

      If PGPPATH is not defined, the software checks to see if the environment variable USERPROFILE is defined. If USERPROFILE is defined, the software puts the files in the %USERPROFILE%\Application Data\pgp directory.

      If USERPROFILE is not defined, the software puts the files in %SYSTEMROOT%\pgp.

      The randseed file is always placed in the %SYSTEMROOT% directory on Windows NT, and "%PGPPATH%/randseed.rnd" on UNIX.

  2. PGP图形界面的主目录

    PGPfreeware 7.0.3

    通过 Options-->Files, 重新设置各个项的位置,使和命令行版本保持同一。 上述两个版本的PGP配置文件结构相同。这样很方便实现两者的同步。

    [警告]

    本人仅在PGPfreeware 7.0.3和PGP Command Line 6.5.8做过试验,请自行斟酌。

    GPG配置文件和PGP不相同,切勿照此办理,后果自负。