{"id":22820221,"url":"https://github.com/kizzycode/secureenclave-c","last_synced_at":"2025-03-30T23:16:43.895Z","repository":{"id":152262945,"uuid":"621000935","full_name":"KizzyCode/secureenclave-c","owner":"KizzyCode","description":"This packet provides a thin C API to interact with an Apple device's secure enclave co-processor","archived":false,"fork":false,"pushed_at":"2023-04-02T16:57:22.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T04:44:19.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KizzyCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-29T19:45:53.000Z","updated_at":"2023-03-29T19:50:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"93eeb34b-e6f8-4cfc-b1ef-b83ec1af480e","html_url":"https://github.com/KizzyCode/secureenclave-c","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fsecureenclave-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fsecureenclave-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fsecureenclave-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fsecureenclave-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KizzyCode","download_url":"https://codeload.github.com/KizzyCode/secureenclave-c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"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":"2024-12-12T15:17:09.548Z","updated_at":"2025-03-30T23:16:43.889Z","avatar_url":"https://github.com/KizzyCode.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License BSD-2-Clause](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)\n[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n# SecureEnclave\nThis packet provides a thin C API to interact with an Apple device's secure enclave co-processor.\nWith this API you can\n - generate a secure enclave backed ECDSA or ECDH P256 private key with different access-requirements (unlocked once, \n   currently unlocked, user-interactive, user-interactive with biometry, user-interactive with same biometry, ...)\n - compute the public key from the sealed private key blob (obviously)\n - sign a hash value using P256-ECDSA\n - derive a shared secret using P256-ECDH\n\n## Building the library\nThis library requires the `XCode Command Line Tools` build-toolchain. To build the package, go into the project root and\nexecute `swift build --configuration=release`. The library artifact is at `.build/release/libSecureEnclave.a`. The\nassociated API header is located in `Sources/SecureEnclave/include/SecureEnclave.h`.\n\nHave fun\\~\n\n## Example\nYou can find an example in `Sources/SecureEnclave-Example/main.c`. To run the example, go into the project root and\nexecute `swift run --configuration=release`. Please note that this example requires user-interactive biometric\nauthentication and thus does not work on devices without enrolled TouchID or FaceID.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fsecureenclave-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkizzycode%2Fsecureenclave-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fsecureenclave-c/lists"}