Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).

Build: #2972 was successful Changes by Guus der Kinderen

Stages & jobs

  1. Default Stage

  2. Continuous Integration

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
10 minutes
Labels
None
Agent
mesonet-ah.agron.iastate.edu (3)
Revision
37847f59ecf08bbe7e3b0961025aedc84d473d46
Total tests
2002
Successful since
#2937 ()

Tests

Code commits

Author Commit Message Commit date
Guus der Kinderen Guus der Kinderen f2b03b999e6974e52fa583e8f2400a3690e82417 OF-3258 (code review): Guard against misbehaving AuthProviders
When an AuthProvider cannot return a password, it should throw one of the exceptions defined in the contract, rather than return a null password.

This change guards against misbehaving providers that return null, by interpreting null in the same way as a non-existent user and/or missing support for password retrieval.
Guus der Kinderen Guus der Kinderen f1f5245f21d6c0676b5f4496f68506a6c0ba0e9e OF-3258 (code review): Fake salts should be similar in size to real ones
The usage of fake salts is to avoid attackers to determine if a username exists. For this to work, the salts need to be indistinguishable from real ones. Using the same size for both helps.
Guus der Kinderen Guus der Kinderen 8f5b3e77298bf7bdc7f69e5f5be66e35bb8ef762 OF-3257/OF-3258 (code review): Fix description of SERVER_SECRET_NONEXISTING_USERS
The documentation for SERVER_SECRET_NONEXISTING_USERS incorrectly stated that the value is used for salt derivation only. In practice, this secret is used more broadly to derive deterministic, fake SCRAM credentials for non-existing users, including stored keys and server keys (and where applicable salt values).

Update the Javadoc and i18n labels to accurately reflect this behavior.Additionally, document the effect of changing (rotating) this value.
Guus der Kinderen Guus der Kinderen 8ef647a8c44b1e74cc805662df3463b72b73f97b OF-3257/OF-3258 (code review): Guard against empty values for server secret constant
Having an empty value for the server secret value is unlikely to happen, but should be replaced. This is an easy hardening with no downside.
Guus der Kinderen Guus der Kinderen 939df3c87aaf05aac0f716ea70b86d0a494c0254 OF-3257/OF-3258: Improve one-time initialization of SERVER_SECRET_NONEXISTENT_USERS
The previous method for one-time initialization of the SERVER_SECRET_NONEXISTENT_USERS property (which depended on a static initializer block) proved to be fragile.

In this commit, initialization happens in a getter that should be used instead of directly accessing the property.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeOF-3257Could not obtain issue details from Jira
Unknown Issue TypeOF-3258Could not obtain issue details from Jira

Shared artifacts

Artifact File size
Unpacked project files 268 MB