Group :: System/Base
RPM: pam_pkcs11
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
7 april 2022 Paul Wolneykien <manowar at altlinux.org> 0.6.12.1-alt1
- Updated version: upstream commit 4efa29f with fixed LGTM.com errors
and spelling in configuration files and docs. - Bring back the pkcs11_make_hash_link tool with improved filename
handling (thx krolikov) (closes: 42324).
- Fresh up to v0.6.12.
- Fixed segfault in CRL check (thx Komarov Egor).
- Fixed libpasswdqc initialization (closes: 39790).
- Fixed memory corruption in mapper modules (closes: 40814).
- Build with libpasswdqc (closes: 39790)
- Warn about undefined symbols when linking the module.
- Fixed OpenSSL-related compilation warnings.
- Added support for GOST-2012.
- Fresh up to v0.6.11.
- Refactor the patches.
- Transform the 'ask_pin' option into 'ask_pin_later'.
- rebuild with openssl 1.1
- Fix/improve: Write a message when the token authentication is
cancelled.
- Fix: Put the examples into the package docdir.
- Install the default mapping configs.
- Improve: Add option "use_waitevent" utilizing C_WaitForSlotEvent().
- Introduce the "pin_len_min" and "pin_len_max" configuration
options that control the allowed PIN-code length.
- Fix: Don\'t force PIN change from the screensaver session.
- State the token label and serial in the syslog messages.
- Round the "PIN changed" event timestamp and the system time prior
to compare them. - Fix/improve: Take a journal record with the minimal index when
looking for the last event of particular type.
- New version 0.6.10.
- Cleanup passwords with `cleanse()` in the new code too.
- README.md: removed license section (thx Frank Morgner).
- Update README.md (thx Frank Morgner).
- fixed wiping secrets with OpenSSL_cleanse() (thx Frank Morgner).
- fixed buffer overflow with long home directory (thx Frank Morgner).
- verify using a nonce from the system, not the card (thx Frank Morgner).
- Fixed segfault and fetch problems when checking CRLs (thx Gil Kloepfer).
- Distinguish between entering a wrong user PIN and SO PIN during
the PIN change / initialization procedure.
- Fixed: Distinguish between expired PIN and other cases to change it.
- Build with a new LibreSSL version (2.7.3).
- Fixed SIGSEGV on empty password.
- Simplify the password cleanup in the PIN change procedure.
- Implement the "check_pin_early" option.
- Move the control scripts and base profiles to the "pkcs11-profiles"
package.
- Don\'t show a welcome message when is asked by a screensaver.
- 'isbc': Set debug level on ititialization.
- Call 'pin_status()' of a low-level module to check if PIN has
expired. - Add some Cryptoki API to pkcs11_lib module.
- Split the lowlevel API onto public and private parts.
- Implement 'pin_status()' for the 'isbc' low-level module.
- Fixed 'force_pin_change' configuration option.
- Fixed ISBC journal timestamp.
- Fixed cleanup of the old password.
- Fix: Report password quality check error only when the return
code is less than zero.
- Output the modified info message for a user PIN change session
when the card is locked.
- Check and warn about PIN attempts in PIN change mode.
- Reset the PIN only if card is locked, by default.
- Use libpwquality to check the PIN (optional, configurable).
- Add option to automatically set PIN init mode for `pam_chauthtok`
if there were incorrect login attempts (false by default). - Implement ISBC (ESMART) APDUs to query the number of rest PIN attempts.
- Fixed `init_pin` flag.
- Added "pam_pkcs11_query_config" helper tool.
- Fresh/Fix the GOST support patch.
- Support "PAM_RESET_AUTHTOK" PAM env. var. known to be set by
LightDM. - Fix: Answer with INFO message and PAM_IGNORE code from
"pam_sm_chauthtok()" when no card present and we are not restricted
to card-only login. - Added info messages for user PIN change and reset.
- Fixed double free() in refresh_slots().
- Automatically enable InitPIN mode for pam_sm_chauthtok() when
user PIN is locked.
- Remove the redudant "pam-pkcs11-gost" control.
- Build with LibreSSL.
- Distinguish between welcome and welcome PIN locked.
- Distinguish between wrong PIN and wrong PIN locked.
- Fix: Exit quietly only if "card_only" is false.
- Fix: Do not return error when there are no slots.
- Return ignore or error when PKCS#11 module loading fails based
on config. - Use "default_username" configuration parameter to set the username
in PAM stack when it is unset. - Reorganize the sources: use cumulative patch.
- Fail if no token found only when it is strictly required.
- Fix/improve: Don\'t require the user to be loged-in to change the PIN.
- Allow to configure the prompts on the per-service basis. Parse prompts
from the root conf, then "prompts default {}", then "prompts <service> {}". - Use C_InitPIN() to setup PIN in SO login mode.
- Support PAM_CHANGE_EXPIRED_AUTHTOK flag in pam_sm_chauthtok().
- Implement forced PIN change after login when it is expired.
- Clean the password values more accurate.
- Configurable messages for PIN checks, warnings and wrong PIN
attempts. - Add plural / singular pin low messages.
- Fixed unloading of low-level modules and the PAM handle in
report_pkcs11_lib_error(). - Add "pin_count_low" configuration option.
- User PIN checks (low, final, locked).
- Implement a describer returning an OID (optionally mapped).
- Fix: Welcome the user only once.
- Add support for user descriptions to the mapper interface and
the manager. - Skip empty prompts. Output a user welcome prompt with a description
(as returned by a mapper). - Make the 'quiet' config parameter affect syslog ouput only.
- Output only the last certificate verification error.
- Add support for \-escapes in the config file including \n\r\t\".
- Fix: Return PAM_AUTH_ERR for login error.
- Introduce new "verbose" config parameter.
- Get rid of duplicate "no token" error.
- Output "no token" errors only when wait-for-card mode is off.
- Fix: Make wait-for-card work when the user is not logged in.
- Add the default prompt message profile.
- Off the debug mode by default.
- Fix: Read the configuration before output any prompts.
- Add 'pam-pkcs11-messages' control.
- Make PAM prompts configurable.
- Skip soft slots by default. Also mask slots by manufacturer
and description.
- Fix: Pass the OpenSSL config name directly.
- Use local openssl.cnf if it exists.
- Copy the system-wide openssl.cnf after the package is installed.
- Add OpenSSL GOST engine control (for local openssl.cnf).
- Add 'mapfile' entries to SNILS profiles (commented out).
- Add 'subject', 'mail' and 'cert' mapping profiles and use 'cert'
by default.
- Fix/improve: Return PAM_IGNORE if the token isn\'t present and
card_only isn\'t set. - Fix: Return PAM_IGNORE on PIN change request if the current login
is not related to a token.
- Add password (PIN) management steps to the PAM stack.
- Implement "pam_sm_chauthtok" (the "password" part of PAM).
- Explicitly require pcsc-lite (for pcscd).
- Also require pcsc-lite-ccid (as related to the default OpenSC
profile).
- Drop versioned dependency of alterator-service-functions (chroot
usage is rare). - Add 'mate-screensaver' to the screen saver list.
- Use alterator-service-functions (need >= 2.0.4) to control the
service in a chroot.
- Don\'t include 'debug' settings in the profiles.
- Support nested module configuration in 'pam-pkcs11-profile' control
profiles. - Independently select the cert mapping scheme using 'pam-pkcs11-mapping'
control. - Add SNILS (OID 1.2.643.100.3) mapping profiles.
- Added post-processing options to the generic mapper (prefix,
postfix, scrambling). - The generic mapper is now able to search for OID values both
in the the main subject and subject extensions.
- Add support for GOST certificates (thx cas@ and Max Kosmach).
- Complete Russian translation of pam_pkcs11 (thx cas@ and Max Kosmach).
- Allow to pass to the next module if the auth isn\'t restricted to
card only.
- Fix: Initialize the event manager state value from token (closes: 33534).
- Add configuration control scripts: support "profiles" and "modules.avail"
configuration directories. - Add pkcs11_strict system-auth PAM configuration.
- Fix: Don\'t stuck if wait_for_card=false.
- Fix: Ignore the token not found error when the auth isn\'t restricted to
card only login. - Add systemd service unit for pkcs11_eventmgr.
- Fix: Initialize the event manager state value from token (closes: 33534).
- ask_pin (by default: true) option added (thx cas@);
the corresponding PAM options are: ask_pin, dont_ask_pin.
- Restored ALT-specific features (from p7's 0.6.4-alt2, originally by raorn@):
1. The example configs are placed in /usr/share/pam_pkcs11/.
2. The use of OpenSSL's c_hash instead of pkcs11_make_hash_links
is advised in the documentation; more options in example configs.
3. global_ca configuration option for the system-wide cert storage.
4. Russian translations updated
(and shortened "smart card" into "token" in some places).
5. Larger buffers (to hold localized strings) and safer operations
with them (no unjustified sprintf).
6. Check if there are any valid certificates before asking for PIN.
- New version 0.6.9
- Fix project homepage
- Version 0.6.8
- fix build
- rebuild with new openssl and/or boost by request of git.alt administrator
- [0.6.4]
- Ask PIN only if there are any certificates that can be mapped to user
- Fix buffer overflow in non-POSIX locales
- Russian translations updated
- Document moar pam_pkcs11 options in default config
- cert_policy: global_ca - use system-wide cert storage when verifying
certificates - Fix paths in manpages and documentation
- Dropped make_hash_links.sh in favor of c_rehash (openssl)
- Built for Sisyphus