{"id":25692387,"url":"https://github.com/embetrix/meta-pqc","last_synced_at":"2025-02-24T23:09:03.987Z","repository":{"id":270883512,"uuid":"909722016","full_name":"embetrix/meta-pqc","owner":"embetrix","description":"OpenEmbedded/Yocto layer dedicated to Post-Quantum Cryptography, providing integration and testing of quantum-safe cryptographic algorithms for embedded linux systems.","archived":false,"fork":false,"pushed_at":"2025-02-21T07:16:26.000Z","size":37,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"scarthgap","last_synced_at":"2025-02-21T08:24:16.865Z","etag":null,"topics":["crypto-agility","cryptography","embedded-linux","embedded-systems","openembedded","post-quantum-cryptography","python","security","yocto"],"latest_commit_sha":null,"homepage":"","language":"BitBake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/embetrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-29T15:35:06.000Z","updated_at":"2025-02-21T07:16:29.000Z","dependencies_parsed_at":"2025-01-03T19:35:13.293Z","dependency_job_id":"fec9217a-fe9a-427e-9b17-4b728ceb4039","html_url":"https://github.com/embetrix/meta-pqc","commit_stats":null,"previous_names":["embetrix/meta-pqc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embetrix%2Fmeta-pqc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embetrix%2Fmeta-pqc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embetrix%2Fmeta-pqc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embetrix%2Fmeta-pqc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embetrix","download_url":"https://codeload.github.com/embetrix/meta-pqc/tar.gz/refs/heads/scarthgap","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240570987,"owners_count":19822412,"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":["crypto-agility","cryptography","embedded-linux","embedded-systems","openembedded","post-quantum-cryptography","python","security","yocto"],"created_at":"2025-02-24T23:09:03.162Z","updated_at":"2025-02-24T23:09:03.963Z","avatar_url":"https://github.com/embetrix.png","language":"BitBake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meta-pqc\n\nThis layer is an OpenEmbedded/Yocto layer dedicated to Post-Quantum Cryptography, providing integration and testing of quantum-safe cryptographic algorithms for embedded Linux systems. It supports OQS (Open Quantum Safe) and Botan.\n\nBoth OQS and Botan implement the latest [NIST-approved Post-Quantum Cryptography (PQC) algorithms](https://csrc.nist.gov/projects/post-quantum-cryptography):\n\n### Public-Key Encryption and Key-Establishment Algorithms\n   * `CRYSTALS-Kyber`: A lattice-based key encapsulation mechanism (KEM).\n\n### Digital Signature Algorithms\n   * `CRYSTALS-Dilithium`: A lattice-based digital signature algorithm.\n   * `FALCON`: A lattice-based digital signature algorithm.\n   * `SPHINCS+`: A hash-based digital signature algorithm.\n\n## OQS (Open Quantum Safe)\n\nThe Open Quantum Safe (OQS) project aims to develop and integrate quantum-resistant cryptographic algorithms. These algorithms are designed to be secure against the potential future threat of quantum computers. The OQS project provides a C library, liboqs, which includes implementations of various quantum-safe algorithms.\n\nFor more information, visit the [Open Quantum Safe website](https://openquantumsafe.org).\n\n## Botan\n\nBotan is a cryptographic library written in C++ that provides a wide range of cryptographic algorithms and protocols. It supports both classical and quantum-safe cryptographic algorithms. Botan is designed to be portable and efficient, making it suitable for use in embedded systems. Botan is also [recommended](https://www.bsi.bund.de/EN/Themen/Unternehmen-und-Organisationen/Informationen-und-Empfehlungen/Kryptografie/Kryptobibliothek-Botan/kryptobibliothek-botan_node.html) by the German Federal Office for Information Security (BSI).\n\nFor more information, visit the [Botan website](https://botan.randombit.net).\n\n## Build\n\nThis layer can be integrated in your layer(s) or built standalone using [kas-tool](https://github.com/siemens/kas):\n\nTo Enable OpenSSL with PQC support using `oqs-provider` you should set: `DISTRO_FEATURES += \"oqs\"`\n\n```sh\nKAS_MACHINE=\u003cMACHINE\u003e kas build kas-pqc.yml\n```\n\nor using kas docker container:\n\n```sh\nKAS_MACHINE=\u003cMACHINE\u003e kas-container build kas-pqc.yml\n```\n\nfor example:\n\n```sh\nKAS_MACHINE=qemux86-64 kas build kas-pqc.yml\n```\n\n## Run in Qemu\n\n```sh\nKAS_MACHINE=qemux86-64 kas shell kas-pqc.yml -c 'runqemu kvm serialstdio nographic qemuparams=\"-m 1024\"'\n```\n\n## Note\n\nYou can check the available machines that can be built using the following command:\n\n```sh\nfind layers/ -name *.conf | grep machine\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembetrix%2Fmeta-pqc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembetrix%2Fmeta-pqc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembetrix%2Fmeta-pqc/lists"}