Comments (5)
there wasn't check for returned value from SecKeyCopyPublicKey
function in FillPublicKeyStruct
from pvpkcs11.
This makes it unnecessary to store the public key in the keychain. In the rare case of a failure, the function doesnโt create an error object, but the public key reference is nil. This might happen, for example, if the private key resides on a smart card that is no longer attached to the system, and is thus unavailable.
source
@rmhrisk Should I hide such certificates and private keys?
from pvpkcs11.
We should not hide them but expose to the caller that this key doesn't have private key any longer
from pvpkcs11.
I've got this error for certificates from GlobalSign and StartCom. Certificates were installed from pfx
from pvpkcs11.
All private keys which throws error on SecKeyCopyPublicKey
don't have public key in KeyChain
from pvpkcs11.
Related Issues (20)
- Keychain doesn't add certificates with repeated names
- Error on certStorage.remove HOT 1
- Exception on getting keys from keychain
- Don't show approval window for each keychain key HOT 1
- Error on module load
- Add support for logging directort configuration
- Add support for using kSecAttrTokenIDSecureEnclave on OSX when working with KeyChain
- Symbol not found: _kSecKeyAlgorithmECDHKeyExchangeStandard
- Does not work when brainpool curves are present HOT 1
- Block CKA_ID
- Support using Windows mini drivers effectivly HOT 14
- SmartCard OSX
- Implement LoadProviderCSP
- Windows: Show certificates in machine context
- Support Create and Copy functions for CKO_PRIVATE_KEY objects
- Support init params for C_Initialize function
- Please help ! Sign with mechanic ckm_rsa_pkcs HOT 4
- Don't mix User and System certificates on MacOS
- CKA_ID Attribute Altered During C_CreateObject on MacOS
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 pvpkcs11.