Comments (3)
Can we make the case of saying this is a documentation problem?
from pkcs11.
We could, but looking at NewAttribute it would get the same behaviour with an empty string and since Allocate is exported it would be nice if we could solve this. I understand it's problematic since Allocate doesn't return an error type.
from pkcs11.
[ Quoting [email protected] in "Re: [miekg/pkcs11] Panic in allocat..." ]
We could, but looking at NewAttribute it would get the same behaviour with an empty string and since Allocate is exported it would be nice if we could solve this. I understand it's problematic since Allocate doesn't return an error type.
Indeed. Is this worth breaking backwards compat for... And if we do we should
add error returns to more (or at least look for methods that don't atm).
/Miek
Miek Gieben
from pkcs11.
Related Issues (20)
- Is it possible to integrate this with GCloud KMS - HSM system?
- Panic in NewAttribute when use u/int16/32/64 as Attribute value
- Replace p11.Slot struct with interface HOT 4
- use v3? HOT 3
- Two constants no longer exit HOT 2
- Add CK_RSA_AES_KEY_WRAP_PARAMS to params.go HOT 6
- license issue related to the OASIS IPR Policy HOT 1
- p11.Slot.Mechanisms seems inadequate substitute for pkcs11.Ctx.GetMechanismList
- Cumbersome cryptographic operations for speed tests
- Error running in Ubuntu 18.04 I386 HOT 1
- Using AWS CloudHSM to sign ethereum transactions HOT 1
- RFE: RFC7512 URI support HOT 2
- RFE: Load p11-kit-proxy.so as default provider HOT 4
- Can't access functions of pkg HOT 1
- Error running the PKCS11 package on Windows HOT 4
- Returning attributes through GetAttributeValue in certain error scenarios
- Problem with "pkcs11.h" when running with "go build", "go run ." or "go run main.go"
- Non symetric AES keys
- Static build binary contained the pkcs11 package dlopen HOT 2
- no rsa verify test in pkcs11_test HOT 1
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 pkcs11.