• 
      

    Attempt to further mitigate intermittent test failures with encryption.

    Review Request #15001 — Created April 3, 2026 and updated

    Information

    Review Board
    release-7.x

    Reviewers

    We have one test that tries to handle the case where decrypting a stored
    password fails because of a changed SECRET_KEY that continues to fail
    intermittently depending on the random IV that's chosen.

    One thing that's contributing to this is that the test password is
    extremely short, increasing the likelihood that decrypting with an
    incorrect key will return printable garbage instead of unprintable
    garbage. This change makes the test password string much longer, in
    hopes that we'll hit failures less frequently.

    Ran affected unit test.

    Summary ID
    Attempt to further mitigate intermittent test failures with encryption.
    We have one test that tries to handle the case where decrypting a stored password fails because of a changed SECRET_KEY that continues to fail intermittently depending on the random IV that's chosen. One thing that's contributing to this is that the test password is extremely short, increasing the likelihood that decrypting with an incorrect key will return printable garbage instead of unprintable garbage. This change makes the test password string much longer, in hopes that we'll hit failures less frequently. Testing Done: Ran affected unit test.
    wyosxrtzxxrxlsoyoqzyusztuqortzyt
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.