rust-cryptoki icon indicating copy to clipboard operation
rust-cryptoki copied to clipboard

Rust wrapper for the PKCS #11 API, Cryptoki

Results 41 rust-cryptoki issues
Sort by recently updated
recently updated
newest added

In the [OpenSC](https://github.com/OpenSC/OpenSC) PKCS#11 module we are offering ABIs for both, version 2.4 *and* version 3.0. We're implementing this via `C_GetInterface`. Accessing `C_GetFunctionList` or `C_GetInterface` is not supported by `rust-cryptoki`,...

Hi, I’m in a mixed env with Rust code used in a C++ program. C++ side initialize the pkcs11 lib so Rust side can’t. If Rust side calls `C_Finalize`, I...

I need to get PkcsOaepParams hash algorithm but it is not pub and it has not try_from CK_RSA_PKCS_OAEP_PARAMS. Is there any work you will do on this in the near...

enhancement

## Issue I cannot `init_token` with my HSM using `cryptoki` in my Rust application. However, it works with SoftHSM2. I also manage to init a token using my HSM client...

This is another take on #158 The purpose is to bring a compatibility layer with rustcrypto and use the tools developed there (x509 signing, pkcs7/CMS, ocsp, ...) with a pkcs#11-backed...

Hello, I am working with a PKCS11 interface requiring the use of vendored mechanisms. I did not find a way to do so with this crate and was wondering if...

Hi! Would it be possible to release a new version? Anything I can do to help with that? Cheers!

Looking at he logic of `initialize()`, `is_initialized()` and `finalize()` I found out that `Pkcs11::initialized` can get out of sync with `Pkcs11::impl_`. ```rust #[test] fn test_clone_initialize() { let mut lib =...

`is_fn_supported()` returns `true` for all libraries and functions I tested with. This makes sense when reading the spec: - http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/os/pkcs11-base-v2.40-os.html - http://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/pkcs11-base-v3.0.html Both say: > Every function in the Cryptoki...

**Cannot compile `cryptoki-sys` to wasm target** Related to: [Cannot compile dependency: could not find `Library` in `libloading` #1641](https://github.com/DioxusLabs/dioxus/issues/1641#issuecomment-1810680215) When I build, watch & serve a Rust **WASM** app with `cryptoki`,...