{"id":17132172,"url":"https://github.com/bitsofinfo/test-config-server-crypto","last_synced_at":"2025-03-24T05:18:39.089Z","repository":{"id":137444475,"uuid":"62237967","full_name":"bitsofinfo/test-config-server-crypto","owner":"bitsofinfo","description":"test for https://github.com/spring-cloud/spring-cloud-config/issues/434","archived":false,"fork":false,"pushed_at":"2016-06-29T22:18:20.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T11:12:55.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/bitsofinfo.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":"2016-06-29T15:42:04.000Z","updated_at":"2016-06-29T18:22:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"5fbbf2df-b5c4-4eca-b271-2b17298763fc","html_url":"https://github.com/bitsofinfo/test-config-server-crypto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Ftest-config-server-crypto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Ftest-config-server-crypto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Ftest-config-server-crypto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Ftest-config-server-crypto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitsofinfo","download_url":"https://codeload.github.com/bitsofinfo/test-config-server-crypto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245212311,"owners_count":20578443,"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":[],"created_at":"2024-10-14T19:26:15.946Z","updated_at":"2025-03-24T05:18:39.054Z","avatar_url":"https://github.com/bitsofinfo.png","language":"Java","readme":"# test-config-server-crypto\ntest for https://github.com/spring-cloud/spring-cloud-config/issues/434\n\n\n```\ngit clone https://github.com/bitsofinfo/test-config-server-crypto.git\ncd test-config-server-crypto\ncd configserver_gitrepo/\ngit init\ngit add .\ngit commit -m \"test\" .\ncd ..\n```\n\nEDIT src/main/resources/bootstrap.yml and adjust the `spring.cloud.config.server.git.uri` repo path as appropriate to the one above\n\n```\n./gradlew bootRun\n```\n\nNotice at the end of the boot, it prints out the values for the two properties in the environment `application.yml` (this print occurs in Application.java\n\nNotice that `test.crypted.prop` at this point is **not decrypted**.... (not sure why? its not cleartext at this point as I need the decrypted value to configure another bean while the boot is in progress)\n\nAfter boot up, go to: http://localhost:8888/config-server-test1/test  (decrypted as expected)\n\nPOST the below to http://localhost:8888/decrypt\n\n```\n{key:alias1}AQA5xheTRLF2E7vgHnLy3Ef9fa2tQn7FSI70/XbKmSksVdSmY1OmefCytplTiTFJvJN0wkHoLQLE8IBRi9MEvTy1iATssoO43XCkjLXx2ur5Cvk7ItOUhST9eHBqDqam8uox8y6vHjk4hIczhS6RhYV+tIVgabeFgAekPUILrP3bMmTJ1PZz+69vbK9B2ZTx/XQAwt8n4ZStGkoZ8ZofQFtv8erZDc3ZEzkpzyggwrqSw2wi1tPD8J96NUxWmtx3YWCElgwqDXWgfULnFzDAPejZ9z6WrWBgIo177knOeukqI2/uGUlgMqDKkI6FgTwE8kodqoNT3uyutz1hy2Hygi0LeU8y6jkqa6YPz3kagcrKDzBLYWQ+YlAoHXehDGe0L5g=\n```\n\nYou yield 123 as expected.\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsofinfo%2Ftest-config-server-crypto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitsofinfo%2Ftest-config-server-crypto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsofinfo%2Ftest-config-server-crypto/lists"}