{"id":22632318,"url":"https://github.com/nine-lives-later/octopus-deploy-decryptor","last_synced_at":"2025-03-29T04:27:25.174Z","repository":{"id":258382150,"uuid":"869384004","full_name":"nine-lives-later/octopus-deploy-decryptor","owner":"nine-lives-later","description":"Octopus Deploy Decryptor for Exported Projects","archived":false,"fork":false,"pushed_at":"2024-10-16T19:58:03.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-03T14:15:29.885Z","etag":null,"topics":["octopus-deploy"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nine-lives-later.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}},"created_at":"2024-10-08T07:52:54.000Z","updated_at":"2024-10-16T19:57:41.000Z","dependencies_parsed_at":"2024-10-18T18:52:33.396Z","dependency_job_id":null,"html_url":"https://github.com/nine-lives-later/octopus-deploy-decryptor","commit_stats":null,"previous_names":["nine-lives-later/octopus-deploy-decryptor"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nine-lives-later%2Foctopus-deploy-decryptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nine-lives-later%2Foctopus-deploy-decryptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nine-lives-later%2Foctopus-deploy-decryptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nine-lives-later%2Foctopus-deploy-decryptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nine-lives-later","download_url":"https://codeload.github.com/nine-lives-later/octopus-deploy-decryptor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246140169,"owners_count":20729795,"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":["octopus-deploy"],"created_at":"2024-12-09T02:17:06.030Z","updated_at":"2025-03-29T04:27:25.128Z","avatar_url":"https://github.com/nine-lives-later.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Octopus Deploy Decryptor\n\nThis tool allows for decrypting projects exported from [Octopus Deploy](https://octopus.com).\n\nIt creates an `export.html` report file, which reconstructs the project and variable structure.\nSensitive/encrypted variable values are decrypted print as plain text in the report.\n\n## Decrypting a Project Export\n\n1. Build the project using `go build`\n2. Run the tool within the directory of the unzipped project export:\n\n```sh\noctopus-deploy-decryptor --password 'password' --sensitive-only\n```\n\nMake sure to provide the correct password used during export.\nThe `sensitive-only` option will limit the shown values to sensitive variables.\n\nMore on how to export projects can be found here: https://octopus.com/docs/projects/export-import\n\n## Decrypting values manually, using the project export Password\n\nUse the following Go code to decrypt the data:\n\n```go\nkey, err := KeyFromPassword(password)\n\nv, err := DecryptString(key, encryptedValue)\n```\n\n## Decrypting values manually, using the Master Key\n\n1. Retrieve the master key from Octopus Deploy: https://octopus.com/docs/security/data-encryption\n2. Use the following Go code to decrypt the data:\n\n```go\nkey, err := KeyFromMasterKey(masterKey)\n\nv, err := DecryptString(key, encryptedValue)\n```\n\nMore on how to get the variable values from the database can be found here: https://squirrelistic.com/blog/how_to_display_value_of_sensitive_variable_in_octopus_deploy\n\nThis blog article also shows how to use Powershell, if you prefer that.\n\n### Contributors\n\n- [Felix Kollmann](https://github.com/fkollmann)\n\n## License\n\nPublished under the [MIT License](./LICENSE).\n\nIt is provided as is, in a \"works ony my machine\" fashion.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnine-lives-later%2Foctopus-deploy-decryptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnine-lives-later%2Foctopus-deploy-decryptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnine-lives-later%2Foctopus-deploy-decryptor/lists"}