Skip to content
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

Introduce maproulette.secret.key conf and MAPROULETTE_SECRET_KEY env #1128

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

ljdelight
Copy link
Contributor

MapRoulette API had a dependency on the Play framework's application key, and this patch separates those keys. The MapRoulette secret is used to encrypt things specific to maproulette and it no longer depends on the Play application key.

Play 2.9 introduced a change where its application key must be 32 bytes or longer, and this impacted MapRoulette's cryptography with its own internal items. It's easier to manage these separately, similar to how the OSM secrets are not used to encrypt data stored within MapRoulette.

MapRoulette API had a dependency on the Play framework's secret key, and this patch separates those keys.
The MapRoulette secret is used to encrypt things specific to maproulette and it no longer depends on the Play application key.

Play 2.9 introduced a change where its application key must be 32 bytes or longer, and this impacted MapRoulette's cryptography with its own internal items. It's easier to manage these separately, similar to how the OSM secrets are not used to encrypt data stored within MapRoulette.
Copy link

sonarqubecloud bot commented Jun 2, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@ljdelight
Copy link
Contributor Author

ljdelight commented Jun 2, 2024

Related to the update to Play 2.9 (#1122 and #1117 ) and also the finding by users #1127

@ljdelight ljdelight merged commit c6d2bf3 into main Jun 2, 2024
11 checks passed
@ljdelight ljdelight deleted the ljdelight/useMrSecretKey branch June 2, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant