Skip to content

Patch 2#9

Merged
roseteromeo56 merged 54 commits into
roseteromeo56:patch-2from
roseteromeo56-cb-id:patch-2
Jun 19, 2025
Merged

Patch 2#9
roseteromeo56 merged 54 commits into
roseteromeo56:patch-2from
roseteromeo56-cb-id:patch-2

Conversation

@roseteromeo56

Copy link
Copy Markdown
Owner

Romeo Rosete

…ccae3f4d8c9fa1079a3ec38f33681bbeaa2e51b5fecd0857a0b2850014228044e7a132.js.download

Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
roseteromeo56.cb.id/dogecoin
Romeo Rosete
Romeo Rosete
Romeo Rosete
roseteromeo56 and others added 23 commits June 4, 2025 14:06
Romeo Rosete
Romeo Rosete
Romeo Rosete
Romeo Rosete
roseteromeo56.cb.id/dogecoin
…nsitive information

Romeo Rosete

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Potential fix for code scanning alert no. 8: Clear-text logging of sensitive information
…nsitive information

Romeo Rosete

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Potential fix for code scanning alert no. 9: Clear-text logging of sensitive information
…n permissions

Romeo Rosete

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Potential fix for code scanning alert no. 3: Workflow does not contain permissions
…n permissions

Romeo Rosete

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
Romeo Rosete
roseteromeo56.cb.id/dogecoin
@roseteromeo56 roseteromeo56 added this to the roseteromeo56 milestone Jun 19, 2025
@roseteromeo56 roseteromeo56 requested a review from Copilot June 19, 2025 16:59
@roseteromeo56 roseteromeo56 self-assigned this Jun 19, 2025
@roseteromeo56 roseteromeo56 added Dependencies Pull request that update a dependency file Owner Pull request that update a Owner file labels Jun 19, 2025
@roseteromeo56 roseteromeo56 merged commit a4ed8d2 into roseteromeo56:patch-2 Jun 19, 2025
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the RPC user setup to write credentials directly into dogecoin.conf and adds front-end asset files (CSS and JS) for styling and functionality.

  • Replace stdout prints in rpcuser.py with appending rpcauth lines to dogecoin.conf and updated user prompts.
  • Introduce a new normalized CSS file, jQuery library, and flag-icon stylesheet.

Reviewed Changes

Copilot reviewed 14 out of 34 changed files in this pull request and generated 2 comments.

File Description
share/rpcuser/rpcuser.py Write rpcauth line to dogecoin.conf instead of printing to stdout
main.ac65923dd5f8c0a60e44323e7a54ef8d988e681a843b8941a51ae6912fdaec78.css Add normalize.css import and custom theme overrides
jquery.min.js.download Add jQuery v3.6.0 minified script
flag-icon.min.css Add flag-icon CSS for country flag support
Comments suppressed due to low confidence (1)

share/rpcuser/rpcuser.py:35

  • Consider adding a unit or integration test to verify that the rpcauth line is correctly appended to dogecoin.conf and that existing content isn’t overwritten.
with open('dogecoin.conf', 'a') as conf_file:

Comment thread share/rpcuser/rpcuser.py
print(f'rpcauth={username}:{salt}${password_hmac}')
print(f'Your password:\n{password}')
print('String has been securely written to dogecoin.conf:')
with open('dogecoin.conf', 'a') as conf_file:

Copilot AI Jun 19, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appending credentials with default permissions may expose them to other users; set restrictive file permissions (e.g., mode=0o600) or adjust the umask to secure dogecoin.conf.

Copilot uses AI. Check for mistakes.
Comment thread share/rpcuser/rpcuser.py
Comment on lines +34 to +35
print('String has been securely written to dogecoin.conf:')
with open('dogecoin.conf', 'a') as conf_file:

Copilot AI Jun 19, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Extract the filename 'dogecoin.conf' into a constant or configuration option instead of hardcoding it, to make future changes easier.

Suggested change
print('String has been securely written to dogecoin.conf:')
with open('dogecoin.conf', 'a') as conf_file:
print(f'String has been securely written to {CONFIG_FILENAME}:')
with open(CONFIG_FILENAME, 'a') as conf_file:

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull request that update a dependency file Owner Pull request that update a Owner file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants