Hardware authentication for Linux using ordinary USB Flash Drives.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

195 lines
8.3 KiB

17 years ago
17 years ago
17 years ago
17 years ago
  1. * 0.4.2
  2. - Added the pad_expiration option which tells pam_usb how often pads
  3. should be updated in order to reduce device writing.
  4. - Support for time options in the configuration parser (5s, 2h, 10m, etc)
  5. - Added the --verbose option to pamusb-conf
  6. - Fixed the ElementTree import statement of pamusb-agent to work with
  7. Python 2.5. Thanks to Donald Hayward <liquidsunshine@gmail.com> for
  8. the patch.
  9. * 0.4.1
  10. - Fixed a security issue related to OpenSSH authentication
  11. - Fixed the quiet option (now it is really quiet)
  12. - Support for devices without vendor/model information
  13. * 0.4.0
  14. - Both pam_usb and its tools (adm, hotplug) have been redesigned from the
  15. ground up and rewritten from scratch.
  16. - Hardware recognition is now done through HAL which provides a stable
  17. interface over kernel changes.
  18. - Certificates have been replaced by one time pads. That will prevent
  19. copies of the USB device to be used for authentication.
  20. - Device's manufacturer properties verification. pam_usb now verifies
  21. device informations (vendor, product, serial number, UUID) in the
  22. authentication process.
  23. - Configuration is now handled in a central place, the pamusb.conf
  24. configuration file. This XML file contains configuration entries for
  25. users, devices and services.
  26. - pamusb-agent (formely usbhotplug) make use of DBUS signals (sent by HAL)
  27. instead of kernel hotplugging. Also, its configuration has been merged
  28. into the pamusb.conf configuration file.
  29. - A new tool named pamusb-check has been added. It can perform authentication
  30. the way the PAM module does. It can be useful for testing and scripting
  31. purposes.
  32. * 0.3.3
  33. - The option keypath is now splitted into local_keypath and device_keypath.
  34. - Fixed a bug that occurred when the TTY entry was empty.
  35. - pam_usb doesn't get anymore the tty name from PAM_TTY as it used to be
  36. empty on some systems.
  37. - Better defaults. The default options have been set to fit most needs,
  38. you are no longer required to use !check_device on 2.6.
  39. - Verbose mode. By default, pam_usb now prints some informations during
  40. the login process (access granted, the reason why access was refused, etc).
  41. This can be turned off using the brand new 'quiet' option.
  42. - Other small fixes.
  43. * 0.3.2
  44. - Now pam_usb will also try to autodetect /dev/sdN devices (not just
  45. /dev/sdNX).
  46. - Fixed a bug that happened when the application using PAM didn't set
  47. PAM_TTY correctly.
  48. - Added the use_first_pass and try_first_pass options.
  49. Now if you enter your password on another PAM module (such as pam_mount
  50. or pam_ssh), pam_usb will use that password to decrypt the private key.
  51. * 0.3.1
  52. - Lot of misc fixes (memory management, Makefiles, sanity checks, etc).
  53. I'd like to thank the PaX Team <pageexec@freemail.hu> who did almost
  54. the whole job.
  55. - Added the hostname option which allows to select what hostname should
  56. be used for authentication (useful for shared public keys over lan).
  57. Thanks to Nicolas Chauvat <chauvat@nerim.net> who reported the issue,
  58. the idea and the patch for this feature.
  59. * 0.3.0
  60. - Not much changes in this version beside a gcc fix, but the 0.2 branch
  61. reached too many new features so i wanted to name this release 0.3.0
  62. as i should have done with 0.2.3
  63. - Fixed a gcc 3.3 compile issue, and all related warning.
  64. I would like to thank the following guys for having reported this bug so fast:
  65. Lalande Fabrice <fabrice.lalande@orange.fr>
  66. Marco <gaedol@softhome.net>
  67. Neil Dunbar <neil.dunbar@hp.com>
  68. * 0.2.3
  69. - Added the usbhotplug tool.
  70. usbhotplug is a hotplug agent that will automagically start a lock handler
  71. when the usb device is removed and an unlock handler when the usb device
  72. is plugged back in and authenticated through pam_usb.
  73. The default handlers will start xlock when the usb device is removed,
  74. and will kill it when the usb device is plugged back in and authenticated.
  75. I'd like to thank Wout Mertens <wmertens@cisco.com> as we had a couple
  76. of discussions about hotplug which helped me implementing this tool.
  77. - The parser can now understand "option" and "!option" instead of
  78. option=1 and option=-1 (e.g. debug !check_device).
  79. Thanks to Jean-Christophe JASKULA <jean.christophe.jasku-la@wanadoo.fr> who
  80. suggested me that and provided an initial patch.
  81. - Fixed a loop bug on serial number checking. Thanks to Zs <horzsol@freemail.hu>
  82. for reporting the bug and a patch to fix it.
  83. - Added the direct_open option which allows to open the private key
  84. using O_DIRECT to avoid disk caching (works only on devices that
  85. supports it). Thanks to myles <myles@tenhand.com> who suggested me that.
  86. - Added some sanity checks here and there because it seems that the PAM
  87. API can return weird stuff from time to time.
  88. - Handling the mount point creation/remotion in a better way which seems
  89. to fix a couple of mntpoint problems.
  90. * 0.2.2
  91. - Added the keep_mounted option, which allows to not umount the mount point
  92. once logged (useful if the gpg/ssh key is stored on there)
  93. - Fixed the mntpoint option: do not delete the directory if it's not a
  94. temporary one.
  95. - Added the support to pass multiple filesystems name with the fs=
  96. option (comma separated list). Changed the default fs to "ext2,vfat"
  97. - Added the log_file option. Takes a filename as a argument.
  98. Combined with debug=1 it can log debug messages to a file.
  99. - Not mounting the device as read-only anymore. Instead, the mount_opts
  100. option has been created. It accepts a comma separated list of mount
  101. options (accepted options are: ro,bind,sync,remount,nosuid,noexec,nodev).
  102. - Fixed an issue which made the allow_remote feature not working correctly
  103. with gdm/kdm.
  104. - Introduced the local_hosts and local_consoles options. They contain a
  105. comma separated lists of hosts and consoles allowed to log in while using
  106. allow_remote=-1
  107. * 0.2.1
  108. - Changed the naming method from x.y to x.y.z
  109. - pam_usb is now able to distinguish local users from remote (as in
  110. logged via ssh), and denies the authentication of non-local users.
  111. Setting allow_remote to 1 disable this feature.
  112. - Mounting is now done in read-only.
  113. - Added the missing mandatory PAM functions.
  114. * 0.2_rc2
  115. - Workaround to make pam_usb not use /proc so it can run on Linux 2.6
  116. By setting check_device to -1, pam_usb will neither check the device's
  117. serial number, nor if it's attached. It's not a real problem if you
  118. don't need serial number checking, but don't combine it with
  119. check_if_mounted.
  120. - Added the force_device capability. Now you can specify a device that
  121. will be mounted without going in guessing mode. If the device cannot
  122. be mounted, it'll switch back to the default guess mode.
  123. Useful if guess mode fails, if you don't want it to try several
  124. devices before getting the right one (so you can login faster), or if
  125. you want to login using a floppy disk, a cdrom or whatever you want.
  126. - Modified the serial number authentication method so now if no serial
  127. numbers are avaible on a device, it will try to use the GUID.
  128. Thanks to Damien Braillard <damien.b@freesurf.ch> who reported the
  129. issue, suggested a way to fix it, and provided a first patch for it.
  130. * 0.2_rc1
  131. - Radically changed the way pam_usb authenticates the user on the
  132. system. Now it works with a pair of DSA keys.
  133. Thanks to Wout Mertens <wmertens@cisco.com> who told me that i could
  134. use a couple of SSH keys to fix the authentication issue.
  135. That gave me the idea to use a set of private/public keys.
  136. Thanks to Ilkka Mattila <ilkka@lyseo.edu.ouka.fi> who helped me to
  137. find out a better way to implement the key challenge: extracting the
  138. public key was inadequate.
  139. Also thanks to those who brought up weird scenarios and/or tested
  140. pre-releases of pam_usb, in alphabetical order:
  141. Ilkka Mattila <ilkka@lyseo.edu.ouka.fi>
  142. Joonas Kortesalmi
  143. Thomas Stewart <thomas@stewarts.org.uk>
  144. Tuure Laurinolli <tuure@laurinolli.net>
  145. * 0.1:
  146. - Now pam_usb doesn't require a mount point. Instead, it creates
  147. a temporary directory under /tmp.
  148. Thanks to Loic Jaquemet <jaquemet@fiifo.u-psud.fr> who gave me the idea.
  149. - Compiles with gcc 2.95 thanks to Tobias Bayer <tobi.bayer@gmx.de> bug
  150. report.
  151. * 0.1-beta2:
  152. - procfile and device entries autodetection have been fixed thanks to
  153. Thomas Stewart <thomas@stewarts.org.uk> bug reports.
  154. - devfs support added. Thanks to Loic Jaquemet <jaquemet@fiifo.u-psud.fr>
  155. for the bug report.
  156. * 0.1-beta1:
  157. - Initial release