{"id":15583484,"url":"https://github.com/osiegmar/setra","last_synced_at":"2026-02-17T05:02:16.769Z","repository":{"id":97951031,"uuid":"87836099","full_name":"osiegmar/setra","owner":"osiegmar","description":"Web application to transfer text messages and files securely","archived":false,"fork":false,"pushed_at":"2020-12-26T21:10:25.000Z","size":285,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-08T12:49:00.474Z","etag":null,"topics":["dockerfile","file-upload","secure","springboot","transfer"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osiegmar.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":"2017-04-10T17:00:35.000Z","updated_at":"2020-12-26T21:10:27.000Z","dependencies_parsed_at":"2023-03-13T21:15:17.480Z","dependency_job_id":null,"html_url":"https://github.com/osiegmar/setra","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/osiegmar/setra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fsetra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fsetra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fsetra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fsetra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osiegmar","download_url":"https://codeload.github.com/osiegmar/setra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osiegmar%2Fsetra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29534460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["dockerfile","file-upload","secure","springboot","transfer"],"created_at":"2024-10-02T20:08:35.729Z","updated_at":"2026-02-17T05:02:16.752Z","avatar_url":"https://github.com/osiegmar.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secure Transfer\n\n[![build](https://github.com/osiegmar/setra/workflows/build/badge.svg?branch=version2-rewrite)](https://github.com/osiegmar/setra/actions?query=branch%3Amaster)\n\nWeb application to transfer text messages and files securely.\n\n\n## Prerequisites\n\nThis application needs strong cryptography. Either install\n[Java Cryptography Extension (JCE)](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html)\nwhen using Oracle JDK or use [OpenJDK](http://openjdk.java.net).\n\n\n## Quick start\n\nUse prebuilt docker image [osiegmar/setra](https://hub.docker.com/r/osiegmar/setra/) or create\nyour own via:\n\n\n```sh\n./gradlew build\ndocker build -t secure-transfer .\ndocker run -d --name secure-transfer secure-transfer\n```\n\nThen call http://[your docker host]:8080\n\n\n## More advanced configuration\n\n```sh\ndocker run \\\n    --detach \\\n    --publish 127.0.0.1:8500:8080 \\\n    --name setra \\\n    --env SERVER_USE_FORWARD_HEADERS=true \\\n    osiegmar/setra\n```\n\nAnd a NGINX proxy configuration:\n\n```\nlocation / {\n    proxy_pass http://localhost:8500/;\n\n    # Keep this value in sync with SECURETRANSFER_MAX_REQUEST_SIZE\n    client_max_body_size 2048M;\n\n    proxy_buffering off;\n    proxy_request_buffering off;\n\n    proxy_set_header Host $host;\n    proxy_set_header X-Real-IP $remote_addr;\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}\n```\n\n### Configuration properties\n\nSecure Transfer uses [Spring Boot](https://projects.spring.io/spring-boot/) and thus offers a\nwide range of configuration properties. The following is just an overview of the most important\noptions.\n\n\n* **SECURETRANSFER_BASE_DIR**:\n  The base directory where Secure Transfer will create its own directory structure.\n  Default: /securetransfer within the docker build, ${java.io.tmpdir}/securetransfer otherwise.\n\n* **SECURETRANSFER_MAX_FILE_SIZE**:\n  Max file size. Values can use the suffixed \"MB\" or \"KB\" to indicate a Megabyte or Kilobyte size.\n  Default: 2147483648 (2 GB)\n\n* **SECURETRANSFER_MAX_REQUEST_SIZE**:\n  Max request size. Values can use the suffixed \"MB\" or \"KB\" to indicate a Megabyte or Kilobyte\n  size.\n  Default: 2147483648 (2 GB)\n\n* **SERVER_USE_FORWARD_HEADERS**:\n  If X-Forwarded-* headers should be applied to the HttpRequest.\n  Default: false\n\n* **SPRING_MVC_ASYNC_REQUEST_TIMEOUT**:\n  The maximum duration (in milliseconds) for a file download.\n  Default: 3600000 ms (1 hour)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiegmar%2Fsetra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosiegmar%2Fsetra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiegmar%2Fsetra/lists"}