CRYPTO 1.2 KB

123456789101112131415161718192021222324252627282930
  1. CRYPTOGRAPHY SUPPORT IN SQUIRRELSPELL
  2. --------------------------------------
  3. Starting with version v0.3 SquirrelSpell is capable of working with encrypted
  4. user dictionaries. However, this option is only available when PHP
  5. is compiled with support for MCRYPT. This is relatively easy -- to enable
  6. MCRYPT support, follow instructions at:
  7. http://www.php.net/manual/en/ref.mcrypt.php
  8. NOTE: You will need libmcrypt version 2.4.x or above for SquirrelSpell
  9. to work.
  10. HOW IT'S DONE
  11. --------------
  12. SquirrelSpell encrypts the dictionary with the user's mailbox password,
  13. thus making the encryption/decryption process transparent to the user.
  14. The algorythm used for encryption is Blowfish, but you may manually override
  15. it in the code if you so wish.
  16. The only shortcoming this approach has -- when mailbox password is changed,
  17. SquirrelSpell asks the user to enter the old password in order to re-encrypt
  18. the file with the new key. If the user doesn't remember the password, then
  19. the file is lost, unless you want to brute-force it open.
  20. The encryption is off by default and users are warned about remembering
  21. their passwords before they enable encryption of their personal dictionary.
  22. I haven't tested the overhead. If anyone has any benchmarks -- you are
  23. welcome to share them.