From: Paul W. <no...@gi...> - 2021-05-08 12:35:29
|
Branch: refs/heads/master Home: https://github.com/OpenSC/pam_pkcs11 Commit: 160f778b7377989ac2ba7bf79a333b4b9343b01c https://github.com/OpenSC/pam_pkcs11/commit/160f778b7377989ac2ba7bf79a333b4b9343b01c Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix: Don't stuck if wait_for_card=false and ignore the token not found error when the auth isn't restricted to card only (either by option or by PKCS11_LOGIN_TOKEN_NAME env.var.) Commit: 9c5c284d37c4aca46caf4020ba8de695b5cc4812 https://github.com/OpenSC/pam_pkcs11/commit/9c5c284d37c4aca46caf4020ba8de695b5cc4812 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Allow to pass to the next module if the auth isn't restricted to card only. Commit: 740f9f9224654f16214b6e592a6a27c468541b70 https://github.com/OpenSC/pam_pkcs11/commit/740f9f9224654f16214b6e592a6a27c468541b70 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix: Make wait-for-card work when the user is not logged in Commit: 06deaf12dc7af576d0ad2f25eb22b0ea922ee1eb https://github.com/OpenSC/pam_pkcs11/commit/06deaf12dc7af576d0ad2f25eb22b0ea922ee1eb Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix: Return PAM_AUTH_ERR for login error Commit: bac6cf8e0b242e508e8b715e7f78d52f1227840a https://github.com/OpenSC/pam_pkcs11/commit/bac6cf8e0b242e508e8b715e7f78d52f1227840a Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fail if no token found only when it is strictly required 1. card_only = true AND PKCS11_LOGIN_TOKEN_NAME isn't set. 2. card_only = true AND wait_for_card = true This fixes/improves commit b08ec3b095d4fa143d046783cb010cc0f34f7c92. Commit: 871c14ccb15a8a9609c74b8beea416e614cab018 https://github.com/OpenSC/pam_pkcs11/commit/871c14ccb15a8a9609c74b8beea416e614cab018 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix the layout a little bit Commit: 4737602bb435a7e409d761d70068a573adfbca3e https://github.com/OpenSC/pam_pkcs11/commit/4737602bb435a7e409d761d70068a573adfbca3e Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix: Exit quietly only if card_only is false Commit: 0b4cd04aa4eec667a96488f2b52d59887f73abd6 https://github.com/OpenSC/pam_pkcs11/commit/0b4cd04aa4eec667a96488f2b52d59887f73abd6 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/common/pkcs11_lib.c Log Message: ----------- Fix: Do not return error when there are no slots Commit: a36cc8eebcea4d3af1373604a355e716bc6d4892 https://github.com/OpenSC/pam_pkcs11/commit/a36cc8eebcea4d3af1373604a355e716bc6d4892 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Output "no token" errors only when wait-for-card mode is off Commit: c211d7c3aff2a9f0d32c6a1fe85da6575d3078a9 https://github.com/OpenSC/pam_pkcs11/commit/c211d7c3aff2a9f0d32c6a1fe85da6575d3078a9 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-25 (Thu, 25 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fixed cleanup of the old password Commit: 0d8e62ca210822c0786b1aac8921079bb07c3812 https://github.com/OpenSC/pam_pkcs11/commit/0d8e62ca210822c0786b1aac8921079bb07c3812 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M po/pam_pkcs11.pot M po/ru.po M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix/improve: Write a message when the token authentication is cancelled Commit: 48d996c2be825e49e1dd8853105df8a4e43ebc4c https://github.com/OpenSC/pam_pkcs11/commit/48d996c2be825e49e1dd8853105df8a4e43ebc4c Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Improve more: Write a message when the token authentication is cancelled (no card case) Commit: 47cf884abaf0d7b276f545f4fadaa7660a8a345a https://github.com/OpenSC/pam_pkcs11/commit/47cf884abaf0d7b276f545f4fadaa7660a8a345a Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix/improve: Output the "no token" debug message even when `wait_for_card` is set Commit: 687d46c948861636fcf8742ecdc892ca8b5ca103 https://github.com/OpenSC/pam_pkcs11/commit/687d46c948861636fcf8742ecdc892ca8b5ca103 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M etc/Makefile.am A etc/system-auth-pkcs11_strict A etc/system-auth-use_first_pass-pkcs11_strict Log Message: ----------- Added the exmple PAM configuration which uses the ignore result The configuration allows users in the group "wheel" to login without token when "card_only=false". Commit: 6e7fa4e5a6b603d0243fcdf70eec35e2da636b5e https://github.com/OpenSC/pam_pkcs11/commit/6e7fa4e5a6b603d0243fcdf70eec35e2da636b5e Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M etc/Makefile.am A etc/pam.d_ignore_no_card.example R etc/system-auth-pkcs11_strict R etc/system-auth-use_first_pass-pkcs11_strict Log Message: ----------- Rename "pkcs11_strict" PAM config to "ignore_no_card" and install it in the docs as an example Commit: 0a584aa35d2ef2b24f2d66a3310f317141ff6158 https://github.com/OpenSC/pam_pkcs11/commit/0a584aa35d2ef2b24f2d66a3310f317141ff6158 Author: Alexey I. Froloff <ra...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M etc/pam_pkcs11.conf.example.in Log Message: ----------- Add card_only and wait_for_card to example config. Commit: a29458a003e4c5a1d1750ca76a8bec909ba61805 https://github.com/OpenSC/pam_pkcs11/commit/a29458a003e4c5a1d1750ca76a8bec909ba61805 Author: Alexey I. Froloff <ra...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M etc/pam_pkcs11.conf.example.in Log Message: ----------- Add screen_savers to example config Commit: 5ae650be9e2696e8c3f4d46f0b9fb57de8e301a0 https://github.com/OpenSC/pam_pkcs11/commit/5ae650be9e2696e8c3f4d46f0b9fb57de8e301a0 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Use the single fail exit point Commit: 9e1d01f9c9a1e881c5ae902593de739c6a7af441 https://github.com/OpenSC/pam_pkcs11/commit/9e1d01f9c9a1e881c5ae902593de739c6a7af441 Author: Paul Wolneykien <ma...@al...> Date: 2021-03-26 (Fri, 26 Mar 2021) Changed paths: M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Fix: Cast the &user pointer for pam_get_item() Commit: 3cf947e1b5bd0b5c60b9a52b1cefea059f3f4fc1 https://github.com/OpenSC/pam_pkcs11/commit/3cf947e1b5bd0b5c60b9a52b1cefea059f3f4fc1 Author: Paul Wolneykien <wol...@gm...> Date: 2021-05-08 (Sat, 08 May 2021) Changed paths: M etc/Makefile.am A etc/pam.d_ignore_no_card.example M etc/pam_pkcs11.conf.example.in M po/pam_pkcs11.pot M po/ru.po M src/common/pkcs11_lib.c M src/pam_pkcs11/pam_pkcs11.c Log Message: ----------- Merge pull request #54 from wolneykien/devel/ignore-no-card Merged the `ignore-no-card` patch. Compare: https://github.com/OpenSC/pam_pkcs11/compare/240e2eb67553...3cf947e1b5bd |