You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@caldera.apache.org by "HackedRico (via GitHub)" <gi...@apache.org> on 2026/08/05 01:10:49 UTC

Re: [I] Training Plugin Issue with Add New User Challenge [caldera]

HackedRico commented on issue #3397:
URL: https://github.com/apache/caldera/issues/3397#issuecomment-5186373115

   Thanks for the report. This is a Training flag verification bug, not a missing-package issue.
   
   The password values being converted on startup is expected: CALDERA hashes configured user passwords with Argon2. Normal login succeeds because the authentication flow verifies the submitted password against that hash.
   
   The **Add new user** Training flag was instead comparing the stored password value directly with the plaintext string `test`. Once the password is hashed, that comparison can never succeed, even though the `test` user can log in successfully.
   
   A proposed fix is available in [mitre/training#197](https://github.com/mitre/training/pull/197). It updates the flag to use CALDERA’s existing password-verification helper and adds regression coverage. No additional packages should be required.
   
   For the challenge, make the user change only in `conf/local.yml` while the server is stopped, then restart normally without `--fresh`. You should not need to edit `conf/default.yml`.
   
   If you are able to test the Training plugin from #197, please let us know whether the flag completes successfully afterward.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@caldera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org