Subject: CVS commit: pkgsrc/security/opensc
From: Adam Ciarcinski
Date: 2024-02-01 15:19:15
Message id: 20240201141915.A952EFA42@cvs.NetBSD.org

Log Message:
opensc: updated to 0.24.0

New in 0.24.0; 2023-12-13

Security

CVE-2023-40660: Fix Potential PIN bypass
CVE-2023-40661: Important dynamic analyzers reports
CVE-2023-4535: Out-of-bounds read in MyEID driver handling encryption using \ 
symmetric keys (f1993dc)
General improvements

Fix compatibility of EAC with OpenSSL 3.0
Enable use_file_cache by default
Use custom libctx with OpenSSL >= 3.0
Fix record-based files
Fix several race conditions
Run tests under Valgrind
Test signing of data bigger than 512 bytes
Update to OpenPACE 1.1.3
Implement logout for some of the card drivers
Fix wrong popup position of opensc-notify
Fixed various issues reported by OSS-Fuzz and Coverity regarding card drivers, \ 
PKCS#11 and PKCS#15 init
PKCS#11

Check card presence state in C_GetSessionInfo
Remove onepin-opensc-pkcs11 module
Do not use colons in the token info label
Present profile objects in all slots with the CKA_TOKEN attribute to resolve \ 
issues with NSS
Use secure memory for PUK
Don't logout to preserve concurrent access from different processes
Add more examples to manual page
Present profile objects in all virtual slots
Provide CKA_TOKEN attribute for profile objects
Improve --slot parameter documentation
PKCS#15

Honor cache offsets when writing file cache
Prevent needless amount of PIN prompts from pkcs15init layer
Propagate CKA_EXTRACTABLE and SC_PKCS15_PRKEY_ACCESS_SENSITIVE from and back to \ 
PKCS#11
Minidriver

Fix for private keys that do not need a PIN
Unbreak decipher when the first null byte of PKCS#1.5 padding is missing
pkcs11-tool

Fix RSA key import with OpenSSL 3.0
Add support for attribute filtering when listing objects
Add support for --private flag when writing certificates
Add support for non-AEAD ciphers to the test mode
Show CKA_SIGN attribute for secret keys
Do not attempt to read CKA_ALWAYS_AUTHENTICATE on secret keys
Show Sign/VerifyRecover attributes
Add option to import generic keys
westcos-tool

Generate 2k RSA keys by default (b53fc5c)
pkcs11-register

Disable autostart on Linux by default
IDPrime

Add support for IDPrime MD 830, 930 and 940
Add support for SafeNet eToken 5110 token
Process index even without keyrefmap and use correct label for second PIN
Add support for Gemalto IDPrime 940C
EPass2003

Change of PIN requires verification of the PIN
Fix incorrect CMAC computation for subkeys
Use true random number for mutual authentication for SM
Add verification of data coming from the token in the secure messaging mode
Avoid success when using unsupported digest and fix data length for RAW ECDSA \ 
signatures
OpenPGP

Fix select data command
Unbreak ed/curve25519 support
eOI

Add support for Slovenian eID card (eOI)
Italian CNS

Add support for IDEMIA (Oberthur) tokens
PIV

Add support for Swissbit iShield FIDO2 Authenticator
Implement PIV secure messaging
SkeID

Add support for Slovak eID cards
isoApplet

Support ECDSA with off-card hashing
MyEID

Fix WRAP operation when using T0
Identify changes on the card and enable use_file_cache
Workaround for unwrapping using 2K RSA key
SC-HSM

Add support for opensc-tool --serial
Fix unwrapping of 4096 keys with handling reader limits
Indicate supported hashes and MGF1s

Files:
RevisionActionfile
1.44modifypkgsrc/security/opensc/Makefile
1.16modifypkgsrc/security/opensc/PLIST
1.22modifypkgsrc/security/opensc/distinfo