Branch: refs/heads/master
Home: https://github.com/OpenSC/libp11
Commit: 712e869189610f900ebf8c50090e228167b6bf8f
https://github.com/OpenSC/libp11/commit/712e869189610f900ebf8c50090e228167b6bf8f
Author: Anderson Toshiyuki Sasaki <ans...@re...>
Date: 2019-10-02 (Wed, 02 Oct 2019)
Changed paths:
M tests/rsa-common.sh
Log Message:
-----------
tests/rsa-common: Add function to create various tokens
This allows the creation of multiple devices in the test scripts.
Signed-off-by: Anderson Toshiyuki Sasaki <ans...@re...>
Commit: 85a91f4502d48371df0d392d19cecfbced2388c0
https://github.com/OpenSC/libp11/commit/85a91f4502d48371df0d392d19cecfbced2388c0
Author: Anderson Toshiyuki Sasaki <ans...@re...>
Date: 2019-10-02 (Wed, 02 Oct 2019)
Changed paths:
M src/eng_back.c
M tests/Makefile.am
A tests/pkcs11-uri-without-token.softhsm
A tests/search-all-matching-tokens.softhsm
Log Message:
-----------
eng_back: Search objects in all matching tokens
Previously, the search for objects would stop in the first matching
token when a more generic PKCS#11 URI was provided (e.g.
"pkcs11:type=public"). This change makes the search continue past the
first matching token if the object was not found.
In ctx_load_{key, cert}(), the search will try to login only if a single
token matched the search. This is to avoid trying the provided PIN
against all matching tokens which could lock the devices.
This also makes the search for objects to ignore uninitialized tokens
and to avoid trying to login when the token does not require login.
Signed-off-by: Anderson Toshiyuki Sasaki <ans...@re...>
Compare: https://github.com/OpenSC/libp11/compare/109261f6b809...85a91f4502d4
|