Skip to content

parallaxsecond/rust-cryptoki

Repository files navigation

Cryptoki Rust Wrapper

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!

Community

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.

Contributing

Please check the Contribution Guidelines to know more about the contribution process.

History

This repository is based on this original PR on rust-pkcs11. Read the PR discussion for more information.

Releasing steps

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 main branch 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 build to update Cargo.lock
  • commit the changes (see this for example)
  • tag the commit with the new version tags cryptoki-sys-x.y.z and cryptoki-x.y.z
  • push the commit and the tags to main
  • cargo publish
  • update CHANGELOG.md with github-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!

License

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.

About

Rust wrapper for the PKCS #11 API, Cryptoki

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 53

Languages