{"id":27871321,"url":"https://github.com/uniquid/uidagent-c","last_synced_at":"2025-08-09T05:30:31.851Z","repository":{"id":94341831,"uuid":"160830341","full_name":"uniquid/uidagent-c","owner":"uniquid","description":"UniquID C language engine.","archived":false,"fork":false,"pushed_at":"2019-07-04T09:28:37.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-04T23:38:23.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uniquid.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,"zenodo":null}},"created_at":"2018-12-07T13:56:13.000Z","updated_at":"2019-06-03T08:33:17.000Z","dependencies_parsed_at":"2023-03-22T21:49:56.402Z","dependency_job_id":null,"html_url":"https://github.com/uniquid/uidagent-c","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/uniquid/uidagent-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uniquid%2Fuidagent-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uniquid%2Fuidagent-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uniquid%2Fuidagent-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uniquid%2Fuidagent-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uniquid","download_url":"https://codeload.github.com/uniquid/uidagent-c/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uniquid%2Fuidagent-c/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259387641,"owners_count":22849750,"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-04T23:36:27.104Z","updated_at":"2025-06-12T03:08:38.603Z","avatar_url":"https://github.com/uniquid.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uidagent-c\n\n## Minimal code implementing an UniquID node. It can be used to add UniquID functionalities to the [AWS IoT C sdk](https://github.com/aws/aws-iot-device-sdk-embedded-C)\n\nIt requires:\n- libuidcore-c\n- libpthread\n- AWS IoT mqtt implementation\n\n** check the prerequisites for [uidcore-c here](https://github.com/uniquid/uidcore-c#how-to-build)\n### how to integrate in the AWS IoT C sdk\n- Clone the AWS-IoT-sdk (this has been tested on tag v3.0.1 and master@c11e34a98be):\u003cbr\u003e\n``git clone https://github.com/aws/aws-iot-device-sdk-embedded-C.git -b v3.0.1``\n- Clone this repository inside the external_libs directory:\u003cbr\u003e\n``cd aws-iot-device-sdk-embedded-C/external_libs/``\u003cbr\u003e\n``git clone https://github.com/uniquid/uidagent-c.git``\n- Clone the uidcore-c library\u003cbr\u003e\n``git clone --recurse-submodules https://github.com/uniquid/uidcore-c.git``\n- Clone the **mbetls** code:\u003cbr\u003e\n``rm mbedTLS/README.txt``\u003cbr\u003e\n``git clone https://github.com/ARMmbed/mbedtls.git mbedTLS -b mbedtls-2.16.1``\n- Apply the provided patch, IoT-sdk.patch\u003cbr\u003e\n``cd ..``\u003cbr\u003e\n``git apply  external_libs/uidagent-c/IoT-sdk.patch``\n- Cd to **subscribe_publish_sample** example and make\u003cbr\u003e\n``cd samples/linux/subscribe_publish_sample``\u003cbr\u003e\n``make``\n\n### run the \"subscribe_publish_sample\"\n- copy in the \"certs\" directory the CA certificates chain to authenticate the aws-mqtt-proxy and the uniquid mqtt broker.\u003cbr\u003e\nthe file must be named **rootCA.crt**:\u003cbr\u003e\n``cp path-to/caChain.crt ../../../certs/rootCA.crt``\n- Copy the configuration file ([here is an example](https://github.com/uniquid/uidagent-c/blob/master/aws_device_cfg.json))\u003cbr\u003e\n``cp path-to/aws_device_cfg.json aws_device_cfg.json``\n- run the sample\u003cbr\u003e\n``./subscribe_publish_sample``\n\n** configuration can be loaded also from **AWS_AGENT_CONFIG** environment variable:\u003cbr\u003e\n``export AWS_AGENT_CONFIG=$(cat path-to/aws_device_cfg.json)``\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiquid%2Fuidagent-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funiquid%2Fuidagent-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funiquid%2Fuidagent-c/lists"}