Comments (2)
It appears to be due to the order in which objects get destroyed. Basically when their shutdown function is called.
Adding the following triggers the error before the script ends
unset($module);
unset($session);
While this prevents it from happening
unset($session);
unset($module);
from php-pkcs11.
Fixed in e7cb827
from php-pkcs11.
Related Issues (20)
- Support C_WaitForSlotEvent() HOT 4
- Support Notify in C_OpenSession
- tests: PHP11_PIN vs PHP11_SOPIN HOT 1
- test failures - P11Object HOT 4
- [0.1.1] Seg fault in test suite HOT 22
- 0160-rsa-encrypt-pkcs - segfault with HSM HOT 5
- failed tests due to unsupported C_CreateObject() by HSM
- Module variable going out of scope causes open session to be broken and cause SegFault HOT 5
- Decryption using symmetric key in another function gives CKR_GENERAL_ERROR HOT 14
- How to use in Laravel application? HOT 7
- Using ECDSA/RSA Signing? HOT 5
- Internal Server Error (0x00000007/CKR_ARGUMENTS_BAD) PKCS#11 module error: Unable to encrypt [/website/test/***/Hsm.php:119] HOT 2
- Variable types of attributes are not compareable with constants HOT 1
- How To Use On Windows ? HOT 2
- Exception thrown on propietary driver HOT 2
- AWS Cloud HSM Support HOT 2
- Exporting a public key/object from token. HOT 3
- Support AWS CloudHSM SDK 1.1.1 and later HOT 7
- Not login when sign HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-pkcs11.