-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract embedded secrets and make them configurable #30
Conversation
Ndpnt
commented
Feb 15, 2024
•
edited
Loading
edited
- Extract embedded secrets and make them configurable
- Remove the insecure SSH option used to clone repositories, which disabled protection against Man-in-the-Middle attacks.
- No longer force the use of the OTA-Bot's SSH key to connect to GitHub.com at server level, it's now done at the command level
- Move the installation of the OTA-Bot's SSH key from the infrastructure role to the engine role, where it is actually used.
- Simplify the setup of snapshots and versions repositories by using the ansible builtin Git module
The `accept_hostkey` option disables protection against MITM attacks
bf00369
to
8e71cf4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love the switch to using Ansible's built-in git!
Co-authored-by: Matti Schneider <[email protected]>
The `accept_hostkey` option disables protection against MITM attacks
README.md
Outdated
@@ -168,6 +234,8 @@ Then the code can be deployed to the running machine with all the options descri | |||
|
|||
### Test collection | |||
|
|||
_The testing environment is preconfigured for Open Terms Archive maintainers. For other contributors, the configuration file `tests/engine_config.json` needs to be updated to specify repositories where they have authorizations. Additionally, the `ota_engine_github_bot_private_key` value in the inventory file `tests/inventory.yml` should be updated._ | |||
|
|||
Test locally the changes to the collection before opening a pull request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a missing command or sentence here? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good job, congrats! 👏
README.md
Outdated
@@ -168,6 +234,8 @@ Then the code can be deployed to the running machine with all the options descri | |||
|
|||
### Test collection | |||
|
|||
_The testing environment is preconfigured for Open Terms Archive maintainers. For other contributors, the configuration file `tests/engine_config.json` needs to be updated to specify repositories where they have authorizations. Additionally, the `ota_engine_github_bot_private_key` value in the inventory file `tests/inventory.yml` should be updated._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the need to use italic 🙂