The cryptoki crate provides an idiomatic interface to the PKCS #11 API.
The cryptoki-sys crate provides the direct FFI bindings.
Check the cryptoki README file to get started!
Come and ask questions or talk with the Parsec Community in our Slack channel or biweekly meetings. See the Community repository for more information on how to join.
Please check the Contribution Guidelines to know more about the contribution process.
This repository is based on this original PR on rust-pkcs11. Read the PR discussion for more information.
Here are the steps needed for maintainers to release those two crates.
- all on-going issues and pull requests have been finalized
- go to the
mainbranch and pull the latest - do a dry-run to ensure everything can be published in the current state
cargo publish --dry-run - bump the two crates' version number in their
Cargo.toml cargo buildto updateCargo.lock- commit the changes (see this for example)
- tag the commit with the new version tags
cryptoki-sys-x.y.zandcryptoki-x.y.z - push the commit and the tags to
main cargo publish- update
CHANGELOG.mdwithgithub-changelog-generator(you will need to create a GitHub token) - make a PR with the updated changelog and inform the community about the new version!
The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.
Copyright 2021 Contributors to the Parsec project.