{"id":39008222,"url":"https://github.com/infinityworks/aws-decryption-go","last_synced_at":"2026-01-17T17:19:15.965Z","repository":{"id":83336847,"uuid":"265630267","full_name":"infinityworks/aws-decryption-go","owner":"infinityworks","description":"Decrypt AWS Encryption SDK formatted blobs using a custom private key","archived":false,"fork":false,"pushed_at":"2020-06-02T15:06:37.000Z","size":17,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T16:49:58.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/infinityworks.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":"2020-05-20T16:53:09.000Z","updated_at":"2023-07-21T15:45:48.000Z","dependencies_parsed_at":"2023-07-27T04:17:08.976Z","dependency_job_id":null,"html_url":"https://github.com/infinityworks/aws-decryption-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/infinityworks/aws-decryption-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinityworks%2Faws-decryption-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinityworks%2Faws-decryption-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinityworks%2Faws-decryption-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinityworks%2Faws-decryption-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinityworks","download_url":"https://codeload.github.com/infinityworks/aws-decryption-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinityworks%2Faws-decryption-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":"2026-01-17T17:19:15.877Z","updated_at":"2026-01-17T17:19:15.954Z","avatar_url":"https://github.com/infinityworks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-decryption-go\nDecrypt AWS Encryption SDK formatted blobs using a custom private key.\n\nThis repo implements part of the [AWS Encryption SDK spec](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/message-format.html) in go. It is presently limitted in scope:\n* Decryption only\n* Framed data body only\n* Algorithm Suite 0x0378 only (see [this spec page](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/algorithms-reference.html))\n\nThis is sufficient to decrypt encrypted customer input generated by the Amazon Connect platform.\n\n## Usage\n\n```go\npackage main \n\nimport (\n    decrypt \"github.com/infinityworks/aws-decryption-go\"\n)\n\nfunc main () {\n    key, err := ioutil.ReadFile(\"./private.key\")\n    if err != nil {\n        log.Fatalf(\"error reading key file: %s\", err)\n    }\n    ciphertext, err := ioutil.ReadFile(\"./ciphertext_base64\")\n    if err != nil {\n        log.Fatalf(\"error reading key file: %s\", err)\n    }\n    dataBytes, err := base64.StdEncoding.DecodeString(ciphertext)\n    if err != nil {\n        log.Fatalf(\"error decoding base64 ciphertext: %s\", err)\n    }\n\n    decrypter, err := decrypt.New(key)\n    if err != nil {\n        log.Fatalf(\"error creating decrypter: %s\", err)\n    }\n    result, err := decrypter.Decrypt(dataBytes)\n    if err != nil {\n        log.Fatalf(\"error decrypting data: %s\", err)\n    }\n    \n    fmt.Println(\"decrypted data: %s\", string(result))\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinityworks%2Faws-decryption-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinityworks%2Faws-decryption-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinityworks%2Faws-decryption-go/lists"}