Comments (6)
Ok, sorry for the huge delay.
So, it seems when we branched out cryptoki-0.3.x
to release Parsec back in March, we branched from the latest v0.3 of cryptoki
. We made some changes to cryptoki-sys
and upstreamed that as 0.1.5
- however the problem here is that we had added other stuff to cryptoki-sys
since that v0.3 of cryptoki
. Which means this newest version of cryptoki-sys
is actually missing some stuff that is present in main
.
My suggestions here are:
- we bump the
main
version ofcryptoki-sys
to0.1.6
and release that ASAP (see #138 ) - we yank
0.1.5
of cryptoki
Apologies everyone for this mistake, it is yet another lesson in juggling the versions of two interdependent crates in the same repo :[
cc @gowthamsk-arm - I don't think this would affect Parsec in any way.
from rust-cryptoki.
Update: I have released v0.1.6 of cryptoki-sys
. I'll be yanking 0.1.5 tomorrow.
from rust-cryptoki.
I can reproduce this problem. Adding generate-bindings
feature does not help.
I did succeed when I used crate directly via git: cryptoki = { version = "0.4.1", git = "https://github.com/parallaxsecond/rust-cryptoki" }
. Maybe recent changes in #130 helped?
from rust-cryptoki.
I'm having the same problems. These constants disappeared in packaged pkcs11.h
of [email protected]
:
296d295
< #define CKF_ERROR_STATE (1UL << 24)
1048,1049d1046
< #define CKF_EC_F_2M (1UL << 21)
< #define CKF_EC_ECPARAMETERS (1UL << 22)
from rust-cryptoki.
I'm having the same problem.
It seems as though there may have been error releasing or tagging.
cryptoki-0.4.1 was created on 2022-09-29.
cryptoki-0.4.0 was created on 2022-09-07.
cryptoki-0.3.0 was created on 2022-01-14.
Then, on 2023-03-15, cryptoki-0.3.1 and cryptoki-sys-0.1.5 were created on the cryptoki-0.3.0
branch. Crates.io shows the cryptoki-sys
dep for cryptoki
as "^0.1.4", so cargo selects 0.1.5.
If I manually say cryptoki-sys = "=0.1.4"
in my Cargo.toml, I can build. Of course, this means you're depending on a cryptoki-sys that is 9 months older than cryptoki...
from rust-cryptoki.
cryptoki-sys
0.1.5 doesn't seem to be yanked.
from rust-cryptoki.
Related Issues (20)
- Function name as part of errors HOT 3
- CKA_PUBLIC_KEY_INFO getting TypeInvalid HOT 8
- Wrapper for C_WaitForSlotEvent HOT 5
- finalize() without drop()? HOT 1
- `clone()` and `is_initialized()` HOT 13
- bug: `is_fn_supported()` always returns `true` HOT 1
- UserNotLoggedIn calling decrypt after login.... HOT 5
- Signing and Verifying HOT 2
- PKCS OAEP padding always returns: Pkcs11(ArgumentsBad) HOT 3
- test slot::token_info::test::debug_info fails on 32-bit architectures. HOT 1
- Add Wycheproof-based tests
- Wasm support HOT 2
- session.login fails on MacOS Sonoma HOT 8
- New release? HOT 6
- PkcsOaepParams HOT 3
- Build of cryptoki v0.6.1 failing on Fedora 39+ HOT 23
- Cannot init_token using an HSM with PED
- Do not call C_Finalize if not initialized
- Add support for C_GetInterfaceList
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 rust-cryptoki.