This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Commit 28c91d2
[FABG-721] PKCS11 resilience
- added ContextHandler which encapsulates pkcs11.Ctx behavior
and manages customizable session pool
- added tests including one resilience scenario for invalid session
- Concurrency handled
Change-Id: I98c09b3c07f175a05ad02b888e7366d0e724b919
Signed-off-by: Sudesh Shetty <sudesh.shetty@securekey.com>1 parent ee69064 commit 28c91d2
File tree
7 files changed
+1070
-276
lines changed- internal/github.com/hyperledger/fabric/bccsp/pkcs11
- pkg/core/cryptosuite/common/pkcs11
- test/scripts
7 files changed
+1070
-276
lines changedLines changed: 9 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
39 | | - | |
| 35 | + | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
| |||
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 64 | + | |
| 65 | + | |
72 | 66 | | |
73 | | - | |
74 | | - | |
| 67 | + | |
75 | 68 | | |
76 | 69 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 70 | + | |
| 71 | + | |
81 | 72 | | |
82 | 73 | | |
83 | 74 | | |
| |||
87 | 78 | | |
88 | 79 | | |
89 | 80 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 81 | | |
96 | 82 | | |
97 | 83 | | |
98 | | - | |
99 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
100 | 87 | | |
101 | 88 | | |
102 | 89 | | |
| |||
0 commit comments