home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / httpd / support / auth / ripem-enc.sh < prev   
Encoding:
Linux/UNIX/POSIX Shell Script  |  1995-05-09  |  922 b   |  26 lines

  1. #!/bin/sh
  2.  
  3. # Set this to the location of uuencode on your system. If your system doesn't
  4. # come with uuencode, use the one I have provided.
  5. UUENCODE=/bin/uuencode
  6. # Set this to the directory you are keeping your users' public keys in.
  7. # You should keep each user's public key in a file in this directory, and the
  8. # filename should be that user's entity name.
  9. KEYS=/X11/robm/httpd/support/auth/ripem-keys
  10. # Set this to your server's entity name
  11. # Be sure you place your server's public key into this user's .plan so that 
  12. # the clients can find it.
  13. PEMUSER=webmaster@hoohoo.ncsa.uiuc.edu
  14. # Set this to the location of your secret key
  15. SECKEY=/X11/robm/httpd/htauth/.key-private
  16. # Set this to the password to your secret key
  17. KEYPASS=mypassword
  18. # Set this to the location of your RIPEM executable
  19. RIPEMBIN=/usr/local/bin/ripem
  20.  
  21. $UUENCODE foo | $RIPEMBIN -e -h i -Y f -p $KEYS/"$*" -u $PEMUSER -s $SECKEY -k $KEYPASS -r $*
  22.  
  23.  
  24.  
  25.  
  26.