Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .github/resources/firebase.asc.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.keyname>0A05D8FAD4287A36C53BE07714D6B82AEB1DD39C</gpg.keyname>
<gpg.keyname>40232A3CABB94E75E654F6A973E5C093C01673CB</gpg.keyname>

Choose a reason for hiding this comment

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

medium

For better security and maintainability, it's recommended to avoid hardcoding the GPG key name directly in the settings file. Storing it in a GitHub secret and accessing it as an environment variable (e.g., ${env.GPG_KEYNAME}) would be a more robust approach. This allows for easier key rotation and management without requiring code changes.

Suggested change
<gpg.keyname>40232A3CABB94E75E654F6A973E5C093C01673CB</gpg.keyname>
<gpg.keyname>${env.GPG_KEYNAME}</gpg.keyname>

<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
</properties>
</profile>
Expand Down
Loading