{"id":20640385,"url":"https://github.com/thibmeu/tlock-worker","last_synced_at":"2025-09-26T18:31:47.050Z","repository":{"id":224767254,"uuid":"764170948","full_name":"thibmeu/tlock-worker","owner":"thibmeu","description":"Demonstration worker supporting timelock encryption.","archived":false,"fork":false,"pushed_at":"2024-02-29T15:32:38.000Z","size":58,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T15:35:37.423Z","etag":null,"topics":["cryptography","encryption","rust","tlock","workers"],"latest_commit_sha":null,"homepage":"https://tlock-worker.crypto-team.workers.dev","language":"Rust","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/thibmeu.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":"2024-02-27T15:52:57.000Z","updated_at":"2024-06-25T07:29:58.000Z","dependencies_parsed_at":"2024-11-16T15:30:39.441Z","dependency_job_id":"46038b86-4be1-437c-ac2e-4bcaad28ed31","html_url":"https://github.com/thibmeu/tlock-worker","commit_stats":null,"previous_names":["thibmeu/tlock-worker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Ftlock-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Ftlock-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Ftlock-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thibmeu%2Ftlock-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thibmeu","download_url":"https://codeload.github.com/thibmeu/tlock-worker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234333241,"owners_count":18815712,"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":["cryptography","encryption","rust","tlock","workers"],"created_at":"2024-11-16T15:29:09.459Z","updated_at":"2025-09-26T18:31:46.695Z","avatar_url":"https://github.com/thibmeu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tlock-worker\n\nDemonstration worker supporting timelock encryption.\n\n## Usage\n\nIf you'd like to perform local encryption and decryption, you can install `dee`. Pre-build binaries are available on [GitHub](https://github.com/thibmeu/drand-rs/releases).\n\nThe worker is configured to use quicknet `https://drand.cloudflare.com/52db9ba70e0cc0f6eaf7803dd07447a1f5477735fd3f661792ba94600c84e971`.\n\n### Encryption\n\n**Only supported for a fixed round number when using the worker.**\n\n* local: `dee crypt -r 1000 original.png \u003e encrypted.pem`\n* remote: `curl -X POST --data-binary @original.png https://tlock-worker.crypto-team.workers.dev/encrypt/1000 \u003e encrypted.pem`\n\n### Decryption\n\n* local: `dee crypt --decrypt encrypted.pem \u003e decrypted.png`\n* remote: `curl -X POST --data-binary @encrypted.pem https://tlock-worker.crypto-team.workers.dev/decrypt \u003e decrypted.png`\n\n\n## Development\n\nThis template starts you off with a `src/lib.rs` file, acting as an entrypoint for requests hitting your Worker. Feel free to add more code in this file, or create Rust modules anywhere else for this project to use.\n\nWith `wrangler`, you can build, test, and deploy your Worker with the following commands:\n\n```sh\n# run your Worker in an ideal development workflow (with a local server, file watcher \u0026 more)\n$ npm run dev\n\n# deploy your Worker globally to the Cloudflare network (update your wrangler.toml file for configuration)\n$ npm run deploy\n```\n\nRead the latest `worker` crate documentation here: https://docs.rs/worker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibmeu%2Ftlock-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthibmeu%2Ftlock-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthibmeu%2Ftlock-worker/lists"}