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.

212 lines
9.0 KiB

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