{"id":23508804,"url":"https://github.com/lovasko/ciernanadtisou","last_synced_at":"2026-01-21T09:32:21.493Z","repository":{"id":15000188,"uuid":"17725625","full_name":"lovasko/CiernaNadTisou","owner":"lovasko","description":"3-Party File Transfer","archived":false,"fork":false,"pushed_at":"2015-09-05T22:10:54.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T15:57:02.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/lovasko.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}},"created_at":"2014-03-13T20:52:12.000Z","updated_at":"2015-09-04T23:37:04.000Z","dependencies_parsed_at":"2022-09-02T00:42:57.843Z","dependency_job_id":null,"html_url":"https://github.com/lovasko/CiernaNadTisou","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lovasko/CiernaNadTisou","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FCiernaNadTisou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FCiernaNadTisou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FCiernaNadTisou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FCiernaNadTisou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovasko","download_url":"https://codeload.github.com/lovasko/CiernaNadTisou/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovasko%2FCiernaNadTisou/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28631143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-25T11:32:13.465Z","updated_at":"2026-01-21T09:32:21.437Z","avatar_url":"https://github.com/lovasko.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cierna nad Tisou\n3 party file transfer for POSIX systems.\n\n## Description\nEach transfer is defined by a number of objects:\n * server\n * uploader\n * downloader\n * user-selected token\n\nThe uploader offers a file to a server, while providing a string token that\nidentifies the file. Tokens are unique within a server. The downloader later\nrequests a file with a token. Requesting a non-existent token does not result\nin a indefinite waiting period, but gets refused immediately. After pairing the\nuploader with the downloader, the file transfer begins.\n\n## Example workflow\n### Step 1: External agreement\nCommunication over a secure channel:\n```\nAlice: hey\nBob: yo!\nAlice: i will send you the Harry Potter movie we spoke about\nBob: k\nAlice: the token will be 'harry' \nAlice: and the password is 'dumbledore_is_gay'\nBob: send it already\n```\n\n### Step 2: Uploader (Alice)\n```\n$ openssl aes-256-cbc -a -salt -in hp4.mkv -out hp4.enc -k dumbledore_is_gay\n$ cntup hp4.enc harry\nWaiting for the downloader...\n```\n\n### Step 3: Downloader (Bob)\n```\n$ cntdown hp4.enc harry\n$ openssl aes-256-cbc -d -a -in hp.enc -out hp4.mkv -k dumbledore_is_gay\n```\n\n## Goals\nThe following is a list of important design goals of the project.\n\n### Support for big files\nTransfer of files up to `2^64 bytes ~= 18 exabytes` must be supported. This\nmeans that transfer of increasingly big files such as movies or backups is\npossible with no obstructions.\n\n### No middle copy\nThe server *must not* store or analyze any of the user data and therefore\nrespect the privacy of the users.\n\n### Only server needs a public static IP\nNowadays, when the IPv6 is still not commonplace, sending a file directly via\n`nc` might not be possible due to network architecture, e.g. NAT. A point of\ncontact for both sender and receiver is a public server, but neither sender nor\nreceiver must have a public IP.\n\n### Highly portable client library\nThe client logic should be implemented in a most portable way, as a shared C\nlibrary, so that everyone can build a tool around the functionality in\narbitrary language compatible with C. \n\n#### Command-line client\nApart from the library, the default distribution should provide a command-line\nclient out-of-the-box.\n\n### Stable high-throughput server implementation\nThe server code must be able to handle a large number of concurrent file\ntransfers.\n\n### Publicly available free server\nNot everyone has an affordable access to a machine with public static IP with\nnecessary permissions to run the server code. One instance of a publicly\navailable server free for all should run at all times.\n\n### Open-source\nAllow the users to read the code and build a trust towards the software, whilst\nproviding the opportunity to modify the code freely. 2-clause BSD license is a\ngood choice for this.\n\n## Non-guaranteed properties\n### Speed\nThe system does not provide any performance related guarantee.\n\n### Security\nThe transfers are not secured in any way. It is *highly* advised to protect the\ndata beforehand with a password and to share the password with the recipient of\nthe data in a secure way. It is moderately possible that a fourth party would\nobtain the file, in case of a successful guess of the file token.\n\n## Licence\n2-clause BSD licence. \n\n## Author\nDaniel Lovasko daniel.lovasko@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fciernanadtisou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovasko%2Fciernanadtisou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovasko%2Fciernanadtisou/lists"}