{"id":28042339,"url":"https://github.com/parallaxsecond/parsec-se-driver","last_synced_at":"2025-05-11T14:26:17.148Z","repository":{"id":48061848,"uuid":"260494620","full_name":"parallaxsecond/parsec-se-driver","owner":"parallaxsecond","description":"PSA Secure Element Driver implementation using Parsec","archived":false,"fork":false,"pushed_at":"2024-01-18T14:48:53.000Z","size":241,"stargazers_count":4,"open_issues_count":2,"forks_count":9,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-01-18T17:58:24.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parallaxsecond.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-05-01T15:35:21.000Z","updated_at":"2023-06-30T19:27:13.000Z","dependencies_parsed_at":"2024-01-18T16:42:12.269Z","dependency_job_id":"a6d52a55-230e-4ef3-b310-85661bd51480","html_url":"https://github.com/parallaxsecond/parsec-se-driver","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-se-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-se-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-se-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-se-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parallaxsecond","download_url":"https://codeload.github.com/parallaxsecond/parsec-se-driver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253578813,"owners_count":21930607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-11T14:26:16.567Z","updated_at":"2025-05-11T14:26:17.123Z","avatar_url":"https://github.com/parallaxsecond.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parsec Secure Element Driver\n\nThis repository contains an implementation of a PSA Secure Element using the [Parsec\nservice](https://github.com/parallaxsecond/parsec). It implements the Secure Element Hardware\nAbstraction Layer and compiles to a library exposing a `psa_drv_se_t` structure.\n\n## How to build and use the driver\n\nWhen being built, this driver needs to use the same PSA Crypto API interface implementation that is\ngoing to register it. You need to specify the location of `psa/` header files folder with the\nenvironment variable `MBEDTLS_INCLUDE_DIR`. For example if the `mbedtls` project is on the same\ndirectory:\n\n```\n$ MBEDTLS_INCLUDE_DIR=$(pwd)/mbedtls/include cargo build\n```\n\nThis will produce `libparsec_se_driver.a` in `target/debug` or `target/release`. This library\ncontains the `psa_drv_se_t` symbol defined in the `include/parsec_se_driver.h` file. That header\nfile should be included under the same include directory than the PSA `psa/crypto.h` file coming\nfrom the PSA Cryptography API implementation.\n\nThe build scripts have a dependency on `libclang`, which is needed on the system.\n\n## Compatibility with Mbed TLS\n\nThe following tuples have been tested together.\n\n| Parsec SE driver version | Mbed Crypto/Mbed TLS version |\n|--------------------------|------------------------------|\n| `0.4.0`                  | `2.22.0`                     |\n| `0.5.0`                  | `2.25.0`                     |\n| `0.6.0`                  | `2.27.0`                     |\n\n## Notice\n\nThis implementation is currently work-in-progress and might not implement all operations or\nparameters of the HAL.\n\nThe driver produced currently uses Parsec default authentication method. If Parsec is using the\nDirect authenticator, the application name of requests made to Parsec by this SE driver will be\n\"Parsec SE Driver\".\n\nMake sure to check the\n[Parsec](https://parallaxsecond.github.io/parsec-book/threat_model/threat_model.html) and [Parsec\nRust\nClient](https://parallaxsecond.github.io/parsec-book/threat_model/rust_client_threat_model.html)\nthreat models to make sure that your use-case is secure.\n\n## License\n\nThe software is provided under Apache-2.0. Contributions to this project are accepted under the same\nlicense.\n\n## Contributing\n\nPlease check the [**Contribution\nGuidelines**](https://parallaxsecond.github.io/parsec-book/contributing.html) to know more about the\ncontribution process.\n\n*Copyright 2020 Contributors to the Parsec project.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparallaxsecond%2Fparsec-se-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparallaxsecond%2Fparsec-se-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparallaxsecond%2Fparsec-se-driver/lists"}