{"id":24864099,"url":"https://github.com/dents/uploadenc","last_synced_at":"2025-10-15T09:31:55.010Z","repository":{"id":57143614,"uuid":"106290393","full_name":"dents/uploadenc","owner":"dents","description":"Writes client-uploaded files directly to Amazon S3, encrypting them to a given public key in the process. Secure uploads without keeping private keys in the cloud!","archived":false,"fork":false,"pushed_at":"2017-10-10T14:39:16.000Z","size":23,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T19:50:00.393Z","etag":null,"topics":["aws-s3","encryption","html","https-server","javascript","mobile","uploads"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dents.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":"2017-10-09T13:56:30.000Z","updated_at":"2022-01-23T21:46:47.000Z","dependencies_parsed_at":"2022-09-05T22:51:50.546Z","dependency_job_id":null,"html_url":"https://github.com/dents/uploadenc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dents%2Fuploadenc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dents%2Fuploadenc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dents%2Fuploadenc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dents%2Fuploadenc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dents","download_url":"https://codeload.github.com/dents/uploadenc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236600331,"owners_count":19175170,"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":["aws-s3","encryption","html","https-server","javascript","mobile","uploads"],"created_at":"2025-01-31T23:49:21.348Z","updated_at":"2025-10-15T09:31:49.726Z","avatar_url":"https://github.com/dents.png","language":"JavaScript","readme":"# uploadenc\nWrites client-uploaded files directly to Amazon S3, encrypting them to a given public key in the process. Works great for securely sending yourself personal pictures from your phone, for example.\n\nOverview:\n\n* Uses node's https module to listen on given port (default 443)\n* By default serves index.html with a simple html form containing an upload input that accepts multiple files\n* When client clicks upload, data is encrypted on the fly and sent to a configured S3 bucket (using [AWS credentials](http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/getting-started-nodejs.html))\n\nNeeds a 1024+ bit RSA public key and working SSL certs to function.\nTo create RSA keys:\n\n\u003eopenssl genrsa -out private.pem 4096\n\n\u003eopenssl rsa -in private.pem -pubout \u003e key.pub\n\n__private.pem__ is to be kept in a secure place, preferrably completely offline. *Do not keep private.pem anywhere on the server.* __key.pub__ does need to be on the server, alongside this code.\n\n\n\nNeeds at least Node v6.11 to work properly. Works fine on a Raspberry Pi, even with multi-GB file uploads.\n\n\n\nUse [decrypt-uploadenc](https://github.com/dents/decrypt-uploadenc) to decrypt these files after downloading them from S3.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdents%2Fuploadenc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdents%2Fuploadenc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdents%2Fuploadenc/lists"}