{"id":73053,"library":"pkcs11","title":"PKCS#11","description":"Rust bindings for the PKCS#11 cryptographic token interface.","status":"active","version":"0.5.0","language":"rust","source_language":null,"source_url":"https://github.com/mheese/rust-pkcs11","tags":["cryptography","pkcs11","security"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npkcs11 = \"0.5.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add pkcs11","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Ctx","correct":"use pkcs11::Ctx;"}],"quickstart":{"code":"use pkcs11::Ctx;\n\nfn main() {\n    let _ctx = Ctx::new(\"path/to/pkcs11.so\").unwrap();\n}","lang":"rust","description":"Initializes a PKCS#11 context with a module path."},"warnings":[{"fix":"Ensure the module path is correct and the library is installed.","message":"Requires a PKCS#11 module (shared library) at runtime","severity":"gotcha","affected_versions":">=0.5.0"}],"env_vars":null,"search_vec":"'11':2,8 'bind':4 'cryptograph':9 'cryptographi':12 'interfac':11 'pkcs':1,7 'pkcs11':13 'rust':3 'secur':14 'token':10","created_at":"2026-06-17T18:46:57.210308+00:00","updated_at":"2026-06-17T18:46:57.210308+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/mheese/rust-pkcs11","github":"https://github.com/mheese/rust-pkcs11","docs":"https://docs.rs/pkcs11/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}