#security #service

bin+lib parsec-service

A language-agnostic API to secure services in a platform-agnostic way

13 releases (2 stable)

1.1.0 Sep 29, 2022
1.0.0 Mar 30, 2022
0.8.1 Sep 17, 2021
0.7.2 Mar 25, 2021
0.1.2 Feb 27, 2020

#61 in Hardware support

Download history 41/week @ 2022-12-08 62/week @ 2022-12-15 63/week @ 2022-12-22 22/week @ 2022-12-29 22/week @ 2023-01-05 36/week @ 2023-01-12 9/week @ 2023-01-19 40/week @ 2023-01-26 25/week @ 2023-02-02 50/week @ 2023-02-09 55/week @ 2023-02-16 32/week @ 2023-02-23 30/week @ 2023-03-02 27/week @ 2023-03-09 85/week @ 2023-03-16 38/week @ 2023-03-23

182 downloads per month


23K SLoC

Rust 12K SLoC // 0.0% comments C 7.5K SLoC // 0.1% comments C++ 3K SLoC // 0.0% comments Shell 467 SLoC // 0.2% comments GNU Style Assembly 117 SLoC // 0.1% comments Python 34 SLoC // 0.6% comments Prolog 8 SLoC // 0.3% comments

Parsec logo

Crates.io Code documentation

Welcome To PARSEC

PARSEC is the Platform AbstRaction for SECurity, an open-source initiative to provide a common API to hardware security and cryptographic services in a platform-agnostic way. This abstraction layer keeps workloads decoupled from physical platform details, enabling cloud-native delivery flows within the data center and at the edge.

Parsec Concept Diagram

Read the Parsec documentation online.

Read the whitepaper Security for the Infrastructure Edge.


Use Parsec when you need:

  • A portable interface to your platform's Root of Trust in order to manage keys and perform cryptographic operations without knowledge of the hardware.
  • A simple and portable way to access the best available security of your platform in your preferred programming language.

What PARSEC Provides

The value proposition of Parsec is that it provides the following:

  • Abstraction – a common API that is truly agnostic and based on modern cryptographic principles
  • Mediation – security as a microservice, brokering access to the hardware and providing isolated key stores in a multi-tenant environment
  • Ergonomics – a client library ecosystem that brings the API to the fingertips of developers in any programming language: “easy to consume, hard to get wrong”
  • Openness – an open-source project inviting contributions to enhance the ecosystem both within the service and among its client libraries


PARSEC is a collaborative project. The current list of the individuals and organizations who maintain this project can be found here.

Partner Organizations

See who is using and contributing to PARSEC.

Getting Started

If you are running on x86 Linux, check out this guide to get started with Parsec quickly!

For examples of how to access PARSEC as a client application, check this Rust client documentation.

Check the user, client developer and service developer guides for more information on building, installing, testing and using Parsec!


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.


We would be happy for you to contribute to Parsec! Please check the Contribution Guidelines to know more about the contribution process. Check the open issues on the board if you need any ideas 🙂!


The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.


~834K SLoC