Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Reference Manual for GoldED 2.51 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

                         Using PGP as an External Utility


     This  chapter  describes  how  to  can  install  PGP as an external
     utility in the  GoldED setup. The  examples assume that  PGP 2.3 or
     higher is installed in the directory C:\PGP.


     Add the following to your GOLDED.CFG:

        --- Cut ---
        EXTERNUTIL 1 -nokeepctrl -wipe c:\pgp\pgp.exe +force -sa @tmpfile -u
                     "@oname" -o @file
        EXTERNUTIL 2 -nokeepctrl -wipe c:\pgp\pgp.exe +force -sta
                     +clearsig=on @tmpfile -u "@oname" -o @file
        EXTERNUTIL 3 -nokeepctrl -wipe c:\pgp\pgp.exe +force -ea @tmpfile
                     "@dname" "@oname" -u "@oname" -o @file
        EXTERNUTIL 4 -nokeepctrl -wipe c:\pgp\pgp.exe +force -eas @tmpfile
                     "@dname" "@oname" -u "@oname" -o @file
        EXTERNUTIL 5 -nokeepctrl -wipe c:\pgp\pgp.exe +force @tmpfile -o
                      @file -u "@dname"
        EXTERNUTIL 6 -noreload c:\pgp\pgp.exe +force -ka @file -u "@dname"
        EDITSAVEMENU Yes
        EDITSAVEUTIL 1 "S PGP Sign the msg"
        EDITSAVEUTIL 2 "l PGP Clear-Sign the msg"
        EDITSAVEUTIL 3 "E PGP Encrypt the msg"
        EDITSAVEUTIL 4 "p PGP Encrypt & Sign the msg"
        EXTERNOPTIONS -Pause
        --- Cut ---

     NOTE: Some of the configuration lines were split in two due to  the
     document margin. They must of course  be on one line in the  actual
     GOLDED.CFG.


     Add the following to your GOLDKEYS.CFG:

        --- Cut ---
        F11   ExternUtil03    ; F11       -> Encrypt message
        F12   ExternUtil05    ; F12       -> Decrypt message
        #F12  ExternUtil06    ; Shift-F12 -> Add public key to keyring
        --- Cut ---

     You need  to have  KEYBEXT Yes  (the default)  in GOLDED.CFG if you
     want to use the F11/F12 keys. You can of course assign other  keys,
     just make sure they don't clash with already defined keys.

     The PGP commandlines  are set up  for multiple recipients,  the TO:
     name and your own  FROM: name. Otherwise you  would not be able  to
     decrypt your own msgs, and that could get a bit unpractical ;-)

     HOW TO USE IT:

     To sign, clearsign or encrypt a msg, simply select the  appropriate
     menu item in the save menu. Another method is described below.

     To decrypt an encrypted msg, Press F12 while viewing the msg in the
     reader. After decryption,  you can write  the msg to  disk/printer,
     reply to it, copy it, etc.  The decrypted text will revert as  soon
     as you move away from the  msg, or after you perform any  operation
     on  it.  To  make  a  decrypted  msg  permanent  (saved  to disk in
     decrypted form), use  the Change Msg  command after decryption  and
     then save the msg immediately, or use the copy function if you want
     to keep the original untouched..

     One thing to be aware of,  is that the encrypted msg text  does NOT
     contain kludges if it was  encrypted from the EDITSAVEMENU. If  you
     make such a text permanent, you would loose the kludges.  Currently
     the only way to keep kludges in the encrypted text is to encrypt it
     "manually"  after   saving  it,   using  F11,   Change  Msg,   save
     immediately. If  you do  it this  way, you  should be  careful in a
     multitask/network environment, where a mail scanner could scan  out
     the unencrypted msg before you get a chance to encrypt it... I plan
     to fix this problem in a future release.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson