home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09964.iso / encrypt / passphra.zip / readme.txt < prev   
Text File  |  1996-09-23  |  10KB  |  212 lines

  1.          PassPhrase Setter v 1.0 is (c) 1996 by Steven A Davis
  2.  
  3.  
  4. If you find this program useful please slip a US dollar bill in an
  5. envelope and send it to me at:
  6.  
  7. Steven A Davis
  8. 214 N Maple
  9. Sturgis, MI 49091
  10.  
  11. email: sda19@net-link.net
  12. web page: http://www.net-link.net/~sda19
  13.  
  14. If you don't live in the States then please send me a bill that is roughly
  15. equivalent to a US dollar, I can use it as a bookmark. :) 
  16.  
  17. *********************************************************************
  18. Legalese:  This product carries no warranty or guarantee of any kind 
  19. expressed or implied.  It isn't my fault or the programs fault if 
  20. any harm comes to you, your equipment, your family, house, possessions 
  21. pets, relatives or any hairs on your chinny-chin-chin.  If any information 
  22. is lost stolen or leaked because of use of this program that's just 
  23. too dang bad.
  24.  
  25. So NYAAA! :)
  26. *********************************************************************
  27.  
  28. This is a quickie VB4 project I put together in an afternoon. The
  29. README file took longer to write than the app did!
  30. What is does is set the PGP Passphrase into the master environment
  31. so that you don't have to type in the passphrase every time you use
  32. PGP to sign or decrypt a message. Run it once and you're good for
  33. THAT entire Windows 95 session.  If you reboot and you must enter the
  34. passphrase again - there ain't no free lunches.
  35.  
  36. Why use this program? Because setting the PGPPASS variable in the
  37. config.sys or autoexec.bat is an open invitation to someone swiping 
  38. it, anyone with an ounce of sense can look at the files
  39. and see your passphrase in plain text right there in front of
  40. God and everybody. Using PassPhrase eliminates THAT risk but does 
  41. require you manually type in the passphrase once per session - a wee
  42. bit easier than typing it in every time you use PGP.
  43.  
  44. *********************************************************************
  45.  
  46. What's required:
  47.  
  48. Windows 95 - Duh!
  49.  
  50. PassPhrase.exe - that's this program
  51.  
  52. WinSet.exe - this is a little program provided with Win 95 on the 
  53.        distribution CD ROM in here: \ADMIN\APPTOOLS\ENVVARS\WINSET.EXE 
  54.        Winset sets VARIABLES to the MASTER environment. I guess MS
  55.        gives it away in a package called ENVAR.EXE over the Internet 
  56.        too. 
  57.  
  58. VB40032.exe - This is the VB4 runtime module that you need to run
  59.        ANY VB4 application.  Get it at the MS web site.
  60.        You need only install this ONCE and it puts the needed
  61.        VB4 files on your system for any and all VB4 apps, I do not 
  62.        include them because they are huge and you might already have 
  63.        them. Look at the MS site or nearly any shareware site.
  64.  
  65. PGP -  Not really necessary but what good is this applet if you don't 
  66.        have PGP? :)
  67.  
  68.        US residents can get PGP at:
  69.        http://web.mit.edu/network/pgp.html
  70.  
  71.        None US residents will have to search the web for it.
  72. *********************************************************************
  73.  
  74. How to install:
  75.        Put PassPhrase.exe in any directory anywhere on your hard disk.  
  76.        Make a shortcut to it and that's it.  WINSET.EXE must be on the
  77.        PATH somewhere, I'd put it in the \windows directory if I were 
  78.        you, find it on the CD ROM the \ADMIN\APPTOOLS\ENVVARS\ dir or
  79.        go to the MS web site, I believe it's called ENVAR.EXE there.
  80.  
  81. *********************************************************************
  82.  
  83. How to use PassPhrase.exe:
  84.  
  85.        Simply run PassPhrase, type in your passphrase and click
  86.        the SET IT NOW button. PassPhrase sets the phrase using 
  87.        Winset into the MASTER DOS environment, when PGP is run it will
  88.        sense the PGPPASS= variable and not ask you for it.  By setting
  89.        the MASTER environment it is available globally to any DOS
  90.        session running PGP, including those run by PGP "shells" that
  91.        you don't see running.
  92.  
  93.        FORGET PASSPHRASE - wipes the phrase from the environment
  94.  
  95.        DON'T SHOW PASSPHRASE WHILE TYPING - toggles between showing
  96.        and not showing the passphrase  in plain text- If you type real bad you might
  97.        want to click this every time. Default is ALWAYS set to DON'T.
  98.  
  99.        ERASE PASSPHRASE - just a handy button to erase the text in the 
  100.        box, it doesn't set or forget anything, just use it to erase
  101.        the text if you suspect you goofed your typing job up.
  102.  
  103.        ABOUT - just an ad.
  104.  
  105.        CANCEL - what it says.
  106.  
  107. *********************************************************************
  108.  
  109. Understanding the MASTER environment:
  110.  
  111.        When PassPhrase is started and your passphrase is set, any DOS
  112.        session ALREADY running will NOT be updated - that's because
  113.        that session gets a copy of the MASTER environment only when 
  114.        the secondary command processor (command.com) starts.  You can 
  115.        check the function of PassPhrase by starting a windowed DOS 
  116.        session and typing SET at the command line. Note that unless 
  117.        you already SET the PGPPASS variable in the config.sys / 
  118.        autoexec.bat or with PassPhrase there should be NO listing for 
  119.        PGPPASS in the variables shown. Exit THAT DOS session and run 
  120.        PassPhrase and set the phrase, then start ANOTHER DOS session. 
  121.        Type SET and you will now notice that one of the variables shown
  122.        will be your PGP pass phrase (or whatever goofy text you typed in)
  123.        in back of the word PGPPASS=.
  124.  
  125.        You can click the FORGET PASSPHRASE  button on PassPhrase and it
  126.        effectively wipes out the variable, neat huh?
  127.  
  128. *********************************************************************
  129.  
  130. Security issues:
  131.  
  132.        After all that's what PGP is all about isn't it? PassPhrase does
  133.        NOT store your passphrase anywhere on disk or internally to itself,
  134.        it merely sets the environmental variable and exits.  There is 
  135.        some risk though.  Windows is notorious for writing things in 
  136.        the swap file or tmp files, while nothing about PassPhrase does 
  137.        this in and of itself, Windows might take a hankering to write 
  138.        down this juicy bit of info somewhere.  To combat this (which may
  139.        very well be a risk using ANY PGP Windows shell), you need to 
  140.        either use an Empty Cluster disk wiper or Swap File wiper, there
  141.        are tons to choose from and I'll leave it up to you as to which 
  142.        to choose.  I use ZAPUTILS, you'll have to look around the 
  143.        Internet for it. The risk is slight and typically is not much
  144.        of a threat but you have to decide what level of risk to accept.
  145.  
  146.        PassPhrase does NOT display your passphrase in plain text - asterisks
  147.        are shown, unless you click the SHOW button.  You can check the 
  148.        passphrase by running a DOS session and typing SET and seeing what
  149.        it says.
  150.  
  151.        Remember when leaving your running PC unattended for a while to WIPE 
  152.        your passphrase by clicking the FORGET PASSPHRASE button, but remember
  153.        the swap file issue and the fact that ANY DOS session started AFTER
  154.        setting your passphrase and left running even after clicking FORGET
  155.        PASSPHRASE still has the variable set in it. So if you saunter 
  156.        away and some evil spy lurks up and types SET in that still running 
  157.        DOS session, you're sunk. Also some PGP SHELL apps might KEEP the
  158.        variable if left running, even with the DOS variable wiped.
  159.        If you are THAT concerned over security, exit Win 95 and restart 
  160.        the PC when you step away, either that or tie a Doberman to the 
  161.        keyboard :)
  162.  
  163. *********************************************************************
  164.  
  165.  Potential problems:
  166.  
  167.        You might not have enough environmental area.  This is a DOS
  168.        problem and shouldn't really crop up to often. It might if you 
  169.        use like a 500 letter passphrase.  If some error
  170.        pops up saying OUT OF ENVORONMENT or it plain don't work try
  171.        boosting the environmental areas size.  Do this in the config.sys
  172.        with a line something like:
  173.  
  174.        shell=c:\command.com c:\ e:### /p
  175.  
  176.        Don't put the line in if it's already there!
  177.        The ### is some number, try 512 if no number is present, if it
  178.        still doesn't work try 768, 1024 or 2048.  Note that the DOS 7.0 
  179.        version of command.com (the one that comes with Win 95) needs to
  180.        be in whatever directory you point to with the shell= statement.
  181.  
  182.        Your Windows shell might not accept the PGPPASS variable.  I 
  183.        tested this with PGPClick (which is a GREAT shell) and Aegis Shell
  184.        and it worked fine, maybe your shell doesn't accept it, I can't 
  185.        do anything about that, just use one that does. Or maybe you
  186.        have to TELL the shell to use the variable with some setting 
  187.        somewhere on it's menus, like they say RTFM.
  188.        
  189.        No winset.exe available.  Beg borrow or steal one.  It's on the
  190.        Win 95 upgrade CD ROM, I don't know about diskettes (the 3.5"
  191.        disk install of Win 95 sucks anyway, get a CD ROM :) ) I guess they
  192.        have it at the MS website too, I think it's called ENVAR.EXE 
  193.        there.
  194.  
  195.        If you don't use some sort of Windows unZipper the long file 
  196.        name on PassPhrase.exe may be truncated, no sweat, just use
  197.        Explorer or File manager to rename it to PassPhrase.exe.
  198.  
  199. *********************************************************************
  200.  
  201. You may not think this app is worth even a dollar, well maybe it
  202. isn't so don't fret about it. If you like it you can show your appreciation
  203. by sending a dollar to me. No bombs, timers or anything to nag you,
  204. just your  guilty conscience about a poor starving guy here hunched over 
  205. his keyboard worrying about where his next meal is coming from  and 
  206. checks the mail daily just waiting to hear from you and sent that ONE 
  207. LOUSY STINKING GREENBACK THAT YOU'LL NEVER EVEN MISS to him. But don't 
  208. let all that sway your decision. Nope, keep your lousy old money. :)
  209.  
  210. At least visit my web page and send me email you tight wad ! :)
  211.  
  212.